feat: responsive mobile improvements for staff portal#409
Merged
Conversation
|
|
1 similar comment
|
|
Contributor
|
@gaghan430 nice work! Could you take a look at the dashboard as well please? |
Contributor
Author
|
@mattdjenkinson I just did |
mattdjenkinson
approved these changes
Apr 16, 2026
yahyafakhroji
approved these changes
Apr 16, 2026
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
Comprehensive responsive/mobile improvements for the staff portal, addressing layout issues on viewports below 1024px.
New reusable components:
useBreakpointhook — mobile (<768px) / tablet (768–1023px) / desktop (≥1024px), SSR-safe, ported from cloud-portalSubLayouttab bar — replaces fixed sidebar with horizontally scrollable tabs on mobile/tablet, with specificity-based active state via sharedpickMostSpecificHrefhelperDataTableToolbar— search goes full-width on mobile, filters collapse into a bottom Sheet with active-filter badge dot (rolled out to 24 list pages)PageHeader— title + description + actions, stacks vertically on mobile (rolled out to 6 detail pages)DescriptionList— semanticdl/dt/ddwith CSS grid, stacks label above value on mobile (replaces Table-based key/value layouts on 5 detail pages)ActionCard— callout banner (warning/success/destructive/info) that stacks on mobileMobileToolbar— compact breadcrumb (back + current label) with overflow menu for trail + actionsAppSearchMobile— icon trigger that opens a top Sheet with full-screen searchBug fixes:
Closes #406
Part of datum-cloud/enhancements#688
Test plan
Monosnap.screencast.2026-04-16.17-03-43.mp4