Skip to content

TUI improvements (v0.2.9)#84

Merged
KaluJo merged 2 commits into
mainfrom
polish-cli-addictive
May 16, 2026
Merged

TUI improvements (v0.2.9)#84
KaluJo merged 2 commits into
mainfrom
polish-cli-addictive

Conversation

@KaluJo
Copy link
Copy Markdown
Collaborator

@KaluJo KaluJo commented May 16, 2026

v0.2.9 — TUI polish + test-coverage gap-fillers + a dedicated CI workflow.

Highlights

  • Header bar tests — render-to-text golden coverage for the brand/version/user/clock layout, plus a regression pin for the vv0.2.x doubling bug when CI passes a v-prefixed git tag through.
  • Golden CLI tests — exit-code matrix gap-fillers: pcr push without auth (code 10), pcr bundle --nonexistent-flag (clap usage 2), and pcr bundle --delete without a name (also 2).
  • cursor_ingestion smoke test — covers the cursor source end-to-end through ingestion → store.
  • db_migration smoke test — builds a v1-schema fixture DB, runs migrate_v1, and re-queries the resulting v2 DB to pin schema drift; depends on rusqlite as a dev-dep.
  • Fixture round-trip testsclaude_fixture_roundtrip + vscode_fixture_roundtrip using checked-in minimal .jsonl fixtures so parser regressions stop sneaking through.
  • CI workflow — new .github/workflows/ci.yml runs fmt --check, clippy -D warnings, cargo test, and a best-effort cargo doc on every PR to main and on every non-main push branch.
  • RELEASING.md — adds the protected-main note up front so future releases go through a PR instead of a direct push.
  • Addictive-grade UX polish (from 35c0a81):
    • pcr <cmd> --help renders the rich help.rs single-source-of-truth (purpose / when-to-use / examples / see-also / docs) so the line CLI matches pcr help's TUI.
    • pcr push close-out: ▲ pushed N prompts in K bundles · 2.1s with retry hint on failure.
    • pcr log drafts section: per-source color-coding, aligned HH:MM timestamps.
    • show TUI: vim-style y (yank id) and o (open URL); 1-row context strip with project · branch · drafts · last-pushed.
    • Unified close-out shape across init / bundle / pull / push ( + success tone + one-line next hint).

Version bumps

  • Workspace → 0.2.9
  • pcr-dev napi meta → 0.2.9 (+ all 4 optionalDependencies pinned)
  • All 4 napi subpackage manifests → 0.2.9
  • README dashboard mock header → v0.2.9

Verification

  • cargo fmt --all -- --check — clean
  • cargo clippy --workspace --all-targets -- -D warnings — clean
  • cargo test --workspace — 105 unit + integration tests pass

Tagging v0.2.9 after squash-merge fans out into lint → binaries → napi → npm-publish → release → homebrew per RELEASING.md.

KaluJo and others added 2 commits May 16, 2026 20:47
Lifts the CLI from "polished" to "fzf/gh/lazygit-tier daily driver" by
closing the at-a-glance and reward-the-user gaps the dashboard's polish
pass exposed:

- pcr <cmd> --help now renders the help.rs single-source-of-truth
  (purpose / when-to-use / examples / see-also / docs) so the line CLI
  matches what `pcr help` (TUI) has always shown.
- pcr push ends with `▲ pushed N prompts in K bundles · 2.1s` in success
  tone, with a next-step hint. Failures now print a retry hint too so
  flaky network leaves no dead air.
- pcr log drafts section groups by session, color-codes per source
  (cursor cyan / claude magenta / vscode yellow), and aligns HH:MM
  timestamps for scanability.
- show TUI gains vim-style `y` (yank focused draft/bundle id) and `o`
  (open the focused bundle's review URL or the draft's project page) on
  both panes, plus an updated `?` legend.
- show TUI grows a 1-row context strip under the header — project ·
  branch · pending drafts · last-push age — refreshed every 2s so users
  never have to bounce back to `pcr status` to remember where they are.
- pcr init / bundle / pull success lines now match the push close-out
  shape (▲ glyph + success tone + next-command hint) so every
  state-changing command exits on the same beat.

No new deps, no breaking flag or output changes (goldens pass), no
network protocol changes. cargo build / test / clippy / fmt all green.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@KaluJo KaluJo changed the title polish: addictive-grade close-outs + vim-yank + show context strip TUI improvements (v0.2.9) May 16, 2026
@KaluJo KaluJo merged commit 25aea4f into main May 16, 2026
2 checks passed
@KaluJo KaluJo deleted the polish-cli-addictive branch May 16, 2026 19:26
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