jerboa icon indicating copy to clipboard operation
jerboa copied to clipboard

Swipe upvote / downvote / click and hold

Open dessalines opened this issue 3 years ago • 5 comments

dessalines avatar Jan 21 '22 20:01 dessalines

I came here to open a feature request for users to be able to:

  1. swipe left on a post/card in the jerboa feed to downvote the post
  2. swipe right on a post/card in the jerboa feed to upvote the post

This functionality is what I'd expect with reddit clients, namely RedReader. Obviously, being able to use a swipe is a much better/faster way to interact with the post than clicking it, waiting for it to load, clicking the "up" button, and then clicking the "back" button.

Unfortunately, when I swipe left on the app today, nothing happens. If I swipe right, it opens the navigation menu.

There's no description for this issue, so I assume we're talking about the same thing?

As for the "click-and-hold", I don't know what that would do. But in RedReader it would open a submenu with the following options that can be tapped:

  1. upvote
  2. downvote
  3. save
  4. hide
  5. report
  6. reply
  7. view in external browser
  8. go to subreddit
  9. block subreddit
  10. pin subreddit to main menu
  11. unsubscribe from subreddit
  12. share
  13. share comments
  14. copy link
  15. user profile
  16. properties

I guess jerboa should implement a subset of these

maltfield avatar Jun 06 '23 15:06 maltfield

Another possibility that would work:

  • Tap once = upvote
  • Tap again, downvote
  • Tap again, remove vote.

I'd consider any of these solutions good enough.

dessalines avatar Jun 06 '23 16:06 dessalines

Tap again, downvote...Tap again, remove vote.

Sorry, I think that would be a bad UX. I think users would be constantly tapping and fighting and cursing.

If anything, taps should just be a toggle on and off. I think a 3+ circular toggle would be prone to error. I'm curious if any other apps do this? I know I'm biased, but I think the RedReader method is very intuitive and easy to do what you want to do (and difficult to not do what you don't want to do).

maltfield avatar Jun 06 '23 16:06 maltfield

I really like the idea (maybe because I'm a redreader user ;) ). There are some issues here about accidently clicking something wrong instead of opening the "thread". This would be a good solution and a better UX (my opinion ;) )

Other issues

https://github.com/dessalines/jerboa/issues/488 https://github.com/dessalines/jerboa/issues/418 https://github.com/dessalines/jerboa/issues/394

Maybe there are more but I'm on holidays and only have a smartphone with me. (too straining)

loadsas avatar Jun 11 '23 17:06 loadsas

  1. swipe left on a post/card in the jerboa feed to downvote the post
  2. swipe right on a post/card in the jerboa feed to upvote the post

This would be a great enhancement since the arrows are quite hard to tap on small screens. It would also free up precious screen estate.

... But in RedReader ...

I'd like to add to this, imho, very important point: RedReader's UX is extremely popular among users who need accessibility features to a point that Reddit exempted it from the upcoming API ban.

It's UI is very slick and can be configured to be ultra clean. It's worth imitating in every aspect.

heeplr avatar Jun 13 '23 08:06 heeplr

WIP. Liked that feature in sync. Can be easily implemented with swipetodismiss, will refactor it and create the PR

Haptic feedback is also implemented

I'm open to suggestions about colors, icons, moving some of the features to swipe to the right :)

Update: probably should be kept as is because swipe to the right is preserved for "go back to feed" if enabled in preferences otherwise UX won't be very intuitive

screen-20240120-125243~2_2

Snow4DV avatar Jan 20 '24 10:01 Snow4DV

@Snow4DV thanks for working on this :)

I'm open to suggestions about colors, icons, moving some of the features to swipe to the right :)

I really, really don't like the "swipe to right to both upvote and downvote"

If you go this route, please make it configurable in settings. Personally, I think it's most intuitive to have:

"left swipe" = downvote "left long swipe" = also downvote

"right swipe" = upvote "right long swipe" = also upvote

swipe to the right is preserved for "go back to feed"

this should also be able to be changed. And, imho, it should default to "upvote".

voyager

For example, consider how this was implemented in voyager

See also this ticket for implementing the Configurable gestures in voyager

  • https://github.com/aeharding/voyager/issues/64

Note I'm not suggesting we use the values in the screenshot above (even as defaults; I think they're terrible); I'm just showing how users can customize swipe actions to act as they want.

maltfield avatar Jan 20 '24 17:01 maltfield

Done now.

dessalines avatar Feb 10 '24 21:02 dessalines