Commit graph

43 commits

Author SHA1 Message Date
hippoz
954c5bd540
fix bogus "messages failed to load" after logging out 2022-08-03 02:46:48 +03:00
hippoz
6d76dec265
add initial concept of "superuser" accounts 2022-08-03 02:34:15 +03:00
hippoz
ec7de22dca
frontend: enforce valid overlays in overlaystore 2022-05-08 22:05:58 +03:00
hippoz
200f1005b9
frontend: prevent loading messages for channels with -1 as the id 2022-05-08 22:02:16 +03:00
hippoz
d1654546fa
frontend: housekeeping and clean up Store code 2022-05-07 04:04:54 +03:00
hippoz
e3b4e28428
frontend: add animation on/off setting 2022-05-07 03:45:09 +03:00
hippoz
a725e46ff0
frontend: add generic StorageItemStore 2022-05-07 03:36:27 +03:00
hippoz
704b35ae2b
frontend: add theme switching 2022-05-07 03:27:41 +03:00
hippoz
d837dbddb4
frontend: fallback to first channel if the selected channel cant be found 2022-05-06 02:56:22 +03:00
hippoz
0a17ea2ac6
frontend: save selected channel 2022-05-06 01:55:21 +03:00
hippoz
0198955f7d
frontend: extend debugging/plugin api 2022-05-05 21:49:25 +03:00
hippoz
144877e682
frontend: rework logging system 2022-05-05 20:52:35 +03:00
hippoz
b084de7ffc
frontend: make animations optional 2022-05-05 15:33:22 +03:00
hippoz
92ce055dd7
frontend: cleanup stores exports 2022-04-28 18:49:29 +03:00
hippoz
8539e4ab7c
frontend: cleanup 2022-04-28 18:48:44 +03:00
hippoz
7f3735502f
frontend: add unread indicator 2022-04-28 18:40:38 +03:00
hippoz
6cfac8a6aa
frontend: fix behavior when no channels are present 2022-04-27 23:41:50 +03:00
hippoz
34dc98af95
frontend: add simple settings menu 2022-04-27 22:03:51 +03:00
hippoz
24fb9feead
frontend: animate sidebar on small viewports 2022-04-27 17:03:35 +03:00
hippoz
1c87fa9758
frontend: automatically keep scroll position when viewport is resized 2022-04-27 15:44:50 +03:00
hippoz
2847cfcebc
frontend: inital steps for responsive design and mobile support 2022-04-27 05:03:47 +03:00
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