Commit Graph

21 Commits

Author SHA1 Message Date
Jannis Mattheis 85d10bfa40 fix: migrate to react virtuoso & FC
Co-authored-by: Matthias Fechner <matthias@fechner.net>
2025-08-04 12:03:29 +02:00
Jannis Mattheis 54f6de1768 fix: upgrade mui 2025-08-04 12:03:29 +02:00
Jeremy Gooch c1cb2e855a
feat: collapse big messages (#810)
* Updating Message component to add ability to collapse long running messages. Height is broadcast out to parent on height toggle.

See: https://github.com/gotify/server/issues/790

* Cleanup of the Message component including simplifying the read-more expand/collapse functionality.

* fix: cleanup & properly updating the height

---------

Co-authored-by: Jannis Mattheis <contact@jmattheis.de>
2025-07-06 11:07:57 +00:00
Tert0 2fce3bdcac Add priority colors 2022-10-21 20:39:50 +02:00
Jannis Mattheis a23666aaf0 Fix too much whitespace on markdown message
Fixes #463
2022-01-12 19:00:05 +01:00
Jannis Mattheis 819a881557 Update ui deps 2021-06-19 09:39:15 +00:00
Kassim 346396fa83
Fix message overflow with big images 2021-03-27 13:01:28 +00:00
Yasa Akbulut e6bd7c03dd Make Message cards responsive
On breakpoints smaller than 'sm', the date of the message will wrap
to a new line; and the image will be 32x32 instead of 70x70
2020-03-22 10:02:24 +01:00
PSSGCSim 6dc783d99d Break long words in webui 2019-12-14 15:16:21 +00:00
Jannis Mattheis afbbb82199 Update @material-ui 2019-09-28 21:09:47 +02:00
Jannis Mattheis d302940da6 Initialize with null 2019-09-28 21:09:47 +02:00
Jannis Mattheis 6138d7ad92 Implicit import interfaces 2019-09-28 21:09:47 +02:00
Jannis Mattheis 2ad7409750 Use extra property to determine the content type 2019-04-13 10:14:35 +02:00
Jannis Mattheis e9bbe17fa4
Allow markdown in messages (#180) 2019-03-30 11:08:51 +01:00
Jannis Mattheis 144f5fb8e4 Prevent 'still loading' image requests 2019-03-16 22:59:46 +01:00
饺子w ec5b1f8c30 Support reverse proxy with path rewrite (#127) 2019-02-13 18:47:48 +01:00
Jannis Mattheis 141193136d Show newlines in Web-UI 2018-11-14 21:06:00 +01:00
Jannis Mattheis 31dd466c6b Fix messages test 2018-11-11 21:03:42 +01:00
Jannis Mattheis 1a9132e5a0 Remove usage of react-infinite-any-height
This module uses the index as key, this is bad, because we have a real
id for identifying messages.
see https://reactjs.org/docs/lists-and-keys.html
2018-11-11 21:03:42 +01:00
Jannis Mattheis d4d7dfefa4 Rename component to common 2018-11-11 21:03:42 +01:00
Jannis Mattheis b8c6fb6380 Move message stuff into own folder 2018-11-11 21:03:42 +01:00