feat(web): unified mobile top bar with always-on workspace switcher (IDEA-1835) - #737
Merged
Merged
Conversation
…IDEA-1835) Promote MobileContextBar from a detail-only back+title bar to the persistent mobile top bar shown on every screen inside a workspace. The collection/item name now reads the same everywhere and the workspace switcher (moved out of the bottom-nav sheet) is always visible for at-a-glance context and quick switching. - MobileContextBar: show on all workspace screens (was depth >= 2); gate the back affordance to non-root screens; embed WorkspaceSwitcher on the right, restyled onto --bg-tertiary and sized to fill the 44px bar. - WorkspaceSheet: drop the switcher card + inline list (now in the top bar); the "Workspace" bottom-nav slot keeps its label/avatar and Navigate + Collections. - Collection list: hide the now-duplicate in-page collection-name heading on mobile; the name lives in the bar.
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.
What
Promotes
MobileContextBarfrom a detail-only back+title bar into the persistent mobile top bar, shown on every screen inside a workspace. The collection/item name reads the same everywhere, and the workspace switcher — moved out of the bottom-nav sheet — is always visible for at-a-glance context and quick switching.Implements IDEA-1835.
Changes
WorkspaceSwitcheron the right, restyled onto--bg-tertiaryand sized to fill the 44px bar (no height change)..main-contentalready reflows viabody.has-context-bar, so root screens get the top padding with no app.css change.Notes
Frontend-only;
npm run buildandmake installpass clean. Verified on a narrow viewport.