Skip to content

feat: flow metrics scoreboard + first-run convert hero (PK-1…PK-5) - #4

Merged
harshabala merged 4 commits into
masterfrom
feat/flow-metrics-2026-07
Oct 11, 2026
Merged

harshabala merged 4 commits into
masterfrom
feat/flow-metrics-2026-07

Conversation

@harshabala

Copy link
Copy Markdown
Owner

Summary

Implements portfolio flow+metrics for parsekit (P0), while IntentLock is handled elsewhere.

Task map

ID What
PK-1 First-run hero: convert one file → token savings; onboarding points at convert
PK-2 Batch scoreboard: this batch + today + all-time; banner period includes today
PK-3 Job outcomes (last 20 jobs, local counts) + partial/fail copy
PK-4 Optional destination prompt after first success (skip ok)
PK-5 Privacy strips: “Stored only on this device…”
Docs Dual README (Start here / For technical users) + docs/TASKS.md

Metrics (local-only)

  • Activation: first_successful_convert_with_token_estimate (src/lib/activation.ts)
  • Storage: Tauri settings + existing token_stats; no paths in job outcomes
  • No cloud analytics

Verify

npm test   # 53 pass
npm run check  # 0 errors

Security notes

  • Destination + outcomes are local preferences/counts only
  • No new network egress for metrics
  • Token estimate remains honest estimate (method copy on scoreboard)

harsha balakrishnan added 4 commits July 10, 2026 15:02
Add local activation constant, job success-rate history, post-convert
BatchScoreboard (this batch / today / all-time), optional destination
prompt, first-run hero copy, dual-section README, and docs/TASKS.md.
Token banner period includes today. Privacy copy on all stats surfaces.
Hierarchy (hero number first), progressive disclosure for estimate/privacy,
chip destinations with press scale, soft material tones, reduced-motion and
reduced-transparency, display tracking on the hero numeral.
Document design system; remove side-tab accent and ghost-card elevation;
align BatchScoreboard to tokens; persist critique snapshot and pipeline log.
@harshabala
harshabala merged commit b6e7c5a into master Oct 11, 2026
1 check passed
@harshabala
harshabala deleted the feat/flow-metrics-2026-07 branch October 11, 2026 10:23
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