Skip to content

fix(studio): use full-width page layout outside chat - #2196

Merged
kantord merged 1 commit into
mainfrom
fix/studio-full-width-pages
Oct 8, 2026
Merged

kantord merged 1 commit into
mainfrom
fix/studio-full-width-pages

Conversation

@peppescg

@peppescg peppescg commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Studio's non-chat pages now use the prototype's full-width, left-aligned layout instead of a centered max-w-* column. Before, content sat in the middle of the page with wide empty gutters; now it starts at the left edge like the design reference (stacklok/mecatl-prototypes, stack/08-tooling).

  • A new PageShell (apps/web/src/components/shell/page-shell.tsx) carries the prototype's page container (h-full overflow-y-auto px-3 pt-6 pb-8 min-[500px]:px-4, no mx-auto). Pages that need a reading width cap their own content, as the prototype does.
  • Applied to Settings (section content max-w-3xl), provider detail, memory fact detail, the Schedules list and detail, the Skills list and skill detail, and Shortcuts.
  • Settings drops the "← Chats" back link and the subtitle, which no prototype Settings page has; the top navigation already links to Chats. The accessibility test assertions for that link are removed.
  • Unchanged on purpose: the chat workspace (its centered reading column is intended), error pages, and centered empty or not-found cards (also centered in the prototype).

With whitespace ignored the diff is 9 files, +38/−73; the rest is re-indentation.

Screenshots (before | after)

The before and after shots come from origin/main and from this branch, both against mecated --mock with isolated config. The "could not be loaded" message in Settings appears in both: the mock daemon has no runtime settings.

Settings: Memory
settings memory desktop
settings memory mobile

Settings: Agent
settings agent desktop
settings agent mobile

Settings: About
settings about desktop

Scheduled
schedules desktop
schedules mobile

Skills
skills desktop
skills mobile

Shortcuts
shortcuts desktop

There is no horizontal overflow at 390px on any page. At 1440px the page title moves from x=176 to x=28.

Verification

Node 26.10.0, pnpm 12.4.2:

  • task studio:lint, task studio:typecheck and task studio:generated-check pass.
  • task studio:test: web 653 tests, server 182.
  • task studio:browser: 54 Playwright journeys.

No Go code changed.

Follow-ups

Relates to #1779.

🤖 Generated with Claude Code

Every non-chat page wrapped its content in a centered `mx-auto max-w-*`
column with `px-4 py-7 sm:px-8 sm:py-10` gutters, which left wide empty
margins on desktop. The prototype (stacklok/mecatl-prototypes,
stack/08-tooling) renders these pages full width and left-aligned in an
`h-full overflow-y-auto px-3 pt-6 pb-8 min-[500px]:px-4` scroll container,
and caps reading width on the content itself (Settings content beside
the section nav is `max-w-3xl`).

Add a small `PageShell` with the prototype's container and use it for
Settings, provider detail, memory fact detail, Scheduled (list and
detail), Skills (list and configured-skill detail) and the shortcuts
reference. Lists are now full width; detail pages keep their previous
reading width but sit at the left edge; Settings caps its section
content at `max-w-3xl`. Settings also drops the "Chats" return link and
the subtitle above its title, which the prototype has on no Settings
page; the top navigation already links to Chats. Chat, centered error
pages and centered empty/not-found state cards are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@kantord
kantord merged commit 37cb74c into main Oct 8, 2026
31 checks passed
@kantord
kantord deleted the fix/studio-full-width-pages branch October 8, 2026 14:31
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Oct 13, 2026
2 tasks
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