Skip to content

feat(#141,#142,#143,#144): ETA countdown, alert feedback, request history, media attachments - #408

Open
DeFiVC wants to merge 2 commits into
Hel-Phone:mainfrom
DeFiVC:feat/issues-141-144
Open

feat(#141,#142,#143,#144): ETA countdown, alert feedback, request history, media attachments#408
DeFiVC wants to merge 2 commits into
Hel-Phone:mainfrom
DeFiVC:feat/issues-141-144

Conversation

@DeFiVC

@DeFiVC DeFiVC commented Aug 28, 2026

Copy link
Copy Markdown

Closes #141, Closes #142, Closes #143, Closes #144

Type of Change

  • New feature (non-breaking change that adds functionality)

Summary

Implements four frontend features for the HelPhone emergency response app:

  1. 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-nums font variant to prevent layout shift.

  2. Integrate sound and haptic feedback for critical alerts #142 — Sound & Haptic Feedback: useAlertFeedback hook with Web Audio API chime and navigator.vibrate haptic patterns. Triggers on new nearby requests in Offer mode. Settings toggles for both sound and haptic added to the profile panel.

  3. 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 FilteredRequestList component.

  4. 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

DeFiVC added 2 commits August 28, 2026 17:22
…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
@drips-wave

drips-wave Bot commented Aug 28, 2026

Copy link
Copy Markdown

@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! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant