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

Consider adding an initial dialog to enable haptic interactions #148

Open
jbphet opened this issue May 10, 2022 · 3 comments
Open

Consider adding an initial dialog to enable haptic interactions #148

jbphet opened this issue May 10, 2022 · 3 comments

Comments

@jbphet
Copy link
Contributor

jbphet commented May 10, 2022

We received some feedback in today's review meeting that the initial haptic vibration seemed a little delayed in the HTML5 prototype of some early vibrational haptics support. This is probably because of some sort of an auto-play policy, similar to what we've seen for sound, that prevents haptics from being activated until the user interacts with the web page.

If this continues to be a problem, we may want to add a dialog that says something like "Click here to activate vibrational haptics."

@jbphet jbphet self-assigned this May 10, 2022
@jbphet
Copy link
Contributor Author

jbphet commented May 10, 2022

I've assigned this to myself, but since it's a pretty significant UX change, I think I'll implement some other aspects of the haptics first, then have the team test it out and decide if it's a significant enough issue that we should add this dialog.

@jbphet
Copy link
Contributor Author

jbphet commented May 16, 2022

I was just testing haptic vibration using a Samsung Tab S7, and noticed that indeed, if I load the HTML5 version and start dragging a side or a vertex, no vibration is felt until I release it and do it again. This seems like it could be a problem for our testing. I think I might try adding a query parameter and a dialog and see how that works. If it's a reasonable experience, I'll run it by the design team.

@jbphet
Copy link
Contributor Author

jbphet commented May 17, 2022

I've added a dialog and put it behind a query parameter. The parameter is a flag named showInitialTouchDialog. I'll review this in the next quad+haptics meeting.

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

No branches or pull requests

3 participants