-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Convert issue list checkboxes to native #23596
Conversation
As for styling, I think doing something like Firefox does, but with thinner border on unchecked state would be my preference. Edit: marking as draft until styling is in. |
Some WIP on checkbox styling: https://jsfiddle.net/silverwind/g58fr0zm/ |
IMO I think the native style is good enough, then we do not need to fix these styles again and again, it saves everyone's time. |
I agree with @wxiaoguang, I don't think we need to make it overly complicated, I'm already happy to get rid of some Fomantic UI checkboxes |
Well, we can land this as-is. I plan to follow up with checkbox module removal later, and with that, I guess I would also remove the custom checkbox styles on markup. Still, I do think I prefer styling these checkboxes eventually, the Chrome ones look especially bad imho😉 |
ping for other maintainers. |
Hmm, although not for me, but the comment #23596 (comment) is not resolved yet |
I'll do the |
8ea5844
to
574708c
Compare
Done and rebased. Should be ready now. |
* upstream/main: [skip ci] Updated translations via Crowdin Fix dropdown direction behavior (go-gitea#23806) Fix incorrect/Improve error handle in edit user page (go-gitea#23805) Fix "Updating branch by merge" bug in "update_branch_by_merge.tmpl" (go-gitea#23790) Fix incorrect visibility dropdown list in add/edit user page (go-gitea#23804) Convert issue list checkboxes to native (go-gitea#23596) Fix checks for `needs` in Actions (go-gitea#23789) Diff improvements (go-gitea#23553) [Patch] Fix closed PR also triggers Webhooks and actions (go-gitea#23782) Improve backport-locales.go (go-gitea#23807) [skip ci] Updated translations via Crowdin Refactor commit status for Actions jobs (go-gitea#23786) Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (go-gitea#23766) Don't apply the group filter when listing LDAP group membership if it is empty (go-gitea#23745)
Use native instead of fomantic checkboxes in issue list. Benefits include no more JS pop-in on load and perfect a11y.
Before, with JS pop-in:
After, Firefox on macOS:
After, Chrome on macOS:
I opted to not do styling yet but I see that the inconsistency between browsers may already be reason enough on doing it. I think if we style them, there should be one global style, including markdown ones which currently have custom styling.