Commit graph

181 commits

Author SHA1 Message Date
hippoz
9122434a36
frontend: improve channel switch latency by reducing reflows due to scroll-related getters 2022-04-24 20:14:04 +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
3668b45a30
frontend: separate more elements into different components 2022-04-23 01:06:04 +03:00
hippoz
6a1e89c288
frontend: remove debug function 2022-04-23 00:31:36 +03:00
hippoz
164545bb26
frontend: add placeholder color for message input 2022-04-22 23:34:02 +03:00
hippoz
9bfc645a32
frontend: improve messages container padding 2022-04-22 23:10:00 +03:00
hippoz
e552de269b
frontend: improve readability and css 2022-04-22 23:01:44 +03:00
hippoz
f7f536b318
frontend: preserve scroll position when loading more messages 2022-04-22 16:43:26 +03:00
hippoz
e19a3aa6cc
frontend: fix unnecessary requests being sent when switching between channels 2022-04-21 02:11:44 +03:00
hippoz
459b1c6703
frontend: show pending messages in a different color 2022-04-21 01:55:37 +03:00
hippoz
addfddd3ac
frontend: fix autoscroll breaking message loading 2022-04-20 17:53:20 +03:00
hippoz
e267ca4fc4
frontend: implement autoscroll 2022-04-20 17:49:31 +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
59145c3dc2
frontend/design: move border from channelview to sidebar 2022-04-17 21:32:11 +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
hippoz
01649150a4
frontend/design: lay out basic design and layout 2022-04-16 04:17:48 +03:00
hippoz
2466b91f52
frontend: very basic layout prototype 2022-04-15 02:39:13 +03:00
hippoz
1885653815
frontend: add basic gateway debug messages 2022-04-14 22:08:08 +03:00
hippoz
fdbf6c9839
frontend: fix reconnect timeout 2022-04-14 22:04:41 +03:00
hippoz
d21408ac63
frontend: gateway reconnect + add frontend directory to express server 2022-04-14 16:56:01 +03:00
hippoz
a9a4cdbb5c
add basic frontend modules to access the api 2022-04-14 02:12:38 +03:00
hippoz
3a81b952c4
initialize frontend 2022-04-14 00:31:03 +03:00