Add the possibility to collapse notifications
Is your feature request related to a problem? Please describe. I have been using Gotify for the past couple of weeks and it has been serving me very well. The only minor annoyance I have, which is unrelated to Gotify, is the notifications I receive from my Proxmox backups. It is a very lengthy message because the logs are attached.
Describe the solution you'd like
The solution I was thinking about is adding the possibility to collapse the notification when it is longer than x characters. Ideally there would be a "view more" button that allows to show the collapsed contents.
Describe alternatives you've considered I have considered turning off Proxmox backup notifications altogether but unfortunately then I would lose the lion share of useful information.
👍, seems good, we can probably collapse after 20 or so lines.
Assuming this is in the Messages area of the UI, this one should be simple to implement using existing Material components. Please let me know if that is the case and I can submit a PR for it asap.
Yeah, it should be there. Additionally the height of the Message component has to be updated in the parent component when it's collapsed / uncollapsed. so that the virtual list works correctly.