Conversation
…presets, micro-interactions
Backend:
- /groups/{id}/leave — removes the calling user from group_members
- /groups/{id}/delete — creator-only hard delete (CASCADE clears members + votes);
returns 403 for non-creators, 404 if group missing
- Groups now carry an optional event_date column (DATE, nullable);
ALTER TABLE applied to live Supabase; CREATE_TABLES_SQL updated for new envs
UI features:
- "When's the hangout?" date picker on Create Group; date chip on Plans cards
- 4 vibe presets on Set Prefs (Date / Brunch / Solo / Night) — one tap fills
categories + budget + distance + sample vibe text
- Front/back camera toggle on Memories
- Generated group avatars on Plans cards (hash → consistent brand color +
2-letter initials); replaces old member-dot strip
- Always-visible card action button: 🗑 (Delete) for creators,
↗ (Leave) for joined members
- Warmer empty-state copy (Plans + Memories)
- Viewport: dvh + safe-area-inset for iOS Safari address-bar issue
Micro-interactions (all best-effort, silently no-op where unsupported):
- Confetti burst on "We went →" (mounted at app root so it survives the
screen transition); also fires haptic + toast
- Count-up animation on venue/event tab labels (RAF, ease-out cubic)
- Haptic feedback on Yay (double-pulse) and Nahh (short tap)
- Toast notifications (global plotToast event, mounted ToastHost at root) —
wired into create / leave / delete / photo-saved flows
- Gold "coin shower" on BudgetChip taps — lightweight CSS radial-gradient
circles, GPU-composited via translate3d + will-change
All four interactive hosts (ToastHost, ConfettiHost, CoinShowerHost,
Count) live in components.jsx and mount once at app root via window
custom events; any code anywhere can fire them without React context.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Caught by GitHub Actions lint job on the previous commit. Auto-formatted by ruff; no logic changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings main in sync with the live UI. 7 files, +775/-71. Adds leave/delete group endpoints, event_date on groups (with applied Supabase migration), vibe presets, camera toggle, group avatars, confetti, haptic feedback, toasts, coin shower, warmer empty states.