Repository navigation
Lighter lists: flat rows, label section titles, one-sentence intros - #2701
Conversation
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.
4e3633f to
79f5948
Compare
davidmckayv
left a comment
There was a problem hiding this comment.
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.
This reverts commit 124cf4b.
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.
davidmckayv
left a comment
There was a problem hiding this comment.
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
…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.
…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
…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
|
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)
Second merge (#2706, #2757, which landed while CI was starting)
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 |
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: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), andCardstays the way to box one thing.ItemMedia variant="icon") is unchanged.Item's sizes are unchanged:PageRowssets its own row padding.What changed in each component
PageRows(app/src/components/layout/page-parts.tsx)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 atItem's ownpy-3.5, less 12px).PageSectiontext-sm,font-medium,text-foreground, so it reads as a title over the grey description. The 32px title row stays only when there is an action button.countprop: a number after the title, muted and in tabular figures. Routines: on/off and next run on every row, compact routine page, New routine on one screen #2704, Bot pages: routines with switches, Setup in place, a tighter Activity #2706 and Settings, memory and skills polish #2710 can switch to it, so there is one way to show a section's count.learnMoreprop: the longer explanation behind "Learn more".PageShell/PageHeader: the samelearnMoreprop. A newPageIntrodraws the sentence and the disclosure. Closed, the text useshidden="until-found", so find-in-page still reaches it. The focus ring isring-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"(orRowMark) 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
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-layoutskill: the shape, the rhythm table (about 55px rows), "Words Under A Title" withcountandlearnMore, procedures 1, 2 and 4, red flags.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.tsxcard count only gets shorter.Screenshots
1280 × 820 in the desktop workbench, at this PR's head. Before on the left, after on the right.
Changelog
The look.
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".