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

150ms delay on QR decode (iOS) #596

Open
Deleplace opened this issue Sep 30, 2024 · 1 comment
Open

150ms delay on QR decode (iOS) #596

Deleplace opened this issue Sep 30, 2024 · 1 comment
Labels

Comments

@Deleplace
Copy link
Collaborator

Current behavior:

  • Mobile successfully scans (decodes) the QR-code
  • Mobile vibrates (short)
  • Mobile shows the "next view" (either Success or Uploading)
  • Mobile notifies the backend
  • Backend notifies the frontend
  • Frontend acknowledges and display something (message, or thumb, or resource)

Suggested behavior:

  • Mobile successfully scans (decodes) the QR-code
  • Mobile notifies the backend
  • Mobile pauses for 150ms
  • Backend notifies the frontend
  • Frontend acknowledges and is ready to display something (message, or thumb, or resource)
  • Mobile vibrates (short)
  • Mobile shows the "next view" (either Success or Uploading)

Thus, by offsetting the duration of a few network hops, the visual feedback on the target and the haptic feedback on the mobile should happen roughly at the same time, making it feel instant.

@Deleplace
Copy link
Collaborator Author

Implemented:

  • vibration delayed 150ms

Not yet implemented:

  • Mobile notifies the backend immediately
  • View transition delayed 150ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant