-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Enforce minimum width for CheckboxField #712
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about the vendor files, I can't see those in the last few PRs created. CC'ing @gnapse who has recently worked closely with Reactist to double check. Are these vendor files normally generated when building?
Regarding the vendors file, this is something we want to get rid, and not have to do (see #675), but for now we have to do it. I think this is what updates the static storybooks build hosted in https://doist.github.io/reactist |
@engfragui after you merge this, you need to create a new release:
Let me know if you need more help. This is also something that we should probably document elsewhere. Or better yet, to fully automate it, so that merely merging something would trigger the whole process. |
@gnapse Everything is pretty clear in the README's releasing section as well so I would say it's already documented. However:
If my notes make sense, I will send a quick PR with these updates. |
@gnapse Errr does https://github.com/Doist/reactist/actions/runs/3480872733 look good? It does to me (no errors). I do see the new version in https://github.com/Doist/reactist/releases/tag/v17.0.1, but not in https://www.npmjs.com/package/@doist/reactist Let me know if you spot something that looks fishy. Thank you For now, I'll hold off before merging the correspondent |
@engfragui It is there on npm https://www.npmjs.com/package/@doist/reactist/v/17.0.1 |
Err ok, https://www.npmjs.com/package/@doist/reactist looks like this for me I guess cached/delayed. Thank you Scott |
Sure @engfragui, send a PR to change the README to make it better. Whatever you think, as a newcomer to this repo, that should be improved, most probably needs improvement. We the usual suspects contributing here may have gotten used to the status quo too much. Thanks for your contributions, BTW. |
No action needed from you, but here's the quick README update I mentioned I wanted to take care of: #726 |
Short description
While polishing our AI Task Creator UI Extension implementation (specs, GitHub epic, Twist thread), we realised that the checkboxes would be smaller than expected when text was longer than average:
This is due by the fact that
reactist
'sCheckboxField
does not enforce a minimum width for the correspondent checkbox:Closeup view:
(source: reactist storybook)
This PR enforces a minimum width (24 pixels) for the
CheckboxField
field:PR Checklist
Added tests for bugs / new featuresUpdated docs (storybooks, readme)npm run validate
and made sure no errors / warnings were shownCHANGELOG.md
package.json
andpackage-lock.json
(npm --no-git-tag-version version <major|minor|patch>
) refnpm run build-all
)Versioning
Even though I don't think anyone is banking on this "indefinitely shrinking" feature, this is technically a breaking change, as the checkbox corresponding to the
CheckboxField
element won't keep shrinking indefinitely, but will now have a minimum width.Checklist for reviewer
src/new-components/checkbox-field/checkbox-icon.tsx
npm run build-all
makes sense (they seem like a lot of changes, that's why I'm mentioning it)