gotify / server

A simple server for sending and receiving messages in real-time per WebSocket. (Includes a sleek web-ui)
https://gotify.net
Other
11.52k stars 639 forks source link

Do not allow deleting current client from GUI #677

Open searinminecraft opened 3 months ago

searinminecraft commented 3 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

You could accidentally delete your current client from within the GUI, logging you out in the process

Describe the solution you'd like A clear and concise description of what you want to happen.

There should be an indication that its your current client, and delete/hide the delete button.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

None

Additional context Add any other context or screenshots about the feature request here.

Concept:

image

jmattheis commented 3 months ago

I don't think we have to disable the delete button but highlighting the current session seems reasonable.