-
Notifications
You must be signed in to change notification settings - Fork 96
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
Follow up review of Betterbuttons ported into core #815
Comments
Bump - this is pretty ridiculous for a new feature to be missing so many basic requirements. Happy to pick this up myself if the OSers are stretched for time. |
@bergice @unclecheese Reminder that we're committed to creating accessible UI by default (context: #436). |
I think the way it has been implemented at the moment, the minimum size it can be is 32px
I've set the border colour on hover to be transparent which fixes this bug. Primary buttons usually have a border that is slightly darker than the background, but I don't think it's a noticeable change and removes this quirk anyway.
I've switched to use more BEM style than was previously regarding I've put the measurements we use into variables, but I don't think we can use them outside this stylesheet for now because they're quite specific to these circular buttons.
This is actually the default behaviour for FormActions. We'd need to convert these to anchors instead (like "Cancel" when you add a new record) in order to get this to show the loading indicator over the CMS panel. Semantically speaking I think it's fine to do that too, because none of the prev, next, add new actions require a post request. One thing missing though is that the button loading indicators are not designed for buttons with no labels, which could be quite small, which is why the loading indicators in place already look so strange. |
I've fixed everything mentioned except for the button sizing. I think it's OK the way it is. We can open a separate follow up issue referencing this if you disagree @sachajudd when you get back. |
Thanks for all your work on this, @robbieaverill. This wasn't a great merge. It didn't get the scrutiny it merited due to the pressure to get it into 4.3, which didn't even end up happening. It should have been subject to a final review from @sachajudd before merging, and as the peer reviewer, I'll own that. I'd like to fast-track this and get it in as a post-RC patch level fix, if @chillu is okay with that. I don't think we can confidently deliver this feature in 4.4 with these known issues, especially if we have what appears to be a comprehensive set of fixes for them sitting in peer review. Thanks again for jumping in. |
Follow up design review and comments following Better buttons which was ported into core last year.
Reference: #436
Although very close to what we envisioned currently core does not match the initial designs pitched. Seeing what we currently have I've reconsidered the "Previous" and "Next" buttons due to catering for disabled states. See the Styleguide for the new designs and I'm open to feedback if anyone has any suggestions. We haven’t added any buttons without text yet in the CMS but because these are new custom styles I think we can achieve the same result we initially pitched for.
Design and functionality review:
Pull requests
The text was updated successfully, but these errors were encountered: