feat(miner-ui): adopt chart and pagination on the portfolio route (#6831) - #6927
Conversation
…ualization (JSONbored#6831) - Introduced pagination for the per-repo and queue-actions tables, ensuring they only paginate when exceeding 20 rows. - Added a horizontal bar chart to visualize queue status counts, improving the UI's data representation. - Updated tests to cover new pagination behavior and chart rendering, ensuring accurate functionality and user experience. Closes JSONbored#6831
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-17 13:56:43 UTC
Review summary Nits — 5 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. Visual preview
Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|

Summary
ChartContainer, and client-sidePaginationon the per-repo and queue-actions tables (Miner dashboard: portfolio route skeleton/chart/pagination adoption #6831).StateBoundaryasync-state primitives; leaveportfolio-queue/portfolio-queue-actionsfetchers and release/requeue wiring untouched (restyle-only).Closes #6831
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lint— eslint on changed miner-ui files: 0 errors (Prettier-formatted)npm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
apps/loopover-miner-ui(outside Codecovsrc/**patch gate). Rannpm --workspace @loopover/ui-miner run test(full suite green) and scoped eslint/prettier on the three changed files. Broadertest:ci/ui:typecheck/ui:buildstill to run before push.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
Notes
PAGE_SIZE = 20, default sort then page, no interactive column headers.