QuantumBadger / QuantumBadger/RedReader
Cancellable fling actions
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.7k
- Forks
- 527
- Avg merge
- 20d 10h
- Merged PRs (30d)
- 3
Description
When flinging/swiping on items to vote, etc., the action is successful as soon as the threshold distance has been reached. This is contrary to basically every other app with swipe actions, including native android apps and this app's own pull-down-to-refresh feature.
The typical convention is for a fling/swipe action to be successful only if the item is released whilst past the threshold. If the item is returned towards its original position, goes back below the threshold, and then released, the action is cancelled.
Making this consistent with other apps would prevent having to perform corrective votes if a swipe is accidental or in the wrong direction.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the fling or swipe handling for items used to vote, then trace how the threshold and release events are processed. Done means crossing the threshold alone does not trigger the action, while releasing beyond it does and moving back below it before release cancels the action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100