You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Addresses three issues with the boost feature:
- The actions dropdown used bg-popover, which has no theme token defined,
so the menu rendered transparent. Switched to bg-card (opaque).
- Boosting gave no success/failure indication. handleBoost now surfaces an
explicit dialog alert on both outcomes.
- Boosted gigs are now visibly distinct and prioritized: a "Boosted" badge
on the gig card + dashboard, and boosted gigs (within the 7-day window)
are pinned to the top of /gigs and /for-hire ahead of everything else for
the duration of the boost.
The /gigs and /for-hire listings previously sorted purely by created_at via
their own inline queries, so boosting had no effect there. Extracted that
into src/lib/gigs/fetch-gigs.ts, which applies the shared filters and, for
the default newest sort, pins active boosts on top (then the rest by
recency) with correct pagination. isGigBoosted()/BOOST_ACTIVE_MS added to
src/lib/boost.ts (window == cooldown == 7 days).
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments