-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programarchitectureblockedfrontendFrontend developmentFrontend developmenthelp wantedExtra attention is neededExtra attention is neededtanstack-query
Description
Depends on: #100
The backend has three submission-related mutations (submitToBounty, reviewSubmission, markSubmissionPaid) that have no corresponding frontend hooks yet.
Tasks
- Create
hooks/use-submission-mutations.tswith:useSubmitToBounty()— callssubmitToBountymutationuseReviewSubmission()— callsreviewSubmissionmutationuseMarkSubmissionPaid()— callsmarkSubmissionPaidmutation
- Each hook should invalidate the relevant bounty detail query on success
- Add submission query key factory to
lib/query/query-keys.ts - Wire the hooks into existing or new UI (bounty detail page's submission section)
Acceptance Criteria
- Users can submit PRs to bounties via GraphQL
- Org members can review and mark submissions as paid
- Bounty detail cache refreshes after submission actions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programarchitectureblockedfrontendFrontend developmentFrontend developmenthelp wantedExtra attention is neededExtra attention is neededtanstack-query