Depends on the apps/gittensory-miner-ui/ scaffold (sibling Phase 6 issue) landing first.
The data source is packages/gittensory-miner/lib/portfolio-queue.js's miner_portfolio_queue table: one row per (repo_full_name, identifier) with a priority, a status constrained to queued | in_progress | done, and enqueued_at (portfolio-queue.js:12,89-98) — already exposed via listQueue(repoFullName?) (:151-156). This view is summary cards (counts by status, optionally grouped by repo) over that existing store — no new persistence, no new ranking logic, purely a read + aggregate over what listQueue() already returns.
Deliverables
References
packages/gittensory-miner/lib/portfolio-queue.js:12,89-98,151-156 — the miner_portfolio_queue schema, statuses, and existing listQueue accessor this view summarizes.
- Sibling Phase 6 issue:
feat(miner-ui): scaffold apps/gittensory-miner-ui/ dashboard shell — hard dependency.
- Sibling Phase 6 issue:
feat(miner-ui): add read-only run-history table view — likely shares the same local data-access layer.
Depends on the
apps/gittensory-miner-ui/scaffold (sibling Phase 6 issue) landing first.The data source is
packages/gittensory-miner/lib/portfolio-queue.js'sminer_portfolio_queuetable: one row per(repo_full_name, identifier)with apriority, astatusconstrained toqueued | in_progress | done, andenqueued_at(portfolio-queue.js:12,89-98) — already exposed vialistQueue(repoFullName?)(:151-156). This view is summary cards (counts by status, optionally grouped by repo) over that existing store — no new persistence, no new ranking logic, purely a read + aggregate over whatlistQueue()already returns.Deliverables
queued/in_progress/done), and per-repo breakdowns if the cross-repo case (multiple repos in one local queue) is common enough to warrant it —portfolio-queue.js's schema already supports filtering byrepoFullName.listQueue()'s output client-side (or via the same local data-access layer the run-history view, sibling issue, introduces) rather than adding new queue-store methods, unless a dedicatedsummarize()-style helper turns out cleaner — if so, add it toportfolio-queue.jsitself rather than duplicating the aggregation in the UI layer.References
packages/gittensory-miner/lib/portfolio-queue.js:12,89-98,151-156— theminer_portfolio_queueschema, statuses, and existinglistQueueaccessor this view summarizes.feat(miner-ui): scaffold apps/gittensory-miner-ui/ dashboard shell— hard dependency.feat(miner-ui): add read-only run-history table view— likely shares the same local data-access layer.