Skip to content
refs

feat(ui): replace Kumo with the refs design system and simplify the main pages

Aman Kumarcommitted Nov 20, 20260902024parent 03f416f

The frontend now uses packages/design-system instead of Kumo. On top of that, the main pages are simpler: - A pull request has one header for all tabs and one row of tabs: Reasoning, Conversation and Files. - Pull request and task status show as an icon and a word. - People and agents are marked apart on pull requests and commits. - Repeated facts are removed from the repository About card, the task sidebar, the pull request sidebar and the commit page. - The new repository form puts owner and name on one row and folds the import option away. - The branch map and the tabs fit a 375 px phone screen. - Added and deleted diff lines show a visible colour tint.

4 decisions

Remove the Commits tab of a pull request and redirect it to Reasoning.

Why

  • Reasoning already lists every commit with its title, author, time and hash.
  • Fewer tabs fit on a phone with no swipe.

Paths considered

  1. Chosen
  2. Keep the Commits tab as a plain list.
  3. keep_commits_tabIt shows the same commits twice.

Touches

  • pull-layout.tsx
  • pull-commits.tsx

Keep one pull request header for all tabs instead of moving the status into the branch map.

Why

  • The map shows only on the Reasoning tab, so the status would disappear on other tabs.
  • One header is simpler to read and to keep correct.

Touches

  • pull-layout.tsx

On pull request pages, show a breadcrumb in place of the repository tabs.

Why

  • Two rows of tabs made the page look like a standard code forge and pushed content down.
  • The breadcrumb still links back to the repository and its pull request list.

Touches

  • repo.tsx
  • shell.tsx

Pass the success and danger colours to the diff library as base colours, not as line backgrounds.

Why

  • The library mixes a line background override with the panel colour again, so the tint was almost invisible.

Touches

  • pierre-file.tsx
78 files changed · +8703 −7811
apps/frontend/.impeccable/design.json+102 −377
apps/frontend/.impeccable/surfaces/routes-pull-reasoning-tsx.md+24 −0
apps/frontend/DESIGN.md+222 −207
apps/frontend/PRODUCT.md+5 −6
apps/frontend/app.css+14 −20
apps/frontend/components/attribution.ts+6 −0
apps/frontend/components/decision-view.tsx+17 −17
apps/frontend/components/diff-view.tsx+21 −18
apps/frontend/components/history-reasoning.tsx+19 −22
apps/frontend/components/landing.tsx+110 −114
apps/frontend/components/mentions.tsx+21 −21
apps/frontend/components/merge-box.tsx+49 −37
apps/frontend/components/permission-requests.tsx+27 −31
apps/frontend/components/pierre-file.tsx+18 −8
apps/frontend/components/pull-status.tsx+4 −13
apps/frontend/components/repo-form.tsx+20 −33
apps/frontend/components/review-thread.tsx+21 −27
apps/frontend/components/task-form.tsx+5 −9
apps/frontend/components/timeline.tsx+127 −0
apps/frontend/components/title-editor.tsx+45 −0
apps/frontend/components/use-on-success.ts+13 −0
apps/frontend/lib/permissions.ts+7 −0
apps/frontend/lib/session.ts+5 −0
apps/frontend/package.json+0 −1
apps/frontend/root.tsx+3 −3
apps/frontend/routes/admin-waitlist.tsx+7 −8
apps/frontend/routes/cli-script.ts+10 −2
apps/frontend/routes/dashboard.tsx+147 −145
apps/frontend/routes/install.ts+3 −1
apps/frontend/routes/invite.tsx+3 −4
apps/frontend/routes/labels.tsx+67 −46
apps/frontend/routes/login.tsx+4 −5
apps/frontend/routes/members.tsx+33 −25
apps/frontend/routes/oauth-authorize.tsx+17 −10
apps/frontend/routes/organization-new.tsx+7 −7
apps/frontend/routes/pull-commits.tsx+3 −37
apps/frontend/routes/pull-files.tsx+10 −17
apps/frontend/routes/pull-layout.tsx+51 −92
apps/frontend/routes/pull-reasoning.tsx+238 −148
apps/frontend/routes/pull.tsx+63 −96
apps/frontend/routes/repo-blob.tsx+7 −8
apps/frontend/routes/repo-commit.tsx+16 −24
apps/frontend/routes/repo-commits.tsx+45 −45
apps/frontend/routes/repo-compare.tsx+12 −15
apps/frontend/routes/repo-fork.tsx+2 −2
apps/frontend/routes/repo-home.tsx+5 −5
apps/frontend/routes/repo-last-commits.ts+2 −2
apps/frontend/routes/repo-pulls.tsx+42 −40
apps/frontend/routes/repo-settings.tsx+11 −15
apps/frontend/routes/repo-tasks.tsx+2 −2
apps/frontend/routes/repo-tree.tsx+2 −2
apps/frontend/routes/repo.tsx+3 −1
apps/frontend/routes/signup.tsx+4 −5
apps/frontend/routes/task.tsx+116 −179
apps/frontend/routes/tasks.tsx+2 −2
apps/frontend/routes/tokens.tsx+39 −36
package-lock.json+5195 −5351
packages/design-system/components/ago.tsx+13 −0
packages/design-system/components/brand.tsx+28 −16
packages/design-system/components/empty.tsx+1 −0
packages/design-system/components/line-badge.tsx+22 −0
packages/design-system/components/line-diagram.tsx+134 −0
packages/design-system/components/repo.tsx+126 −135
packages/design-system/components/settings.tsx+2 −1
packages/design-system/components/shell.tsx+206 −182
packages/design-system/components/surface.tsx+20 −0
packages/design-system/components/swap-icon.tsx+16 −0
packages/design-system/components/tasks.tsx+64 −59
packages/design-system/index.ts+16 −18
packages/design-system/package.json+7 −3
packages/design-system/provider.tsx+4 −2
packages/design-system/styles.css+337 −54
packages/design-system/ui/button.tsx+78 −0
packages/design-system/ui/cn.ts+16 −0
packages/design-system/ui/feedback.tsx+104 −0
packages/design-system/ui/form.tsx+182 −0
packages/design-system/ui/navigation.tsx+96 −0
packages/design-system/ui/overlay.tsx+158 −0