Skip to content

fix(ui): align Agent connections and recent surfaces with WrenLore styles (#150) - #156

Merged
LeoStehlik merged 1 commit into
masterfrom
fix/150-visual-consistency
Nov 21, 2026
Merged

LeoStehlik merged 1 commit into
masterfrom
fix/150-visual-consistency

Conversation

@LeoStehlik

Copy link
Copy Markdown
Contributor

Closes #150

Fixes: the Agent connections intro text and several recently added surfaces used typography/spacing that didn't match the rest of WrenLore settings.

Changes (consistency only — no new visual system)

  • Agent connections (wrenlore/mcp/agent-connections.tsx):
    • Intro paragraph now uses the established settings-description style (size="sm" c="dimmed"), matching Account/Preferences rows.
    • Alerts use variant="light" with an icon, matching shares.tsx, trash.tsx, AI admin.
    • Secondary table lines (space scope, expiry) are c="dimmed".
    • "Connect OpenCode" heading uses Text size="md" + dimmed sm description, matching the Text md / Text sm dimmed pattern used across account settings.
    • Token dialog gets the standard Divider under the title (matches CreateSpaceModal) and consistent Stack gap="md".
  • AI settings (wrenlore/ai/pages/ai-settings.tsx): the MCP switch is reformatted and wrapped in t() like its sibling switches.
  • AI provider admin: section headings use Title order={4} (the Security page's convention) instead of ad-hoc Text fw={600}.
  • Audit log page: the Refresh button was inside a Group with SettingsTitle, which broke the title divider layout; moved below the title like the Spaces page. Error alert uses variant="light". Table markup reformatted with consistent secondary-text styling.

Verification

  • Client tsc + production build pass.
  • Chromium screenshots at 1280px and 420px (normal and narrow) for Agent connections, the token dialog, AI settings and the audit log: typography and spacing now read as one system; narrow layout wraps cleanly.

Scope note

Attribution displays in comments and page history already used the shared Text sm conventions and were left as-is. No colors, fonts or components were introduced.

…yles

Consistency pass for recently added screens (no new visual system):

- Agent connections: intro paragraph now uses the established
  settings description style (size sm, dimmed); Alerts use
  variant="light" with icons like other settings pages; secondary
  table lines are dimmed; the Connect OpenCode heading matches the
  Text md + dimmed sm description pattern; the token dialog gets the
  standard Divider under the title and consistent Stack spacing.
- AI settings: MCP switch formatted and translated like its siblings.
- AI provider admin: section headings use Title order 4 (matching the
  Security page) instead of ad-hoc bold Text.
- Audit log page: Refresh button moved out of the title Group so the
  SettingsTitle divider spans correctly (matches the Spaces page);
  error Alert uses variant="light"; table markup reformatted with
  consistent secondary-text styling.

Verified in Chromium at 1280px and 420px widths.

Refs #150

Signed-off-by: Leo Stehlik <[email protected]>
@LeoStehlik
LeoStehlik merged commit 32a905e into master Nov 21, 2026
3 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.

Align Agent connections and recently added settings with WrenLore typography and components

1 participant