Repository navigation
The line under a row's name is text-sm, in muted-foreground - #2721
Merged
Merged
Conversation
ItemDescription was text-xs, a step below the title. It is now text-sm, the title's size, as in shadcn's own Item. The title's medium weight and foreground color set it apart from the detail in muted-foreground. Three screens that forced it back to text-xs no longer do: the allowed models list, a team's models and Browse apps on Apps. A title over a one-line description comes to 69px (was 65px). The look's type rule says where the line is text-sm.
samjulien
marked this pull request as ready for review
December 2, 2026 01:57
samjulien
requested review from
MikeRyanDev,
davidmckayv,
dustywusty,
guidovizoso,
mxmzb and
tylerslaton
as code owners
December 2, 2026 01:57
davidmckayv
previously approved these changes
Dec 2, 2026
…n-text-sm # Conflicts: # app/src/routes/_authed/_app/connections.index.tsx
davidmckayv
previously approved these changes
Dec 2, 2026
…n-text-sm # Conflicts: # .claude/skills/openbot-screen-layout/SKILL.md # app/src/components/layout/page-parts.tsx # app/src/components/ui/item.tsx # docs/app-guidelines.md
davidmckayv
approved these changes
Dec 2, 2026
davidmckayv
added a commit
that referenced
this pull request
Dec 2, 2026
…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.
nexusatemporal
pushed a commit
to nexusatemporal/openbot
that referenced
this pull request
Dec 2, 2026
…opilotKit#2701) * Lighter lists: flat rows, label section titles, one-sentence intros 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. * Keep a row's words at least 128px, so narrow rows wrap their actions 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. * Narrow to shorter page intros; keep the row look as it is 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. * Revert "Narrow to shorter page intros; keep the row look as it is" This reverts commit 124cf4b. * Design review: drop the icons switch, keep Item sizes, label titles 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. * Keep main's browse-apps loading rows after the merge 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. * Row heights after the merge: a row with a description in PageRows is about 59px Main's CopilotKit#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. --------- Co-authored-by: David McKay <davidmckayv@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Split out of #2698 so that PR is the type scale only. One primitive, one concern.
What changes
ItemDescription, the line under a row's name, goes fromtext-xstotext-sminmuted-foreground: the same size as the name. shadcn's ownItemDescriptionistext-sm. The design audit measured these lines at 11.25px where ChatGPT, Claude and Grok use 12–14px.Two screens set the description back to
text-xsand no longer do:admin/controls/model-sections.tsx).teams/team-models.tsx).A third, the Browse apps tile on Apps, was removed on
mainby #2646, so its edit went with it.The two monospace addresses (GitHub webhook, MCP server address) stay
text-xs.docs/app-guidelines.md› The look › Type now says the line under a row's name istext-sm, inmuted-foreground.Row height
On
main, which has the whole-pixel type scale from #2698, a title over a one-line description goes from 67px to 71px. A single line stays 47px, held at the 56px floor. The comments initem.tsx,page-parts.tsxand the layout skill say 71px.The conversation row keeps its 12px line
conversation-row-text.test.tsholds the sidebar's conversation row at 12px for its time, Working label and preview, because a preview at the title's size lost the row's hierarchy. This PR does not touch that row. The two cases differ:font-mediuminforeground, and the description is regular weight inmuted-foreground. Weight and color separate them at one size.font-normalonce read, so at one size the preview and the title would match in weight too.Checks
The ui-look-guard, ui-primitives-look, ui-look-theme, design-tokens, failure-said, conversation-row-text, color-scheme, artifacts-kit and skins tests pass (97).
tscpasses, andbun run lintandbun run format:checkpass on the whole repo.Changelog
The web app.
14px, in a muted color. A row with a description is 4px taller.