-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Member index: controls layout refactor #17927
Conversation
@@ -1,6 +1,36 @@ | |||
<%= javascript_packs_with_chunks_tag "admin/users/controls", defer: true %> | |||
<% if params[:controller] == "admin/users" %> |
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.
We didn't need this, since we only use this partial on the member index page 🤷♀️ I think perhaps we missed removing it in a refactor at some point
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.
Tried it out and works+looks nice!
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.
This looks good to me! 👍
What type of PR is this? (check all applicable)
Description
This PR shuffles around the alignment and position of the "controls" on
/admin/member_manager/users
. This reshuffle is behind themember_index_view
feature flag, and the old code can/should be removed when we ship phase 2.I decided in the end to place it behind the feature flag to avoid complexity with including the "filter by role" view on the index page vs in the new filters modal. Having it behind the feature flag will make it more straightforward to extricate the old code.
Related Tickets & Documents
QA Instructions, Screenshots, Recordings
All changes are contained within
/admin/member_manager/users
.member_index_view
feature flag disabled, you should see no change to the current UI. Filtering by role and searching should continue to work as expected. Expandable search/filter functionality on smaller screens should continue to functionmember_index_view
feature flag enabled, the UI should match the breakpoints detailed in Figma, the search functionality should continue to work as expected, expandable search section on small screens should continue to work, and the filter button should pop open the new filters modalCleanShot.2022-06-15.at.14.11.52.mp4
UI accessibility concerns?
None, just reshuffling elements
Added/updated tests?
[Forem core team only] How will this change be communicated?
Will this PR introduce a change that impacts Forem members or creators, the
development process, or any of our internal teams? If so, please note how you
will share this change with the people who need to know about it.
Storybook (for Crayons components)
updated. I have filled out the
Changes Requested
issue template so Community Success can help update the Admin Docs
appropriately.
CHANGELOG.md
or in a forem.dev post
[optional] What gif best describes this PR or how it makes you feel?