Skip to content

feat(settings): arrange configuration and diagnostics responsively - #218

Merged
jgindin merged 2 commits into
a2ui-project:mainfrom
jerelvelarde:jerel/settings-layout-split
Oct 2, 2026
Merged

jgindin merged 2 commits into
a2ui-project:mainfrom
jerelvelarde:jerel/settings-layout-split

Conversation

@jerelvelarde

@jerelvelarde jerelvelarde commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

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 Settings layout

Desktop MP4.

Mobile: stacked cards at 390px, light and dark

Mobile Settings layout

Mobile MP4.

Recorded on 4aabdaa against 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.scss and renderer-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 main at 492122b (#245); head is f5d0635. Both commits applied without conflicts.

  • Formatting, lint, typechecks, the production build, and all unit tests pass (1,591 in the shell).
  • Full Playwright e2e: 73 of 73 pass, including the ten Settings and theme checks.
  • MCP Servers card. The card main added in feat: add A2UI MCP catalog renderer and live HTTP MCP server support #219 used to fall into the left column under the configuration card on wide screens. It now stacks under Connection Status on the right, and its title and subtitle share the other cards' typography.
  • Card titles, subtitles, section headings, and the API key help text use Material system typography tokens. The remaining fixed sizes in this stylesheet are on lines main owns and this PR doesn't touch.

Pre-launch Checklist

  • Existing contributor CLA coverage; GitHub's CLA check remains authoritative.
  • Read the Contributors Guide and Style Guide.
  • Added a CHANGELOG entry. No release entry for this layout change.
  • Documented the layout and verification above; no public API changes.
  • Existing Settings tests and browser journeys pass.
  • Ran scripts/e2e_test.sh specifically. Fixture-based production browser checks are recorded above; the live-model integration script was not run.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread shell/src/global_styles.scss Resolved
Comment thread shell/src/global_styles.scss Resolved
@github-actions

github-actions Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

⚡ A2UI Composer PR Preview

Your automated preview is successfully live (commit f5d0635):
👉 Launch PR Preview

Note: This environment will be wiped automatically when the PR is merged or closed.

@jerelvelarde

Copy link
Copy Markdown
Contributor Author

Synced with main (834cafe) through the updated #119. #217 is in main now, and #119 moves light panels to white. Head is now 341d691. It merged cleanly, and above #119 it still only touches the two Settings stylesheets. I've re-recorded the description's recordings on the new theme.

The three Gemini comments were about #119's files and turned out not to apply; I replied on each with details:

  • The font list compiles to Plus Jakarta Sans, sans-serif, which is valid CSS, and it's the same form main uses.
  • --mat-sidenav-background-color isn't read by this Material version, so restoring it would change nothing.

Full e2e: 72 pass. The one failure is main's custom-instructions journey, which fails the same way on unchanged main.

@jerelvelarde
jerelvelarde force-pushed the jerel/settings-layout-split branch from 5da598e to 4aabdaa Compare September 25, 2026 16:50
@jerelvelarde

Copy link
Copy Markdown
Contributor Author

Rebased onto main. It's now two commits touching only settings.scss and renderer-selector.scss.

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.
@jerelvelarde
jerelvelarde force-pushed the jerel/settings-layout-split branch from 4aabdaa to f5d0635 Compare October 1, 2026 22:07
@jgindin
jgindin merged commit 2120839 into a2ui-project:main Oct 2, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants