-
-
Notifications
You must be signed in to change notification settings - Fork 821
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
Buttonrama #18410
Buttonrama #18410
Conversation
(Standard links)
|
Excellent work @agh1 ! |
For anyone following this, there is some really useful updating documentation shared on Mattermost here, https://chat.civicrm.org/civicrm/pl/a79bgp6ir7ypiyp8sgjzi93nwa |
@jamienovick - one of the reasons we reverted this from 5.29 & re-merged to 5.31 was to give more leadtime for shoreditch. This will go out in 6 weeks now and a fix needs to be done in shoreditch to make the buttons look right again with this merged. |
Overview
This combines PRs #18005 and #18087 into one monstrosity. This follows the decision to revert both late in the 5.29 beta cycle and merge them early in the 5.31 alpha cycle to maximize exposure before the release.
Before / After
See #18005 for a thorough comparison of the visual changes. In addition, pretty much all instances of
<input type="submit">
are now<button type="submit">
. A<button>
element has contents, while an<input>
of the type "submit" or "button" displays the plain-text value of thevalue
attribute. The result is that we can treat real buttons the same way as links and other things that are made to look and act like buttons.Comments
The commits are those from #18005 followed by #18087. A couple of spots had to be fixed to accommodated changes in the meantime. Finally, there's a commit to remove obsolete OpenFlashChart code that I noticed when updating JS references.