web parity: events-first Explore + notifications bell (match iOS)#300
Merged
Conversation
Bring the web (.web.tsx) screens in line with the recent native iOS UX. Fix 1 — Explore mobile-web (app/(tabs)/explore.web.tsx): Rebuild the MobileDiscoverFallback bottom sheet to mirror native explore.tsx (commits #289 + #299), events-first: - Drop the Events/Centers UnderlineTabBar tab model; the sheet now always shows events (search -> center dropdown -> Today/Going -> events list). - Replace the Center filter chip + FilterPickerModal with the in-sheet "Show events near <center>" dropdown: picking a center re-sorts events by distance (sort, never filter, so the list never empties); an "All centers" option (Globe) shows events everywhere; each row has a separate chevron button that opens that center's page. - Add a Create button in the filter row for logged-in users -> router.push('/events/form'). - Reuse the great-circle milesBetween ranking from native. Desktop layout (DiscoverScreenWeb) is preserved unchanged. Fix 2 — Notifications bell on web (app/(tabs)/_layout.tsx): Add a notifications Bell button to WebHeader next to the profile avatar for logged-in users -> router.push('/notifications'). The shared /notifications route + NotificationCenter (themed via useColors) render as-is on web. Quality gates: backend typecheck clean; 187/187 frontend tests pass. Co-Authored-By: Claude Opus 4.8 (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 web (.web.tsx) to parity with the native iOS UX wave. explore.web.tsx mobile-web → events-first sheet + center dropdown + Create button (mirrors explore.tsx #289/#299); WebHeader → notifications bell → /notifications (#296). Desktop layout unchanged. 187 FE tests green, typecheck clean. Smoke-verified on mobile-web (0 console errors).