Skip to content

feat(ui): rename jobs table action to Select and make next-reward stat dynamic - #67

Merged
licette32 merged 1 commit into
mainfrom
fix/rename-take-job-and-next-reward
Aug 24, 2026
Merged

licette32 merged 1 commit into
mainfrom
fix/rename-take-job-and-next-reward

Conversation

@licette32

Copy link
Copy Markdown
Owner

Summary

Renames the Available Jobs row action from "Complete" to "Select" and
makes it a selection-only step. Follow-up to #55 (TechnicianDashboard
flow separation into direct/hand-off tabs).

Changes

  • The table row button no longer fires runCompleteMaintenance directly:
    it selects the job, opens the direct tab and smooth-scrolls to the
    Complete Maintenance card. Escrow release is now only reachable via
    "Complete & Get Paid", with evidence attached.
  • New label: "Seleccionar" / "Select" (techTakeJob).
  • Next-reward stat card was hardcoded to an em dash; now shows the first
    open job's reward plus open-jobs count, falling back to the empty state.

Testing

  • Manual: selecting from the table pre-selects the job in the card;
    completion and evidence flow unchanged.
  • Automated: tsc --noEmit green.

Notes

  • The old behavior (completing on-chain from a table click) was a
    safety hazard, not just a copy issue.
  • Follow-up: assigned-jobs badge + filtered dropdown (new issue filed).

…t dynamic (#55 follow-up)

- The Available Jobs row button fired runCompleteMaintenance directly,
  releasing escrow from an accidental table click. It now only selects
  the job, opens the direct tab and scrolls to the Complete Maintenance
  card, so the tx stays a single deliberate action with evidence.
- Relabeled the action to 'Seleccionar' / 'Select' (techTakeJob).
- The 'Next job reward' stat card was hardcoded to an em dash and a
  static subtitle; it now shows the first open job's reward plus the
  open-jobs count, falling back to the empty state.
@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
medovant-protocol Ready Ready Preview Aug 24, 2026 12:26am

@licette32
licette32 merged commit 7d88eff into main Aug 24, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 24da6aac Deployed Aug 24, 2026 by vercel[bot]
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