Fix hover logic on touchables #104

Merged
sb10q merged 1 commits from esavkin/web2019:84-touch-ux-fix into master 2023-11-07 19:43:10 +08:00
Member
  • fix cards removal
  • fix cards progress bar overlay
  • fix cards warning overlay

Closes #84

* fix cards removal * fix cards progress bar overlay * fix cards warning overlay Closes #84
Owner

What do each of these "fixes" consist in exactly?

As I said before dragging the card out of the crate to remove it is fine behavior IMO. What did you replace it with?

What do each of these "fixes" consist in exactly? As I said before dragging the card out of the crate to remove it is fine behavior IMO. What did you replace it with?
Author
Member

What did you replace it with?

No replace, just buttons and warnings are now showing when clicked (on touch devices only), in similar way when hovered

As I said before dragging the card out of the crate to remove it is fine behavior IMO

Click is far easier and more accessible than drag. Also deleting by drag is hard to discover, and not really common way of doing this, meaning users will get stuck for a while, is not a good UX. In most cases (iOS, OneUI, AOSP launchers, Telegram Stories) I see there is at least an alternative way, in some cases it is not even an option (Microsoft ToDo, TaoBao). The only one I could find that forces to drag-only is Instagram stories.
No reason not to show a same button as on hover but on click so far.

> What did you replace it with? No replace, just buttons and warnings are now showing when clicked (on touch devices only), in similar way when hovered > As I said before dragging the card out of the crate to remove it is fine behavior IMO Click is far easier and more accessible than drag. Also deleting by drag is hard to discover, and not really common way of doing this, meaning users will get stuck for a while, is not a good UX. In most cases (iOS, OneUI, AOSP launchers, Telegram Stories) I see there is at least an alternative way, in some cases it is not even an option (Microsoft ToDo, TaoBao). The only one I could find that forces to drag-only is Instagram stories. No reason not to show a same button as on hover but on click so far.
Owner

What about the other questions?

What about the other questions?
esavkin force-pushed 84-touch-ux-fix from 34572c4ec6 to a5b217c183 2023-11-07 15:04:08 +08:00 Compare
Author
Member

What do each of these "fixes" consist in exactly?

  1. The removal button appears on card image being tapped for up to 2 seconds, dissapears once same or another card is being tapped.
  2. Cards progress bar and warning alert were replaced by OverlayTrigger, which can be triggered by both hover and tap, and can be closed by tapping outside and inside or leaving a mouse. OverlayTrigger is used in cards options anyway, and working better than in-house solution - it knows where the screen ends and repositions itself when needed, so the content is fully visible. The overlay itself is basically the same except position.
> What do each of these "fixes" consist in exactly? 1. The removal button appears on card image being tapped for up to 2 seconds, dissapears once same or another card is being tapped. 2. Cards progress bar and warning alert were replaced by `OverlayTrigger`, which can be triggered by both hover and tap, and can be closed by tapping outside and inside or leaving a mouse. `OverlayTrigger` is used in cards options anyway, and working better than in-house solution - it knows where the screen ends and repositions itself when needed, so the content is fully visible. The overlay itself is basically the same except position.
sb10q merged commit a5b217c183 into master 2023-11-07 19:43:10 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/web2019#104
No description provided.