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

Cursor amongst different devices #3

Open
LuchoTurtle opened this issue Oct 21, 2022 · 2 comments
Open

Cursor amongst different devices #3

LuchoTurtle opened this issue Oct 21, 2022 · 2 comments
Labels
discuss Share your constructive thoughts on how to make progress with this issue

Comments

@LuchoTurtle
Copy link
Member

Currently, the cursor is calculated on the screen percentage, which should translate into a smooth experience across devices (desktop, tablets). So there isn't a concern there, since calculations are being made on the client's side viewport and sending it over to Phoenix's server.

A few questions arise, though:

  • is this feature redundant in mobile devices? People using touch screens will just tap and the scroller will just show randomly on the desktop view.
  • what happens if the page is scrollable? How will tracking occur here? (calculations will be different)

Just wanted to open this out there =)

@LuchoTurtle LuchoTurtle added the discuss Share your constructive thoughts on how to make progress with this issue label Oct 21, 2022
@nelsonic
Copy link
Member

@LuchoTurtle thank you very much for opening this issue to capture the discussion on this! 👌

Hopefully the UX demo I gave during standup this morning was clarifying of where we see this feature going in the future. But for anyone else curious about this, I've opened an issue to 'splain: dwyl/app#295

Quick answers to your specific questions:

  1. It's definitely not "redundant" on mobile devices. It's less useful for Smartphone because there isn't a concept of a cursor on most of them with the exception of those with a Stylus. But on iPad (or other tablets) there is a "pencil" (or other stylus) for which we can capture movements. And on a Smartphone without a Stylus, we can still capture tap, scroll and drag+drop events which can then be recorded for replay-ability. On a Smartphone we will show the cursor of any other person who has a cursor. i.e. any colleagues using a Desktop 🖥️

  2. Pages will inevitably be scrollable once there are 10+ items. For this we need to capture what is visible in the viewport. This is way beyond the scope of the current tutorial, but if you want to dive into it, please open a new issue.

@tal32123
Copy link

tal32123 commented Dec 7, 2023

I used the demo and on different window sizes it does not show the cursor location properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Share your constructive thoughts on how to make progress with this issue
Projects
None yet
Development

No branches or pull requests

3 participants