Commit graph

22 commits

Author SHA1 Message Date
hippoz
d3dff302c5
frontend: prevent accessing stores of channels that have not been loaded yet 2022-04-26 23:20:28 +03:00
hippoz
82926ab172
frontend: add auth overlays 2022-04-26 22:45:40 +03:00
hippoz
96da377e4e
frontend: fix error toast when the server returns no messages 2022-04-26 04:00:18 +03:00
hippoz
871ed87687
frontend: add "toast" system to tell the user of errors 2022-04-26 03:47:51 +03:00
hippoz
f17fd0174b
frontend: add channel editing 2022-04-26 03:01:21 +03:00
hippoz
240411ddd3
frontend: add props to overlay store 2022-04-25 23:02:15 +03:00
hippoz
b1ff452732
frontend: start working on "create channel" modal 2022-04-25 18:47:27 +03:00
hippoz
a5ade22483
frontend: add "connecting" indicator 2022-04-24 21:29:25 +03:00
hippoz
15e57c2372
frontend: improve logging 2022-04-23 23:07:46 +03:00
hippoz
2574e7e0e6
frontend: add username to top bar and improve paddings 2022-04-23 03:38:19 +03:00
hippoz
f7f536b318
frontend: preserve scroll position when loading more messages 2022-04-22 16:43:26 +03:00
hippoz
459b1c6703
frontend: show pending messages in a different color 2022-04-21 01:55:37 +03:00
hippoz
0d95b02401
frontend: send messages 2022-04-20 03:44:48 +03:00
hippoz
7260525eec
frontend: message loading
This command finalizes support for dynamic message loading. The behavior is as follows:
When a user selects a channel for the first time, an "initial load" of messages will happen.
When the user is scrolled all the way to the bottom of the message view,
the store will continuously remove old messages to save memory.
Scrolling all the way to the top loads more messages.
2022-04-20 03:14:28 +03:00
da7e57fe82 frontend: add experimental message loading and display support 2022-04-19 21:21:55 +03:00
hippoz
efae331f99
frontend: move value assignment into Store constructor 2022-04-19 02:22:32 +03:00
hippoz
ce4592c6c0
frontend: fix array index checks in channels store 2022-04-19 02:19:24 +03:00
hippoz
abdaa80d1a
frontend: simplify store code
This commit simplifies the store code by removing the _init method, and instead initializing
everything on instantiation. This leads to not missing events and less complexity.
2022-04-19 02:17:24 +03:00
hippoz
fea7d24166
frontend: allow users to select channels 2022-04-17 20:50:04 +03:00
hippoz
304cef3c11
frontend: add loading screen for initially loading the js and connecting to the gateway 2022-04-17 20:23:20 +03:00
hippoz
541464cdd9
frontend+backend: fix gateway-updated channel order 2022-04-17 17:56:03 +03:00
hippoz
381f1ae454
frontend: link up channel sidebar with gateway and fix channel button layout issue 2022-04-17 04:08:40 +03:00