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

Removal of disabled flag on Refresh button #636

Closed
iarp opened this issue Mar 11, 2024 · 0 comments
Closed

Removal of disabled flag on Refresh button #636

iarp opened this issue Mar 11, 2024 · 0 comments
Labels
a:feature New feature or request

Comments

@iarp
Copy link
Contributor

iarp commented Mar 11, 2024

Is your feature request related to a problem? Please describe.

Two scenarios:

  • I have gotify pinned as a browser tab so i get desktop notifications. If the browser closes for any reason and reopens it uses a cached page result which may or may not have notifications.
  • If I sleep my machine at some point and i know a notification came through (noise from phone) and boot back up, the notification list maybe blank

If no notifications are present then in both scenarios i need to fully refresh the tab. If a notification was present already either in the cached page or before i slept my machine, the Refresh button is enabled and i can click it.

Clicking on the Refresh seems to reconnect the page to the server without having to browser refresh.

Describe the solution you'd like

Remove disabled={!hasMessages} from the refresh button. Why disable the button in the first place?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:feature New feature or request
Development

No branches or pull requests

2 participants