Repository navigation
Site Editor: Improve author filter scaling for multiple authors - #63746
dhananjaykuber wants to merge 1 commit into
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
The filter chip looks a little awkward when the content wraps. I wonder if we should set a max-width and truncate instead? Here's an old prototype to demonstrate. |
|
Thanks a lot for tackling this, @dhananjaykuber! The filter-chip scaling problem has now been solved with a truncation approach in #83879, which closed #59696 (the issue #63718 was merged into). I'm going to close this as superseded. |
Fixes #63718
What?
This PR improves the scaling of author filters for pages in the Site Editor when multiple authors are present. It adjusts the placement of Filters and ViewActions components and updates related SCSS.
Why?
This PR addresses issue #63718, where the author filter design in the Site Editor doesn't scale well with 2+ authors. The current design becomes squished and difficult to read as more authors are added, with words sometimes appearing on a second line.
How?
The implementation involves:
Testing Instructions
Screenshots or screencast
Screen.Recording.2024-07-19.at.4.44.17.PM.mov