Skip to content

Removal of disabled flag on Refresh button #636

@iarp

Description

@iarp

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions