Skip to content
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

Move customizations to more intuitive admin menu section #5251

Merged
merged 2 commits into from
Sep 29, 2023

Conversation

dnsos
Copy link
Contributor

@dnsos dnsos commented Sep 17, 2023

References

#4995 (no complete resolution of this issue, but an improvement discussed in it)

Objectives

There were already some menu items to customization pages under the "Site content" admin menu ("Custom pages", "Custom information texts", "Custom documents"). It therefore makes sense to move "Custom images" and "Custom content blocks" (which were previously located under "Settings") to "Site content" as well.

Visual Changes

New site content menu New Settings menu

Notes

It's possible that some admins may have memorized "Custom images" and "Custom content blocks" to be located under "Settings". However, it is more intuitive to have them under "Site content", so the possible confusion at first will probably pay off in the long-term, when all admins have more intuitive access to them.

Consul Democracy automation moved this from Reviewing to Testing Sep 18, 2023
@javierm javierm force-pushed the intuitive-admin-menu-sections branch from 75320f4 to d4f125a Compare September 25, 2023 12:58
@javierm javierm moved this from Testing to Doing in Consul Democracy Sep 25, 2023
@javierm javierm force-pushed the intuitive-admin-menu-sections branch from d4f125a to 75320f4 Compare September 25, 2023 13:23
@javierm
Copy link
Member

javierm commented Sep 25, 2023

@dnsos Sorry for intruding! 🙏 I updated the branch so the tests would run (didn't run last time for some reason). I've just undone my changes.

There were already some menu items to customization pages under the "Site content" menu. It therefore makes sense to move "Custom images" and "Custom content blocks" (which were previously
located under "Settings") to "Site content" as well.
@dnsos dnsos force-pushed the intuitive-admin-menu-sections branch from 809875e to ae8b160 Compare September 28, 2023 17:50
Previously the condition was needed because _without it_ the Admin::Poll::Questions::Answers::ImagesController would have resulted in settings? evaluating to true. This was undesired because that controller was scoped under Polls, so only polls? should have evaluated to true. Now that we have moved the images link to the customization menu, this check is not necessary anymore.
@javierm javierm force-pushed the intuitive-admin-menu-sections branch from ae8b160 to b1bc068 Compare September 29, 2023 12:18
@javierm javierm merged commit a7136f7 into consuldemocracy:master Sep 29, 2023
8 of 9 checks passed
Consul Democracy automation moved this from Doing to Release 2.1.0 Sep 29, 2023
@javierm
Copy link
Member

javierm commented Sep 29, 2023

@dnsos Thank you very much! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants