Repository navigation
feat(settings): arrange configuration and diagnostics responsively - #218
Conversation
There was a problem hiding this comment.
Code Review
This pull request applies a Yarn patch to repair CSS modules in @a2ui/[email protected], consolidates duplicate styling across basic catalog samples into a shared stylesheet, and updates the shell application's typography and layout to use 'Plus Jakarta Sans' and '--cpk-*' design tokens. Feedback on these changes highlights a syntax issue where font family lists are incorrectly quoted as a single string (preventing proper fallback behavior), and a potential styling bug in the composer shell where removing --mat-sidenav-background-color may prevent the sidenav's inner container from being styled correctly.
⚡ A2UI Composer PR PreviewYour automated preview is successfully live (commit
|
|
Synced with main ( The three Gemini comments were about #119's files and turned out not to apply; I replied on each with details:
Full e2e: 72 pass. The one failure is main's custom-instructions journey, which fails the same way on unchanged main. |
5da598e to
4aabdaa
Compare
|
Rebased onto Thanks for flagging the new MCP Servers card. On wide screens it used to drop into the left column under the configuration card, which left a gap under Connection Status. It now stacks under Connection Status on the right, so both connection cards sit together, and it shares the other cards' title and subtitle styles. Narrow screens still show a single column. I also moved the card typography onto Material system tokens. The description and recordings are updated. |
Settings places configuration and connection diagnostics side by side on wide screens and stacks the cards when space is limited. The cards share header and body spacing, readable diagnostic logs, and the active theme.
…tokens On wide screens the MCP Servers card, added to main in a2ui-project#219, fell into the left column under the tall configuration card and left a gap under Connection Status. Configuration now fills the left column, and status and MCP servers, both about what Composer is connected to, stack on the right. Narrow screens still show one column. Card titles, subtitles (including the MCP card's), section headings, and the API key help text use Material system typography tokens instead of fixed sizes and weights.
4aabdaa to
f5d0635
Compare
Summary
Settings places configuration on the left and connection diagnostics with MCP servers on the right on wide screens, then stacks the cards when space is limited. The cards share header/body spacing, readable diagnostic logs, and the active light/dark theme. Renderer URL text uses the Material surface-variant color.
Recordings
Desktop, light and dark:
Desktop MP4.
Mobile: stacked cards at 390px, light and dark
Mobile MP4.
Recorded on
4aabdaaagainst the local dev servers, with no API key or live model call. The diagnostics read Disconnected because the Settings page hosts no preview frame.Scope and dependencies
#217 and #119 have merged, so this PR has no remaining prerequisites. It changes only
settings-view/settings.scssandrenderer-selector/renderer-selector.scss. The Gallery redesign is in #129; the demo wall is in #193. The Settings change is independent of both.Validation
Rebased onto
mainat492122b(#245); head isf5d0635. Both commits applied without conflicts.mainowns and this PR doesn't touch.Pre-launch Checklist
scripts/e2e_test.shspecifically. Fixture-based production browser checks are recorded above; the live-model integration script was not run.