Skip to content

toolpath-desktop: cartographic redesign#24

Merged
eliothedeman merged 2 commits intomainfrom
eliot/eloquent-ramanujan-69b9f3
Apr 20, 2026
Merged

toolpath-desktop: cartographic redesign#24
eliothedeman merged 2 commits intomainfrom
eliot/eloquent-ramanujan-69b9f3

Conversation

@eliothedeman
Copy link
Copy Markdown
Collaborator

Summary

Applies the Claude Design handoff bundle (Toolpath Desktop.html) to the Tauri frontend. Reskins every route in the cartographic "paper chart" design language — cream paper, contour-brown ink, Source Serif 4 + JetBrains Mono + IBM Plex Sans Condensed, hairline rules, §-numbered section labels.

What changed

  • New design system in styles.css: paper/ink/contour palette, fonts, and component classes (.window, .tabs, .section-label, .status-bar, .source-tabs, .row-card, .meta-table, .card-panel, .tag, .btn, .inspector, .empty, .preview-header, .preview-body). Legacy CSS aliases kept so the .path-graph / .pg-card styles from the html-card viz still resolve against the new palette.
  • Window chrome in app.svelte: title bar (three dots + tracked brand + centered route label + sheet code), primary tabs (New upload / Preview / Result), and a status bar.
  • Home.svelte is the split-wizard entry: sheet title + four source-type tabs (Claude Code / Pi.dev / Git / GitHub PR) + contextual card + three "NOTE" annotations.
  • BrowseAgents/Claude/Pi/Git/Github restyled with .row-card markers, .section-label, .card-panel, and the new button/tag primitives. IPC/TEA wiring (streaming project/session listeners, git branch loading, GitHub token flow) is unchanged.
  • Preview.svelte gets the derived-path header band (eyebrow, display title, stats, Validate tag, Export/Upload buttons), a two-column split with inspector + meta-table on the left and toggle toolbar + graph canvas + legend on the right. Preserves the upstream html-card viz (canvasEl, expandedBranches, PreviewToggleBranch).
  • Result.svelte matches the eyebrow/title/tag pattern with .meta-table for destination metadata.
  • Brand logos: new SourceLogo.svelte component with inline SVG marks for Claude (Anthropic "A"), Pi.dev (geometric π tile), Git, and GitHub. Used in the source-tabs and browse-row markers.
  • Dev-loop fix: .taurignore excludes frontend/ from the Tauri CLI's file-watcher so Vite HMR can hot-reload without restarting the Rust binary.
  • Assets: contour-texture.svg copied to frontend/public/ for the backdrop layer.

Test plan

  • cargo tauri dev — window renders with the paper palette and window chrome
  • Home source-tabs switch the intro card; "Browse …" buttons navigate to each flow
  • Claude / Pi project + session lists stream in, row-card markers show brand logos
  • Git branch list loads and selects; GitHub token flow works end-to-end
  • Preview shows header band + inspector + graph canvas; dead-end expand toggle works
  • Export → .path.json and Upload → pathbase.dev stub both land on the new Result screen
  • Edit a .svelte file during tauri dev — HMR reloads without the Rust process restarting
  • bun run check passes with no errors

Apply the Claude Design handoff (Toolpath Desktop.html) to the Tauri
frontend: cream paper palette, contour-brown ink, Source Serif 4 +
JetBrains Mono + IBM Plex Sans Condensed, hairline rules, §-numbered
section labels. Window chrome (title bar + tabs + status bar) wraps
every route; Home becomes a split-wizard entry with four source-type
tabs; Preview gets the derived-path header band, inspector meta-table,
and provenance canvas. IPC/TEA architecture unchanged.
Replace the unicode source glyphs (⊕●⎇◇) with inline SVG brand marks:
GitHub octocat, Git logo, Anthropic "A" for Claude, and a geometric π
tile for pi.dev (via the new shared SourceLogo component). Wire them
into the Home source-tabs and the Claude/Pi/Git browse-row markers.

Add .taurignore to exclude frontend/ from the Tauri dev watcher so
Vite HMR can hot-reload the Svelte app without restarting the Rust
binary on every edit.
@github-actions
Copy link
Copy Markdown

🔍 Preview deployed: https://0e59ed18.toolpath.pages.dev

@eliothedeman eliothedeman merged commit 4402d1c into main Apr 20, 2026
2 checks passed
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