Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add haptic feedback #62

Merged
merged 2 commits into from
Jul 18, 2024
Merged

Add haptic feedback #62

merged 2 commits into from
Jul 18, 2024

Conversation

GovernmentPlates
Copy link
Member

This PR adds haptic feedback (vibrations) to the PWA when a check-in is successful or unsuccessful (user already checked-in). This feature can also be added to other parts/functions of app interactions in the future.

Copy link
Member

@tomasr8 tomasr8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are also some warnings about missing dependencies for useEffect and useCallback

src/pages/Settings.tsx Outdated Show resolved Hide resolved
src/utils/haptics.ts Outdated Show resolved Hide resolved
Copy link

📝 Lighthouse report

@tomasr8 tomasr8 merged commit 10cb387 into indico:master Jul 18, 2024
1 check passed
@GovernmentPlates GovernmentPlates deleted the haptics branch July 22, 2024 18:27
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.

2 participants