Skip to content

Repository Manager UI: open folder, clone, recent, metadata (v0.0.6)#6

Merged
s1rry merged 1 commit into
mainfrom
feature/repo-manager-ui
Jul 4, 2026
Merged

Repository Manager UI: open folder, clone, recent, metadata (v0.0.6)#6
s1rry merged 1 commit into
mainfrom
feature/repo-manager-ui

Conversation

@s1rry

@s1rry s1rry commented Jul 4, 2026

Copy link
Copy Markdown
Owner

What

Sub-step 4c — the Repository Manager UI, completing the feature. No AI.

  • Open folder: native folder picker via tauri-plugin-dialog, then opens the project.
  • Clone: GitHub URL input with a busy ("Cloning…") state.
  • Recent projects: reopen on click, remove button, relative timestamps.
  • Project metadata panel: branch, commits, files, size, and a per-language breakdown with bars.
  • New features/repository slice (RepositoryView + components) with its own Zustand store; every backend call goes through the typed lib/ipc layer. Added isTauri() guard so the view is safe in a plain browser.

Verification

  • cargo fmt --check, clippy -D warnings, cargo build -p devpilot-desktop (with the dialog plugin): clean.
  • pnpm build (tsc strict + vite): clean, no any.
  • Rendered live in the Vite preview at 1280px: initial empty state, and a seeded state showing the metadata panel + language bars + recent list. Screenshots captured during development.

Live folder-open / clone runs against the real backend in pnpm tauri dev (the IPC + git2 path from 4a/4b is exercised end-to-end there).

This closes Repository Manager (4a backend, 4b wiring, 4c UI).

🤖 Generated with Claude Code

Completes the Repository Manager, no AI. RepositoryView feature slice:
open a local folder via the native dialog plugin, clone a GitHub repo by
URL with a busy state, browse recent projects (reopen, remove, relative
times) and view project metadata (branch, commits, files, size, language
breakdown). Backend access flows through the typed lib/ipc layer and a
dedicated Zustand store. Adds tauri-plugin-dialog (dialog:allow-open) and
@tauri-apps/plugin-dialog.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@s1rry s1rry merged commit 40d2db4 into main Jul 4, 2026
4 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