Commit graph

255 commits

Author SHA1 Message Date
hippoz
d2d985516c
frontend: show channel edit button when channel button is selected 2022-04-27 20:13:14 +03:00
hippoz
e0ba97deb3
frontend: add "send" button for small viewports 2022-04-27 20:12:04 +03:00
hippoz
f67909c8e7
frontend: fix message view not scrolling to bottom when re-selecting channel 2022-04-27 17:08:32 +03:00
hippoz
25b1ba653c
frontend: fix gateway reconnect 2022-04-27 17:08:19 +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
1f800b6d4c
frontend: fix error for 204 response 2022-04-26 23:57:06 +03:00
hippoz
b72a445e97
frontend: improve message component layout 2022-04-26 23:44:06 +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
66bdd7e06f
frontend: add message edit overlay 2022-04-26 23:15:49 +03:00
hippoz
82926ab172
frontend: add auth overlays 2022-04-26 22:45:40 +03:00
hippoz
706372716e
frontend: add maxlength and minlength to channel edit and create modals 2022-04-26 04:04:55 +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
2ab2899529
frontend: improve directory structure 2022-04-26 03:09:16 +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
fbc84a1659
frontend: add comments for each global.css section 2022-04-25 22:55:23 +03:00
hippoz
a8479ee549
frontend: slightly improve create channel modal 2022-04-25 22:53:40 +03:00
hippoz
131a270562
frontend: make "create channel" modal functional 2022-04-25 22:48:29 +03:00
hippoz
b1ff452732
frontend: start working on "create channel" modal 2022-04-25 18:47:27 +03:00
hippoz
6c3d6a09fb
frontend: make generic fullscreen message class 2022-04-24 21:31:22 +03:00
hippoz
a5ade22483
frontend: add "connecting" indicator 2022-04-24 21:29:25 +03:00
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