fix(ui): mobile-friendly container filters#1065
Open
uniskela wants to merge 1 commit into
Open
Conversation
Stack filter controls on narrow viewports so labels and toggles remain readable, with a compact two-row toolbar from md breakpoint up. Closes getwud#958 Co-authored-by: Cursor <cursoragent@cursor.com>
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
v-colbreakpoints toContainerFilterso filters and sort controls stack on mobile instead of squishing into one row.mdbreakpoint up, filters use a compact two-row toolbar (four selects, then toggles + Watch now).Why a new PR
Tested #1034 locally on mobile (375px): it fixes the squished layout. At desktop widths it keeps all controls in a single full-width column because of empty
md=""breakpoints. This PR uses explicitcols/sm/mdvalues (aligned withHomeView) so mobile stays readable and desktop gets a proper multi-column toolbar.Test plan
cd ui && npm run test:unit -- ContainerFilternpm run lintnpm run servewith WUD on :3000 —/containersat 375px, 768px, and 1280px viewportsMade with Cursor