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

notifications: add option to clear all notifications #2000

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KaffeinatedKat
Copy link
Contributor

I have added an action to dismiss all notifications in the notification viewer. You swipe left and it moves the notification to reveal a button that dismisses all of the notifications. If the menu is open and you swipe right it closes.

The button looks kinda jank currently. I really like the idea of swiping to reveal a button, but I don't know how to make it look good

image image

Copy link

github-actions bot commented Feb 2, 2024

Build checks have not completed. Possible reasons for this are:

  1. The checks need to be approved by a maintainer
  2. The branch has conflicts
  3. The firmware build has failed

@JustScott
Copy link
Contributor

@KaffeinatedKat What if you implemented a long press action that pops up your button in the middle of the screen?

@KaffeinatedKat
Copy link
Contributor Author

I thought about that, but I hate how inconsistent the long press action is detected, so I went with a swipe action because it's much more consistent

@minacode
Copy link
Contributor

minacode commented Feb 4, 2024

If we ever get to implement iOS notifications, we will need both left and right swipe to interact with them. Not super relevant right now, but there might be a conflict in the (far) future.

@KaffeinatedKat
Copy link
Contributor Author

how come? How are iOS notifications different from android ones?

@minacode
Copy link
Contributor

minacode commented Feb 4, 2024

Apple has its own BLE service 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants