feat(#141,#142,#143,#144): ETA countdown, alert feedback, request history, media attachments - #408
Open
DeFiVC wants to merge 2 commits into
Open
feat(#141,#142,#143,#144): ETA countdown, alert feedback, request history, media attachments#408DeFiVC wants to merge 2 commits into
DeFiVC wants to merge 2 commits into
Conversation
…ent ETA countdown, alert feedback, request history, and media attachments - Hel-Phone#141: Add EtaCountdown component with real-time second-by-second timer replacing static ETA display in TrackingScreen and sidebar status badge - Hel-Phone#142: Add useAlertFeedback hook with audio chime (Web Audio API) and haptic vibration (navigator.vibrate), toggleable in profile settings - Hel-Phone#143: Add FilteredRequestList component with All/Active/Resolved/Cancelled filter tabs in MY REQUESTS section of the sidebar - Hel-Phone#144: Add image attachment input with client-side JPEG compression (canvas resize to 800px max, 0.8 quality) and preview with remove
|
@DeFiVC Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
Closes #141, Closes #142, Closes #143, Closes #144
Type of Change
Summary
Implements four frontend features for the HelPhone emergency response app:
Visualize ETA countdown timer for responders #141 — ETA Countdown Timer: Live second-by-second countdown replacing static "X min" display in both the TrackingScreen map overlay and the sidebar status badge. Uses
tabular-numsfont variant to prevent layout shift.Integrate sound and haptic feedback for critical alerts #142 — Sound & Haptic Feedback:
useAlertFeedbackhook with Web Audio API chime andnavigator.vibratehaptic patterns. Triggers on new nearby requests in Offer mode. Settings toggles for both sound and haptic added to the profile panel.Create request history view with filtering and search #143 — Request History Filtering: Filter tabs (All / Active / Resolved / Cancelled) added above the MY REQUESTS list. Extracted into a dedicated
FilteredRequestListcomponent.Enable photo and media attachments for emergency requests #144 — Photo/Media Attachments: File input with
capture="environment"for camera access, client-side JPEG compression via canvas (800px max, 0.8 quality), and inline preview with remove button in the request creation form.Motivation / Context
All four issues are P1/P2 frontend enhancements requested by maintainers to improve the emergency response UX: live ETA visibility, multi-sensory alerts for high-stress situations, request history review, and visual context sharing via photo attachments.
Closes #141, Closes #142, Closes #143, Closes #144