Skip to content

Fix UI glitches, notification duplication, and duplicate bids - #3

Merged
Gaurav598 merged 1 commit into
mainfrom
updates
Sep 22, 2026
Merged

Gaurav598 merged 1 commit into
mainfrom
updates

Conversation

@Gaurav598

Copy link
Copy Markdown
Owner

This PR resolves several critical UI and state management issues across the User and Rider applications to improve stability and UX.

Key Fixes:
Ride Completion / Rating Screen UI (Bug 5):

Refactored RatingScreen.tsx layout to use a single fluid container (KeyboardAvoidingView + flex: 1).
Removed the ScrollView that caused the primary CTA button to fall below the fold on smaller devices, keeping it safely pinned to the bottom.
Notification Popups Deduplication & Theme (Bug 7 & UI):

Implemented a robust deduplication logic in NotificationContext.tsx using useRef(new Set()). This ensures that even after a notification auto-hides after 5 seconds, duplicate events from the backend polling loop are ignored.
Restyled PopupNotifications.tsx in both FluxUser and FluxRider apps to follow the premium Flux Theme. Replaced the generic grey box with a sleek colors.bg background overlaid with CardGradient and a neon colors.accent shadow.
Duplicate Bid Submission via Polling (Available Bookings):

Fixed an issue where the AvailableBookingsScreen re-displayed bookings that the rider had already bid on, allowing duplicate bid placements.
Updated the riderSlice.ts reducers (setAvailableBookings and addBid) to automatically filter out bookings that exist in the myBids array.
Prevented currentIndex from resetting to 0 every 10 seconds during the backend polling interval, ensuring a smooth UX when skipping or interacting with bids.

@vercel

vercel Bot commented Sep 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
flux Ready Ready Preview Sep 22, 2026 7:50pm UTC

@Gaurav598
Gaurav598 merged commit 5957941 into main Sep 22, 2026
3 checks passed
@Gaurav598
Gaurav598 deleted the updates branch September 23, 2026 12:55

This branch was successfully deployed

1 active deployment
Preview — db9619eb Deployed Sep 22, 2026 by vercel[bot]
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