Skip to content

feat(web): one content edge across repo tabs, accent only for interactive things, line-icon backend badge - #365

Merged
PastaPastaPasta merged 17 commits into
masterfrom
feat/e8-accent-edge
Oct 4, 2026
Merged

PastaPastaPasta merged 17 commits into
masterfrom
feat/e8-accent-edge

Conversation

@PastaPastaPasta

@PastaPastaPasta PastaPastaPasta commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

What

The rest of E8's visual items (theming review T-9, T-11, T-12):

  • One content edge. Every repo tab starts at the repo header's left edge. Before, each tab centred its own column (PR max-w-6xl, issue 5xl, lists 4xl, releases and stargazers 3xl), so switching tabs moved the left edge by 40–232 px. The issue and pull request lists, and the PR and issue pages, now use the full width. Releases, stargazers, labels, milestones, the new-PR form and repo settings keep a reading width, left-aligned.
  • The accent means "act here". Folder and submodule icons, menu and section icons, and an empty state's icon disc move off ember to a muted token (--fg-muted on --surface-raised). Inline code in Markdown becomes body text on its chip; before, it used the link colour, so CLAUDE.md looked clickable next to a real link. A submodule no longer spends the Dash identity blue. Links, primary buttons, selection, focus, the current tab, the brand mark and a starred star keep the accent.
  • Backend badge. The ⛓ and 🌐 glyphs (🌐 is a colour emoji that differs per OS) become Lucide line icons: Blocks for Platform (not Link2, which the file list uses for a symlink), Globe for IPFS, HardDrive for S3 and HTTPS, Blocks plus Globe for mixed. The tooltip says where each kind keeps the files.

Why

Content that jumps between tabs reads as several apps stitched together. An accent that colours folders, keywords and inline code stops signalling what is clickable.

How tested

  • tsc, eslint --max-warnings 0, vitest, including the contrast test (the new tokens sit in the same checked blocks).
  • Static export against sakura, at 1280 px in both themes:
    • after: dash-forge-qa/evidence/p0/e8/after-pr3/ (repo-dash-*: folders and the badge; pulls-dips-* and issues-dips-*: full-width lists; issue-dips-* and pull-dips-*: same left edge; commit-dash-word-diff-*: the muted empty-state disc)
    • before: dash-forge-qa/evidence/p0/e8/before/

Review

A high-effort code review found nine items; all are fixed: the badge's icon clash with symlinks, data-icon per icon, the mixed-backend tooltip, page-title discs on /new and /mirror still ember, the start and private-repository section icons, an outline so the neutral empty-state disc stays visible on cards, a contrast test pinning --fg-muted, a stale test exemption, the emoji badges in docs/design/ux-dx-spec.md, and BackendInfo.label (it only repeated kind). After-review captures: dash-forge-qa/evidence/p0/e8/after-review/.

Limits

  • The landing page's feature icons keep the accent, since that page belongs to the first-impression work now in flight. So do the sign-in dialog's option icons, which sit on buttons.
  • Line length inside Markdown is not capped yet (max-w-[75ch] on prose). Comment bodies on GitHub are not capped either, so this waits for the theme-token pass.

#360 is merged. This branch contains #362's head, so merging it also lands #362.

🤖 Generated with Claude Code

PastaPastaPasta and others added 2 commits October 4, 2026 11:56
… collapsed commit bodies

Diffs reuse the blob view's lazy highlight.js chunk on both sides of the file (by file name, never a guess) and mark the changed words of each paired line, within a per-file comparison budget. Row tints come from CSS tokens (10% light, 16% dark) with a 2px edge in the marker colour; split cells wrap at word boundaries instead of break-all. Syntax colours become --syn-* tokens with keywords off the accent, all checked on every diff tint. Selected lines use an accent tint instead of amber, the unchanged-lines row a raised surface instead of Dash blue, and long commit bodies start at three mono lines with Show full message.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…tive things, line-icon backend badge

Every repo tab (pull request, issue, lists, releases, stargazers, labels, milestones, settings) starts at the repo header's left edge instead of its own centred column. Decorative icons, folders, submodules and the empty-state disc move off the ember accent to a muted token, inline code to body text, and the backend badge's emoji glyphs to Lucide line icons.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 26 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 82d67c47-855f-4aaa-8b5c-64876a629e88
📥 Commits

Reviewing files that changed from the base of the PR and between 40b9bc1 and 8229705.

📒 Files selected for processing (40)
  • docs/design/style-guide.md
  • docs/design/ux-dx-spec.md
  • forge-web/app/explore/client.tsx
  • forge-web/app/globals.css
  • forge-web/app/new/page.tsx
  • forge-web/app/private/page.tsx
  • forge-web/app/start/page.tsx
  • forge-web/components/app-header.tsx
  • forge-web/components/markdown-view.tsx
  • forge-web/components/mirror/mirror-wizard.tsx
  • forge-web/components/repo/blame-content.tsx
  • forge-web/components/repo/blob-content.tsx
  • forge-web/components/repo/commit-body.test.tsx
  • forge-web/components/repo/commit-content.tsx
  • forge-web/components/repo/diff-view.tsx
  • forge-web/components/repo/file-list.tsx
  • forge-web/components/repo/issue-content.tsx
  • forge-web/components/repo/issues-content.tsx
  • forge-web/components/repo/labels-content.tsx
  • forge-web/components/repo/milestones-content.tsx
  • forge-web/components/repo/new-pull-content.tsx
  • forge-web/components/repo/pull-content.tsx
  • forge-web/components/repo/pulls-content.tsx
  • forge-web/components/repo/releases-content.tsx
  • forge-web/components/repo/repo-home-content.tsx
  • forge-web/components/repo/repo-settings-sections.tsx
  • forge-web/components/repo/settings-content.tsx
  • forge-web/components/repo/stargazers-content.tsx
  • forge-web/components/ui/backend-badge.tsx
  • forge-web/components/ui/states.tsx
  • forge-web/hooks/use-repo-trust.ts
  • forge-web/lib/design/contrast.test.ts
  • forge-web/lib/view/diff-highlight.test.ts
  • forge-web/lib/view/diff-highlight.ts
  • forge-web/lib/view/highlight.ts
  • forge-web/lib/view/prefs.ts
  • forge-web/lib/view/repo-view.ts
  • forge-web/lib/view/word-diff.test.ts
  • forge-web/lib/view/word-diff.ts
  • forge-web/tailwind.config.js
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

PastaPastaPasta and others added 11 commits October 4, 2026 12:19
…apsed body

A diff side over 128 KiB, or one highlight.js cannot colour, leaves both sides plain, and the page's files are coloured one side per task so many open diffs never block at once. Line HTML is built once per line. A pair over the token cap no longer spends the file's word-diff budget, and tokens keep combining marks and emoji sequences whole. A collapsed commit body renders only its first lines, so hidden links take no focus. Word marks are square so a change across syntax spans reads as one, and the selected-line contrast check uses each theme's own token.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts:
#	docs/design/style-guide.md
The Platform badge uses a blocks icon (the chain link means a symlink in the file list), each icon names itself in data-icon, and the tooltip says where each kind of backend keeps the files. BackendInfo drops the label that only repeated its kind. Page-title and empty-state discs are neutral with an outline so they stay visible on any surface, the start and private-repository section icons are muted, --fg-muted is pinned by the contrast test, and the UX spec no longer shows emoji badges.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@PastaPastaPasta
PastaPastaPasta changed the base branch from feat/e8-diffs to master October 4, 2026 18:34
@PastaPastaPasta
PastaPastaPasta merged commit 8ec098b into master Oct 4, 2026
13 checks passed
@PastaPastaPasta
PastaPastaPasta deleted the feat/e8-accent-edge branch October 4, 2026 23:43
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.

1 participant