Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(toolpath-desktop): inline browse view in New upload tabs#33

Merged
eliothedeman merged 1 commit into
mainfrom
eliot/nice-lamport-cc0a62
Apr 22, 2026
Merged

feat(toolpath-desktop): inline browse view in New upload tabs#33
eliothedeman merged 1 commit into
mainfrom
eliot/nice-lamport-cc0a62

Conversation

@eliothedeman
Copy link
Copy Markdown
Collaborator

Summary

  • Clicking a source tab (Claude Code, Pi.dev, Git, GitHub PR) on the New upload screen now renders the live browse view inline, replacing the previous description card + extra "Browse X →" click.
  • Each Browse component takes an embedded prop that drops its outer .page padding, back button, and duplicated page header so it nests cleanly inside Home.
  • Added idempotent ClaudeEnsureProjects, PiEnsureProjects, and GithubEnsureTokenStatus messages dispatched on mount. Previously the streaming project load / keychain probe rode on the NavigateTo handler — which never fires for an embedded component, so the Claude tab came up empty after the refactor.

Why

The old flow required two clicks (pick tab → click "Browse") and showed boilerplate copy in between. For a non-technical-user upload path, tabs should show the live data immediately.

Test plan

  • cargo tauri devNew upload, click Claude Code tab → session list populates from ~/.claude/projects/ without an extra click.
  • Switch between Claude / Pi / Git / GitHub tabs; each shows its native picker inline. Active tab highlights correctly.
  • Preview / Result tabs continue to work once sessions are selected and Preview → is pressed.
  • Standalone browse-* routes (if still reachable) render with their own header + back button (non-embedded default).

Verification run: bun run check → 0 errors; bun run build → succeeds.

Clicking a source tab (Claude Code, Pi.dev, Git, GitHub PR) on the New
upload screen now shows the live browse view directly, replacing the
prior description card and extra "Browse X →" click.

Each Browse component gets an `embedded` prop that skips its outer
`.page` padding, back button, and duplicated page header so it nests
cleanly inside Home. Added idempotent `ClaudeEnsureProjects`,
`PiEnsureProjects`, and `GithubEnsureTokenStatus` messages dispatched
on mount — previously the project-stream / keychain probe rode on the
`NavigateTo` handler, which never fired in the embedded flow.
@eliothedeman eliothedeman force-pushed the eliot/nice-lamport-cc0a62 branch from dea3961 to 09ca3a4 Compare April 22, 2026 15:53
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 22, 2026

🔍 Preview deployed: https://281be6d5.toolpath.pages.dev

@eliothedeman eliothedeman merged commit 7e35790 into main Apr 22, 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