Skip to content

feat(bounty): mirror hackathon organizer shell for bounties#678

Merged
Benjtalkshow merged 1 commit into
boundlessfi:feat/t-replacefrom
Benjtalkshow:feat/bounty-organizer-mirror
Jul 6, 2026
Merged

feat(bounty): mirror hackathon organizer shell for bounties#678
Benjtalkshow merged 1 commit into
boundlessfi:feat/t-replacefrom
Benjtalkshow:feat/bounty-organizer-mirror

Conversation

@Benjtalkshow

Copy link
Copy Markdown
Collaborator

What

Brings the bounty organizer experience in line with the hackathon organizer pages — persistent management sidebar, an analytics Overview, a full settings surface, and hackathon-style cards.

Changes

Management shell

  • BountyManageSidebar (new) — persistent sidebar that replaces the general org sidebar on bounty management routes (wired in organizations/layout.tsx, same mechanism as the hackathon sidebar). Fixed desktop + mobile sheet.
  • BountySelector (new) — bounty switcher dropdown at the top of the sidebar (switch bounties / new bounty), mirroring the hackathon selector.
  • BountyManagementDashboard — horizontal tabs removed; sections are driven by the sidebar via ?tab=. Settings tab removed (moved to its own page).

Overview = analytics dashboard

  • BountyOverviewPanel (new) — mirrors the hackathon overview: an Analytics section (intake stat cards + trend chart cards) and a lifecycle Timeline, plus the details/prize-tier cards. (Trend charts show an empty state pending a bounty analytics/trends endpoint.)

Settings page

  • /organizations/[id]/bounties/[bountyId]/settings (new) — standalone page with the sidebar and tabs (General · Rewards · Timeline · Close-out).
  • BountyGeneralSettingsTab (new) — editable form covering every off-chain Configure field: scope (title / description / category) and submission + application controls (visibility, required fields, reputation minimum, application window, max applicants, shortlist size), shown conditionally by mode. Saves via the off-chain organizer PATCH.
  • Rewards / Timeline stay read-only (on-chain: reward amount, prize tiers, escrow deadline) with a "locked after funding" notice.
  • Close-out — cancel/refund + archive, moved out of the dashboard. Cancel buttons rendered solid red.

Organizer cards

  • Published cards mirror the hackathon card: hover Settings + Remove actions and a submission count; card click → the dashboard.
  • RemoveBountyDialog (new) — confirmation modal: archives a completed/cancelled bounty (soft-delete, recoverable) or routes to cancel/refund for a live one. Nothing is ever hard-deleted on-chain.

Constraints honored

  • Off-chain edits only: editable settings are limited to backend-stored fields; on-chain values (rewards, prize tiers, escrow deadline, mode) are read-only.
  • The off-chain edit save + a few wizard fields not exposed by the public read (country / GitHub issue / resources) depend on a backend endpoint — tracked in boundlessfi/boundless-nestjs#373. The form is fully wired and lights up when that lands.

Verification

  • tsc --noEmit — 0 errors.
  • eslint . — clean.

Bring the bounty organizer surface in line with the hackathon one:

- Persistent management sidebar (replaces the general org sidebar on
  bounty management routes) with a bounty switcher dropdown and section
  nav; wired via the organizations layout.
- Overview becomes the analytics dashboard: intake stat cards, trend
  chart cards, details/prize tiers, and a lifecycle timeline.
- Standalone settings page with a bounty switcher sidebar and tabs.
  General tab is an editable form covering every off-chain Configure
  field (scope + submission/application controls); rewards, prize tiers
  and the escrow deadline stay read-only (on-chain). Cancel/refund +
  archive move here as Close-out.
- Organizer cards mirror the hackathon card: hover Settings + Remove
  actions and submission count. Remove opens a confirmation modal that
  archives a closed-out bounty or routes to cancel/refund for a live one.
- Cancel buttons rendered solid red.
@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

@Benjtalkshow is attempting to deploy a commit to the Threadflow Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2f0ff571-150b-448f-8200-ecb8c2609282

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Benjtalkshow Benjtalkshow merged commit 838a12b into boundlessfi:feat/t-replace Jul 6, 2026
1 of 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