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
dev/user-interface#51 Remove top buttons on admin forms #26886
Conversation
Thank you for contributing to CiviCRM! ❤️ We will need to test and review the PR. 👷 Introduction for new contributors
Quick links for reviewers |
No issue was found matching the issue reference given in the pull request title. Please check the syntax. |
fc34d95
to
282a772
Compare
👍 |
Ready for review 🎉 There are a few "top" buttons left, either because it's EventInfo, or I wasn't sure how to reach that part of the code, or I was done procrastinating. I did test most of the changes. I may have cut corners in a few places, where I was fairly confident it was fine (like in the Import forms, I tested only Contact Import). I also updated sometimes the "status" markup, because it's something I'd like to also address eventually (https://lab.civicrm.org/dev/user-interface/-/issues/52). |
</table> | ||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> | ||
<div class="spacer"></div> | ||
</div> |
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.
@mlutfy why was this file deleted?
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.
@mlutfy why was this file deleted?
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.
And this one?
@colemanw I could not find any references to the deleted files.
I have to admit I have doubts about For all 3 templates, I looked at the git log and there were no changes in a very long time (other than mechanical cleanups). |
Ok I just double checked and I agree they are unused. |
Overview
https://lab.civicrm.org/dev/user-interface/-/issues/51
Before
After
Technical Details
Many forms open in popups, so the top buttons are often not visible anyway.
Some files have been deleted because I could not find where they are used:
I found some dead forms, but did not remove them for now, because some seem to be in the default navigation menu:
Comments
I might not remove the top buttons on a few pages that I know can be very long, such as:
I was not able to test Survey > Release Respondents. I couldn't figure out how to make it work (it would bounce me to the Advanced Search).