feat(bounty): management dashboard shell + overview (#630)#667
Conversation
Regenerate the OpenAPI schema against v2 to pull the new organizer DTOs (BountyOperateOverviewDto, OrganizerBountySubmissionDto, BountyAnnouncementDto, etc.). Drop applicationCreditCost from the bounty publish request body; the backend removed it from PublishBountyEscrowDto and now applies it server-side from the draft.
Add the per-bounty organizer management hub at /organizations/[id]/bounties/[bountyId]: a tabbed shell (Overview, mode-aware Applications, Submissions, Payout & Winners, Settings) with the status + mode header, and an Overview tab that consumes the operate-reads endpoint (boundlessfi#338) for intake stats, deadlines, and prize tiers. Non-overview tabs are placeholders for the follow-up issues (boundlessfi#631-boundlessfi#634).
|
@Benjtalkshow is attempting to deploy a commit to the Threadflow Team on Vercel. A member of the Team first needs to authorize it. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- link published bounty cards on the org list to the management hub - wrap the manage route in AuthGuard and use the org-section container - fetch the overview via apiClient/unwrapData instead of a local axios unwrap - share bountyStatusClass between BountyCard and the dashboard - lift ordinal() into lib/utils (dashboard, BountyDetail, RewardTab) - type useParams and drop the redundant retry: false Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Closes #630. First FE issue of the Bounty Operate to Payout milestone (#638) — the per-bounty organizer management hub, consuming the backend operate-reads endpoint (#338, merged on v2).
What
/organizations/[id]/bounties/[bountyId]— the management hub for a published bounty.GET .../overview.getBountyOverviewclient +useBountyOverviewhook, typed against the generatedBountyOperateOverviewDto.Codegen
Includes a codegen refresh (first commit) pulling the new v2 organizer DTOs (
BountyOperateOverviewDto,OrganizerBountySubmissionDto,BountyAnnouncementDto, …) — the #637 codegen step, done here so this and the following FE issues type against the real backend.Verification
tsc0 errors,eslintclean. Overview validated live against the running v2 backend.Notes