feat(ui): make collections and workflow views responsive#7827
Open
delucis wants to merge 15 commits into
Open
Conversation
Also fixes a couple of bugs: - the central column is now the same width as the others instead of being narrower - in open-authoring mode, the “in review” column no longer as a right border
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR continues the work of #7820 and #7825 by tackling part of the CMS UI and making it responsive. Some of the design decisions were inspired by #7298.
This PR combines the collections view and the editorial workflow view because they share a common container element, which has its minimum width removed.
I also fixed some minor bugs in the workflow view as part of this work:
Examples
N.B. these videos were made including the responsive header implementation from #7825, but this PR does not include those changes. Previewing only this PR’s changes will include the non-responsive header from
main, but the changes do work as standalone improvements (assuming you add the necessary<meta name="viewport">tag).Collections
Kapture.2026-05-23.at.17.48.04.mp4
Workflow
Kapture.2026-05-23.at.17.50.50.mp4
Notes
The workflow view’s drag/drop kanban design does not translate very well to a small touch screen. However, in this PR I focused on adapting the UI in as minimal a way as possible, so I did not change it significantly. A future improvement could be to consider making this view more touch friendly, e.g. by displaying each status stacked vertically instead of in columns. Actions moving the items between statuses could be accomplished with a drop down menu on each card instead of relying on drag/drop. (N.B. the HTML5 drag and drop backend Decap uses does not support touch screens at al).
Test plan
Extensive local testing using the test backend. Existing tests should pass. I also tested the “open authoring” mode by forcing it on in the app.
Checklist
Please add a
xinside each checkbox:A picture of a cute animal (not mandatory but encouraged)