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

Implement Shake to refresh #7071

Open
4 tasks done
keunes opened this issue Apr 8, 2024 · 1 comment
Open
4 tasks done

Implement Shake to refresh #7071

keunes opened this issue Apr 8, 2024 · 1 comment
Labels
Area: Accessibility Needs: Decision Proposal and most arguments are clear, but needs a verdict. Type: Feature request

Comments

@keunes
Copy link
Member

keunes commented Apr 8, 2024

Checklist

  • I have used the search function for OPEN issues to see if someone else has already submitted the same feature request.
  • I have also used the search function for CLOSED issues to see if the feature was already implemented and is just waiting to be released, or if the feature was rejected.
  • I will describe the problem with as much detail as possible.
  • This request contains only one single feature, not a list of multiple (related) features.

App version

3.3

Where did you get the app from

Google Play

Problem you may be having, or feature you want

From the forum

Since the “refresh” button is now housed in the overflow menu, it takes me a couple of extra swipes and taps, and to make it easier, I used MacroDroid to create a macro that refreshes a podcast when I shake my device.

Suggested solution

Suggested by user:

have “Shake to refresh podcast” option

  • Add option "Shake to refresh" under Settings > User Interface > Behavior
  • Add option "Detection threshold" right below the 'Shake to refresh' with a slider (see screenshot below for how Element implemented it) - only active if 'Shake to refresh' is on
  • If user shakes for the first time after a) this setting was introduced or b) the app was installed fro scratch, show a dialog with the following:
    • Title: Shake to refresh
    • Body: You seem to be shaking the phone. AntennaPod can refresh your podcasts when you do. Would you like to enable shake to refresh? You can always change this in the settings.
    • Options: Yes, No
  • If invoked, it applies the 'Refresh' action of the respective screen. I.e. when on a podcast's screen, it refreshes that podcast; when when on the Episodes screen, it refreshes all podcasts for which 'keep updated' is enabled.

Screenshots / Drawings / Technical details

Element's implementation (Kotlin-based):
https://github.com/element-hq/element-android/blame/develop/vector/src/main/java/im/vector/app/features/rageshake/RageShake.kt

Screenshot_20240408-082709 Screenshot_20240408-082656

@keunes keunes added Type: Feature request Area: Accessibility Needs: Triage The core team still needs to decide if this feature would get accepted labels Apr 8, 2024
@antennapod-bot
Copy link

This issue has been mentioned on AntennaPod Forum. There might be relevant details there:

https://forum.antennapod.org/t/mark-all-newer-older-episodes-as-played-after-selected-one-talkback-feedback/4236/19

@keunes keunes added Needs: Decision Proposal and most arguments are clear, but needs a verdict. and removed Needs: Triage The core team still needs to decide if this feature would get accepted labels Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Accessibility Needs: Decision Proposal and most arguments are clear, but needs a verdict. Type: Feature request
Projects
None yet
Development

No branches or pull requests

2 participants