Skip to content

feat(web): drop divider lines, boxed selects, and framed logo cards - #803

Merged
heweijie0306 merged 1 commit into
mainfrom
ethan/remove-divider-lines
Nov 26, 2026
Merged

heweijie0306 merged 1 commit into
mainfrom
ethan/remove-divider-lines

Conversation

@heweijie0306

Copy link
Copy Markdown
Contributor

Summary

The product drew a hairline under almost every header, footer and list row, a box around every select, and a framed tile around app logos, so screens read as stacks of boxes. This removes those lines:

  • Horizontal dividers: removed across dialogs, headers, footers, menus, settings groups, the Room header, work items, share dialogs and the task sidebar (about 130 sites in 75 files, plus the matching CSS rules). Lines that carry meaning stay:
    • the active tab underline;
    • keycaps;
    • stepper connectors;
    • the mail field underline;
    • data tables and Markdown tables;
    • the document divider;
    • the graph ruler.
  • Selects: a select reads as its value and chevron with no box. It fills like a ghost button on hover and while open, and keeps the red edge when invalid. Text inputs and typed comboboxes keep their border.
  • Logo + title cards (Apps, Web search, account connections): the logo ring and the card outline are gone; the card gets the standard button hover fill.
  • Vertical lines and button borders: unchanged.

Conflicts with open PRs

Tests

CI runs check-web. An earlier local run on this change (before the rebase onto the latest main) passed typecheck, lint, all tests and React Doctor.

🤖 Generated with Claude Code

@linger-review linger-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve with nits (1 P3)

Scope: base main, merge-base 1c35212b (equal to current origin/main, so the branch is up to date); 1 commit, 85 files reviewed. Helper skills loaded: coderbook, ponytail-review. karpathy-guidelines was not loaded and was applied from its known sections 2–3. This review ran in a separate session.

Findings

P3

  • apps/web/src/app/globals.css:2448: the prefers-reduced-motion block still has .app-secondary-navigation-header { transition: none; }. This PR deleted the only rule that gave that header a transition (the scrolled-hairline box-shadow at the former ~2434–2443), so this override no longer does anything. Delete it as part of the same deletion pass.

Verified as fine

  • Divider removals are className/CSS-only. I checked every changed TSX line in the diff. The only changes are removed border-t/b/y, divide-y and first:border-t-0 tokens, plus the JSX collapses that follow from them. No props, handlers, roles or ARIA attributes changed. No border-color class was left without a width. The remaining border-*-border tokens sit with border or sm:border-r/md:border-r, which matches the claim that vertical lines stay (e.g. unified-document-timeline-dialog.tsx aside).
  • Removal of the scroll marker is complete. use-scroll-pane-activity.ts no longer sets data-scrolled. git grep data-scrolled finds no other producer or consumer, including tests. The data-scrolling pane behavior is unchanged.
  • The select CSS cascades correctly.
    • button.ui-field-control[role="combobox"]:not([aria-invalid="true"]) (0,3,1) overrides the hover and focus border colors from .ui-field-control (globals.css:418-426). The focus ring box-shadow still applies, so keyboard focus stays visible.
    • The invalid state keeps the red edge, because the :not([aria-invalid]) guard excludes it.
    • :hover:not(:disabled) leaves the disabled surface intact.
    • The rule targets only the Select trigger (components/ui/select.tsx:85-89). The typed combobox (byok-combobox.tsx:157, a div) and text inputs keep their border, as the description says.
    • The select-pill override (globals.css:3526) is limited to [role="combobox"], so choice pills with aria-pressed keep their outline.
  • Fact has no leftover users of the removed prop. Its bordered prop is gone, and every call site in local-model-details.tsx was updated. featured-model-spotlight.tsx dropped its now-unused cn import.
  • Existing tests agree with the change. panel-tab-strip.test.tsx:44,175 already asserts that border-b is absent. No test asserted the removed classes.
  • No CJK in added lines or in the commit message. No contracts, env or cross-app imports are touched.

Process notes

  • None. There is one atomic commit and no merge or fixup commits.

CI

All required checks pass: check (web), web tests (1/2, 2/2), web-static, repository-gate and CodeQL. Non-web checks were skipped by the path plan. I did not run any tests locally: this is a style-only change and CI's web suite covers it.

Automated review by Claude Code


Automated review of 5b15923 by Claude Code.

muterC
muterC previously approved these changes Nov 26, 2026
Horizontal hairlines under headers, above footers, between menu groups
and list rows are gone; spacing and surface color separate those areas.
Select triggers draw no border and fill like a ghost button on hover or
while open, keeping the red edge when invalid. Connector cards lose both
their outline and the ring around each logo, and fill like a button on
hover. Inputs, buttons, vertical dividers, tab selection underlines,
step connectors, and tables inside content keep their lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@linger-review linger-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve with nits (0 new findings, 1 previous P3 still open)

Scope: follow-up on 5b15923. Base main, merge base fcba4430, 1 commit, 75 files reviewed. Loaded coderbook. I didn't load ponytail-review or karpathy-guidelines; I applied their checklists from the review brief. Ran in a separate session.

Previous findings

  • Not resolved (P3): the reduced-motion rule is dead. apps/web/src/app/globals.css:2448 still sets .app-secondary-navigation-header { transition: none; }, but this PR deletes the base transition on that header (the old block near line 2434). Nothing is left to turn off, so the rule should be deleted with the rest.

Findings

None new. The branch was force-pushed since the previous review. git range-diff shows a single change: the edits to room-settings-dialog.tsx and room-settings-panel.tsx were dropped. main has since deleted the dialog and rewritten the panel, and the panel's current version has no border-t border-app-border divider. I re-checked the rest of the diff against the merge base.

Verified as fine

  • The select restyle hits only real select triggers. The non-pill trigger in Select is a <button role="combobox"> with ui-field-control (apps/web/src/components/ui/select.tsx:85-101). Text inputs use ui-field-control without that role (apps/web/src/components/ui/field.tsx:5), so they keep their border. aria-invalid is forwarded on the trigger, so the :not([aria-invalid="true"]) guard keeps the red edge.
  • The pill variant (select-pill, select.tsx:88) loses its outline only as a combobox. Choice pills ([aria-pressed]) keep theirs, as the PR description says.
  • The scroll-hairline cleanup is complete. The data-scrolled writer in use-scroll-pane-activity.ts and both CSS rules that read it were deleted together, and git grep data-scrolled finds no other readers.
  • There are no CJK characters in added lines or in the commit message, and git diff --check is clean.

Process notes

  • The branch was force-pushed and rebased since the previous review, so I compared the two versions with git range-diff instead of a plain diff. No merge or fixup commits.

CI
repository-gate, web tests (1/2, 2/2), CodeQL and changes all pass. web-static (typecheck, lint, React Doctor) was still pending when I checked. The other checks were skipped because the PR only touches Web. I didn't run any tests myself.

Automated review by Claude Code


Automated review of 50bcec1 by Claude Code.

@heweijie0306
heweijie0306 added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 48258b1 Nov 26, 2026
16 checks passed
@heweijie0306
heweijie0306 deleted the ethan/remove-divider-lines branch November 26, 2026 16:16
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