Commit Graph

45 Commits

Author SHA1 Message Date
Jannis Mattheis 86285f4316 fix: upgrade mobx 2025-08-04 12:03:29 +02:00
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
Jannis Mattheis ca2d087569 fix: upgrade typescript 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
Leon Schmidt 12c7164f2e
Loading animations instead of "no messages" (#660) 2024-06-22 19:31:50 +00:00
iarp 02c9613ac1 change: removal of disabled flag from messages Refresh button 2024-03-11 15:14:39 -04:00
Tert0 2fce3bdcac Add priority colors 2022-10-21 20:39:50 +02:00
Tert0 3eb0467239 Fix bracketSameLine prettier 2022-10-08 15:19:20 +02:00
Tert0 17b9b52d95 Add delete confirmation dialog 2022-10-08 15:15:29 +02:00
Jannis Mattheis a23666aaf0 Fix too much whitespace on markdown message
Fixes #463
2022-01-12 19:00:05 +01:00
Jannis Mattheis 6b3467b1d7 Format 2021-12-04 21:14:27 +01:00
Jannis Mattheis 819a881557 Update ui deps 2021-06-19 09:39:15 +00:00
Jannis Mattheis 43c4eba0fa Update react-scripts & fix eslint 2021-04-16 17:42:45 +00:00
Kassim 346396fa83
Fix message overflow with big images 2021-03-27 13:01:28 +00:00
Jannis Mattheis 0d65ca6d3f TSLint -> ESLint 2020-09-12 14:19:43 +00:00
Jannis Mattheis e1a6847c84 Format 2020-05-08 15:16:43 +02: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 c9c6246c4c Properly close ui websocket connections on browser close 2019-11-28 21:39:47 +01:00
quthla dc741493b4 Fix web socket reconnect on web socket close (#242) 2019-11-28 20:01:23 +01:00
foxbit19 bdb6372235 Add refresh button to messages list
Fixes #171
2019-10-19 09:15:10 +02:00
Jannis Mattheis afbbb82199 Update @material-ui 2019-09-28 21:09:47 +02:00
Jannis Mattheis 147ff271f8 Use Record<string,*> instead of Record<number,*>
Objects in js are alwais indexed by strings.
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 62854d8e11 Show banner on network lost 2019-03-27 21:13:53 +01:00
Jannis Mattheis ba609d4e37 Do not logout clientside if a network error occurs 2019-03-27 21:13:53 +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 985c7cf870 Fix not receiving messages after deleting all 2018-11-11 21:03:42 +01:00
Jannis Mattheis 81d00cbd57 Remove console.log 2018-11-11 21:03:42 +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 42f1c34863 Show more info on web socket close 2018-11-11 21:03:42 +01:00
Jannis Mattheis b946ac2bc4 Clear all stores after logout 2018-11-11 21:03:42 +01:00
Jannis Mattheis 9d41520521 Clean up messages store 2018-11-11 21:03:42 +01:00
Jannis Mattheis 7370539fb4 Migrate browser notifications to new structure 2018-11-11 21:03:42 +01:00
Jannis Mattheis 6e629a9fc4 Move base store to common 2018-11-11 21:03:42 +01:00
Jannis Mattheis 98f6d59c9b Move current user to root folder 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