Skip to content

feat(frontend): add countdown timer for active booking sessions#1048

Open
mijinummi wants to merge 1 commit into
DistinctCodes:mainfrom
mijinummi:feat/994-booking-countdown-timer
Open

feat(frontend): add countdown timer for active booking sessions#1048
mijinummi wants to merge 1 commit into
DistinctCodes:mainfrom
mijinummi:feat/994-booking-countdown-timer

Conversation

@mijinummi
Copy link
Copy Markdown
Contributor

@mijinummi mijinummi commented May 30, 2026

🎯 Summary

Implements a reusable countdown timer component for active booking sessions.

The component:

Displays remaining time in HH:MM:SS
Updates every second
Turns red when 5 minutes or less remain
Calls onExpire() exactly once when the timer reaches zero
Properly cleans up intervals on unmount
Includes comprehensive Jest fake timer tests

All implementation is contained within frontend/cntr/.
Closes #994

Implements a reusable step progress component for onboarding and booking workflows.

The component provides:

Completed, current, and upcoming step states
Visual progress tracking across multi-step flows
Accessible step indicators
Responsive horizontal layout
Connecting progress lines between steps
Comprehensive test coverage

All implementation is isolated to frontend/cntr/.

closes #995

feat: add reusable CopyButton component with clipboard fallback

Closes #996

✓ File exists at frontend/cntr/ReferralWidget/ReferralWidget.tsx
✓ Imports CopyButton
✓ Shows referral code
✓ WhatsApp URL uses encodeURIComponent
✓ Email URL uses subject and body query params
✓ Has unit tests
✓ No backend changes
✓ All code contained within frontend/cntr/

closes #997

@vercel
Copy link
Copy Markdown

vercel Bot commented May 30, 2026

@mijinummi is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@mijinummi 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