Skip to content

Lighter lists: flat rows, label section titles, one-sentence intros - #2701

Merged
samjulien merged 14 commits into
mainfrom
claude/flat-rows-sections-8f2829
Dec 2, 2026
Merged

samjulien merged 14 commits into
mainfrom
claude/flat-rows-sections-8f2829

Conversation

@samjulien

@samjulien samjulien commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The agreed design-system change from the screen audit: lists and sections read lighter. Every list sat in a bordered card with a 32px icon tile on every row, under a bold heading and a paragraph of grey text. ChatGPT and Claude draw flat rows split by thin lines, with small labels and no icon on every row. This changes the shared layout components, removes the tiles from the screens where they repeat the row's title, and shortens the long intros.

What this changes from #2124, on purpose

#2124 ("A sharper look", Guido) set the current look. This PR keeps its radius, lines, shadows, greys, sizes and Card. It changes two choices, on purpose:

  • Cards around lists. A sharper look: one radius, visible lines, Linear's shadows, slate greys and Home's orb #2124 drew every list of rows as one bordered card (PageRows). Here a list is flat rows on the panel, split by hairline dividers. Why: the audit found that a box around every list makes settings read as an admin tool, and ChatGPT, Claude and Grok Bot all draw settings as flat rows. Forms keep their card (PageCard), and Card stays the way to box one thing.
  • The 32px icon tile on every row. A sharper look: one radius, visible lines, Linear's shadows, slate greys and Home's orb #2124 kept a tile on every row so a list reads as a column of marks. Here a row has a tile only where the icon tells rows apart: app and vendor marks, file kinds, AI provider logos, a question versus an approval, an app call versus a computer action in a boundary's dry run, routine triggers from GitHub, Linear or Sentry, and a Bot's activity items (their tile carries the "under way" dot). Elsewhere the glyph repeated the row's title, so it is gone. The tile itself (ItemMedia variant="icon") is unchanged.

Item's sizes are unchanged: PageRows sets its own row padding.

What changed in each component

PageRows (app/src/components/layout/page-parts.tsx)

  • No card: no border, no fill, no corners. Rows are split by hairline dividers.
  • The list reaches 8px past the column and each row pads 8px back in, so row text lines up with the section label and a link row's hover fill has room.
  • Rows inside it are 8px top and bottom (py-2) and at least 48px. A row with a description is about 55px at Type on Tailwind's whole-pixel scale: text-sm 14px, text-xs 12px, titles 24px #2698's type scale (67px at Item's own py-3.5, less 12px).
  • A row's words keep at least 128px, so on a phone the actions wrap below a long name (Admin › People at 390px).
  • A list right under another list gets a divider where they meet.

PageSection

PageShell / PageHeader: the same learnMore prop. A new PageIntro draws the sentence and the disclosure. Closed, the text uses hidden="until-found", so find-in-page still reaches it. The focus ring is ring-3, as the primitives draw it.

PageEmpty: flat, like the rows: no border.

LoadingRows: no icon placeholder by default.

Item (components/ui/item.tsx): not changed.

Tiles removed per screen

About 100 files lose ItemMedia variant="icon" (or RowMark) on rows that sit in a list: Settings, Notifications, Memory, Skills, Vault, Bot profile, Bot setup, Bot skills, Admin, Approvals. Footers that were indented to clear the tile (pl-11, pl-8) start at the row's edge now. The icon props that only fed those tiles are removed with them (TeamGrantsRow, ActionRows, NamedRow, PartRows, FactRow, SheetRow).

Kept: the lists named in the #2124 section, plus every card outside a list (chat cards, the admin change cards, onboarding, dialogs, notices, learning-next).

Intros, now one sentence

  • Approvals: one sentence under the title. "Before a Bot acts" shows the short rule; the full rule text is behind Learn more. "Rules for every Bot" says where one Bot's rules are; how rules combine is behind Learn more. "Rules for other Bots" is one sentence.
  • Memory, Notifications: one sentence; the rest behind Learn more.
  • Skills: leads with what to do ("Write a skill, teach a Bot by showing it, or review what OpenBot proposes."); what a skill is goes behind Learn more.
  • Notifications sections, Vault, a skill's page: one sentence each.
  • New routine: two section descriptions removed. They repeated the page intro and the field labels.

Docs and tests

  • docs/app-guidelines.md › The look: rule 7 is "Rows and sections", rule 11 says a list of rows is not a card. docs/design-system.md: the surface table matches.
  • openbot-screen-layout skill: the shape, the rhythm table (about 55px rows), "Words Under A Title" with count and learnMore, procedures 1, 2 and 4, red flags.
  • New app/tests/page-intro.test.tsx: the sentence alone; Learn more hidden until found; the count after the title.
  • ui-card.test.tsx: a list is flat, a form keeps its card. page-empty.test.tsx: the empty state is flat. vault.test.tsx: login and key rows have no tile. ui-look-guard.allowlist.json: page-parts.tsx card count only gets shorter.

Screenshots

1280 × 820 in the desktop workbench, at this PR's head. Before on the left, after on the right.

Before After
Settings Settings
Settings dark Settings dark
Approvals Approvals
Approvals dark Approvals dark
Bot profile Bot profile
Notifications Notifications
Memory Memory
Skills dark Skills dark
Apps Apps

Changelog

The look.

  • Settings and list pages read as lists, not admin forms. Rows sit flat, split by thin lines,
    with no box around each list and no icon beside every row. Icons stay where they tell rows apart,
    such as app marks and file kinds. Section titles are small labels, and each page and section
    opens with one short sentence. A longer explanation, such as the full approval rules, is behind
    "Learn more".

PageRows draws no card: rows sit flat on the panel, split by hairline
dividers, with their text lined up under the section label. A row's icon
tile is hidden unless the list sets `icons`, which the Apps lists, a
Bot's apps, Reconnect, Artifacts and waiting items keep. Item size="sm"
is 8px top and bottom, about 53px with a description.

PageSection titles are 13px medium grey labels. PageSection and
PageShell take `learnMore`, which puts the longer explanation behind a
"Learn more" disclosure. Approvals, Memory, Notifications, Skills, Vault,
Skill detail and New routine open with one sentence each.

Docs (app guidelines rules 7 and 11, design system, screen-layout skill),
the ui-card test and the look-guard allowlist follow.
Admin > People at 390px: without the tile and the card's padding, the
Admin switch and Remove fit beside a long name and left it under 120px.
With a floor on the words the actions wrap onto their own line.
davidmckayv
davidmckayv previously approved these changes Dec 2, 2026

@davidmckayv davidmckayv 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.

Approved. It follows openbot-screen-layout and openbot-copy, and narrow rows wrap their actions at the new 128px minimum. One small fix worth making: page-parts.tsx:114 needs hiddenUntilFound, or find-in-page can't reach the collapsed Learn more text, contrary to the comment. Conflicts with #2704 in new-routine-page.tsx: take #2704's version.

Rows, icon tiles, Item sizes and section headings go back to what main
has. What stays: PageShell and PageSection take `learnMore`, and a new
PageIntro draws the one-sentence description with "Learn more" after it.
Closed, the longer text is hidden until found, so find-in-page still
reaches it. The Skills intro now leads with what to do.
@samjulien samjulien changed the title Lighter lists: flat rows, label section titles, one-sentence intros Shorter page intros: one sentence, the rest behind Learn more Dec 2, 2026
PageRows no longer hides icon tiles with CSS. Each list row that drew a
tile only to repeat its title loses it in the screen code, and the icon
props that fed those tiles go with them. Tiles stay where the icon tells
rows apart: app and provider marks, file kinds, a question versus an
approval, an app call versus a computer action, routine triggers, and a
Bot's activity items.

Item size="sm" is back to main; PageRows sets py-2 on its own rows.
Section titles are text-sm medium in the text color, with an optional
count after them. "Learn more" is hidden until found, its focus ring is
ring-3, and PageEmpty is flat. The Skills intro leads with what to do.
Docs and the layout skill give rows as about 60px.
@samjulien samjulien changed the title Shorter page intros: one sentence, the rest behind Learn more Lighter lists: flat rows, label section titles, one-sentence intros Dec 2, 2026
davidmckayv
davidmckayv previously approved these changes Dec 2, 2026

@davidmckayv davidmckayv 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.

Re-reviewed at 865da25, full scope: icons dropped per screen, Item untouched, no orphaned 44px indents, Learn more findable. Admin, People, Organization and Approvals at 390 and 1440px. Holds. Merge this one last: it collides with #2704, #2706, #2710, #2713 and the layout skill, so one rebase at the end beats seven. Keep one copy of the section-heading count option that #2706 also adds.

…ude/flat-rows-sections-8f2829

# Conflicts:
#	CHANGELOG.md
davidmckayv
davidmckayv previously approved these changes Dec 2, 2026

@davidmckayv davidmckayv 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.

Re-approved at 8785664: the push only merges main. The PR's own changes are line-for-line what I approved at 865da25.

…ude/flat-rows-sections-8f2829

# Conflicts:
#	app/src/routes/_authed/_app/connections.index.tsx
The merge kept both sides' icon imports in broker-directory.tsx. The
loading rows there stand in for app logos, which stay, so the file
matches main.
davidmckayv
davidmckayv previously approved these changes Dec 2, 2026

@davidmckayv davidmckayv 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.

Re-approved at af13d4a. Against 8785664, the PR's own changes only got smaller, because main absorbed the shared parts; it adds no new lines.

…ude/flat-rows-sections-8f2829

# Conflicts:
#	.claude/skills/openbot-screen-layout/SKILL.md
#	app/src/components/layout/page-parts.tsx
…ude/flat-rows-sections-8f2829

# Conflicts:
#	app/src/components/responsibilities/goal-page.tsx
#	app/src/components/routines/new-routine-page.tsx
#	app/src/components/routines/routine-page.tsx
#	app/src/components/suggestions/check-in-page.tsx
davidmckayv
davidmckayv previously approved these changes Dec 2, 2026

@davidmckayv davidmckayv 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.

Re-approved at f92d48f. It took main's routine files. The only new lines are the row-height figures in the page-parts comment, the app guidelines and the layout skill, now about 55px at #2698's scale with a 48px floor, which match the code.

…ude/flat-rows-sections-8f2829

# Conflicts:
#	.claude/skills/openbot-screen-layout/SKILL.md
…ions-8f2829

# Conflicts:
#	.claude/skills/openbot-screen-layout/SKILL.md
#	app/src/components/layout/page-parts.tsx
#	app/src/components/layout/page-shell.tsx
#	app/src/components/manage/skill-page.tsx
#	app/src/components/settings/learning-sharing.tsx
#	app/src/components/skills/skills-settings-page.tsx
#	app/src/components/teams/teams-page.tsx
#	app/src/components/vault/vault-page.tsx
#	app/src/routes/_authed/_app/bots.index.tsx
…about 59px

Main's #2721 made ItemDescription text-sm, 4px taller than text-xs, so the flat row this branch draws (py-2) is about 59px, not 55px. The page-parts comment, the layout skill's rhythm table and the look's rule 7 say so. Rule 2 no longer says the line under a row's name sits in a card, since a list of rows is not a card any more.
…ions-8f2829

# Conflicts:
#	app/src/components/approvals/settings.tsx
#	app/src/components/layout/page-parts.tsx
#	app/src/components/layout/page-shell.tsx
#	app/src/components/settings/github-sources.tsx
@davidmckayv

Copy link
Copy Markdown
Contributor

Sam, I merged main into this branch twice tonight (no rebase, so your history is intact) to clear the conflicts and get it into 1.2.8. This is what conflicted and how I resolved each one. In every case I kept both sides: main's polish, plus your flat rows, label titles and one-sentence intros. The only visual changes are the ones the two PRs already make.

First merge (#2710, #2713, #2721)

  • page-parts.tsx › PageRows: The line under a row's name is text-sm, in muted-foreground #2721 changed "67px" to "71px" in the old card comment. Your flat-rows comment replaces it. The line under a row's name is text-sm, in muted-foreground #2721 made ItemDescription text-sm, which adds 4px, so I changed your "about 55px" to "about 59px" here, in the layout skill's rhythm table and in rule 7 of app-guidelines. That rule 2 line no longer says "in a card". This is in a separate commit.
  • page-shell.tsx: kept main's PageAddButton (One filled main button on list pages #2713) and your PageIntro export. IconChevronLeft and IconPlus are imported together.
  • SKILL.md rhythm table: kept your flat-row rows and dropped main's 71px card row.
  • vault-page.tsx: the header's Add key from One filled main button on list pages #2713 (no section action), the "Saved logins (n)" title from Settings, memory and skills polish #2710, and your shorter Logins and Keys descriptions.
  • teams-page.tsx, bots.index.tsx: your import order, plus PageAddButton. IconBook, IconBrain and IconPlus are dropped because nothing uses them.
  • skills-settings-page.tsx: kept main's link rows to /skills/$slug and its workspace section, moved into LearningSharing as afterSkills (Settings, memory and skills polish #2710). Your tiles are gone from both the written rows and the workspace rows. Kept your intro with learnMore, and PageAddButton for New skill.
  • learning-sharing.tsx: kept main's fragment with {afterSkills}, and removed the learned-skill row's IconSparkles tile.
  • skill-page.tsx: kept main's read-first restructure, with Edit, SkillOverview and SkillAgents. Applied your two changes on top: the Bots description loses "It takes effect at once.", and the Delete row loses its IconTrash tile. Imports: added IconPencil, dropped IconTrash.

Second merge (#2706, #2757, which landed while CI was starting)

  • page-parts.tsx › PageHeader: kept your learnMore and main's media (the app logo beside the title).
  • page-parts.tsx › PageSection: Apps and permissions polish #2757 added a count prop too, with the same span. Kept your label-style title (text-sm, font-medium) with the data-slots, and one count prop whose comment merges both. Apps and permissions polish #2757's rendering of it was the old font-semibold text-base heading.
  • page-shell.tsx: passes both learnMore and media through.
  • approvals/settings.tsx: kept main's "Ask before" select (ASK_BEFORE_*) and your ALWAYS_ASKS_SHORT.
  • github-sources.tsx: kept main's RepositoryRow, with Copy webhook address, Remove and the footer when the copy fails. Removed its GitHub tile, as your branch did.
  • identity-connection-page.tsx (no conflict marker, but it broke): your branch removed the ItemMedia import, and main's new IdentityMark needs it. The import is back.

Checks: app typecheck, lint and format are clean, and the app suite passes (5933 pass, 0 fail). 23 browser-test files for the screens this touches (teams, grants, models, people, settings cards, browse apps, artifacts and sharing, workspace snapshots, access requests and others) pass in Chromium and WebKit (814 pass, 0 fail). The first CI run failed once on stopped-turn-dismiss-browser, a known flake that #2772 fixes; it passes locally, and I reran it.

@davidmckayv davidmckayv 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.

Re-approved at 987acc6. Since f92d48f the only changes are the merges with main (both sides kept in every conflict, listed in the comment above) and the row-height notes corrected to about 59px after #2721. No new behaviour.

@davidmckayv
davidmckayv added this pull request to the merge queue Dec 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 2, 2026
@samjulien
samjulien added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit 7b6f74e Dec 2, 2026
69 of 72 checks passed
@samjulien
samjulien deleted the claude/flat-rows-sections-8f2829 branch December 2, 2026 08:28
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