Skip to content

Commit

Permalink
Notification: auto-dismiss while visible (#375)
Browse files Browse the repository at this point in the history
It detects if the tab is opened and trigger a timeout for 5 seconds.
After that time, the notification is hidden.

Eventually, we could use some nice effect, like fade out and stop the
timer while the pointer is over the notification -- but that't outside
the scope of this initial work.

![Peek 2024-09-18
20-17](https://github.com/user-attachments/assets/fa7faf18-76f2-4014-963b-c26693136ed6)


Closes #366
  • Loading branch information
humitos authored Sep 19, 2024
1 parent b5b1ffe commit 3525435
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 5 deletions.
Loading

0 comments on commit 3525435

Please sign in to comment.