Skip to content

Miner dashboard chat: portfolio action-dispatch #6838

Description

@JSONbored

Context

Part of epic #6504's chat track, blocked on the action-dispatch scaffolding child issue of this same epic. Portfolio release/requeue already has a real API route (/api/portfolio-queue/{release,requeue}, wired from apps/loopover-miner-ui/src/lib/portfolio-queue-actions.ts and portfolio.tsx:97-162's existing buttons) — this issue wires chat to call that same, already-existing route.

Requirements

  • Wire chat's action-dispatch layer (from the scaffolding child issue) to call the existing /api/portfolio-queue/{release,requeue} routes — never a new or parallel route.
  • No changes to the existing route or button-triggered flow.

Deliverables

  • Chat wiring to the existing portfolio release/requeue routes
  • Test coverage

Test Coverage Requirements

99%+ Codecov patch coverage on every changed line and branch, plus a regression test for the new/changed behavior (note: apps/** UI code may fall outside the strict Codecov patch gate — check coverage.include — but a before/after screenshot table per this repo's UI-PR convention is still required for any visual change).

Expected Outcome

Chat can trigger portfolio release/requeue through the exact same governed endpoint the dashboard buttons already use.

Links & Resources

Epic: #6504. Blocked by the "action-dispatch scaffolding" issue in this same epic. apps/loopover-miner-ui/src/lib/portfolio-queue-actions.ts, apps/loopover-miner-ui/src/routes/portfolio.tsx:97-162.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is needed

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions