Skip to content

feat(dashboard): W8 cleanup — Team CTA, Update payment, Paused pill, pause/resume client#57

Merged
mastermanas805 merged 2 commits into
mainfrom
feat/w8-dashboard-coming-soon-cleanup-fresh
May 14, 2026
Merged

feat(dashboard): W8 cleanup — Team CTA, Update payment, Paused pill, pause/resume client#57
mastermanas805 merged 2 commits into
mainfrom
feat/w8-dashboard-coming-soon-cleanup-fresh

Conversation

@mastermanas805
Copy link
Copy Markdown
Member

Summary

  • Team CTA: "Coming soon" → real mailto:enterprise@ on MarketingPage + PricingPage (Team is sellable via enterprise@ today; multi-seat/RBAC UI flagged inline).
  • Update payment: BillingPage button now calls POST /api/v1/billing/update-payment and follows the Razorpay short_url; falls back to support mailto on error.
  • Paused state: 'paused' + 'reaped' added to ResourceStatus union; visible pill on ResourceDetailPage header + chip on ResourcesPage row.
  • Client helpers: pauseResource(id), resumeResource(id), updatePaymentMethod() exported.
  • ContractLine panel: expanded to surface the actual per-resource API contract (rotate-credentials, pause, resume, provision-twin, credentials, metrics — all live).

Test plan

  • npx tsc --noEmit clean
  • npm test — 431 passed, 3 skipped (pre-existing)
  • Manual smoke: visit /billing, click Update → confirm Razorpay short_url redirect
  • Manual smoke: pause a resource → confirm Paused pill renders + chip on list

- Team CTA: 'Coming soon' → mailto enterprise@ on Marketing + Pricing pages.
- Update payment method: wire BillingPage button to POST /api/v1/billing/update-payment
  (returns Razorpay short_url; falls back to mailto on error).
- Paused pill on ResourceDetailPage header + ResourcesPage row.
- ResourceStatus union expanded to include 'paused' and 'reaped'.
- pauseResource / resumeResource / updatePaymentMethod client helpers.
- ContractLines panel updated to reflect actual API surface.
@mastermanas805 mastermanas805 merged commit b079f6a into main May 14, 2026
2 checks passed
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