Commit graph

230 commits

Author SHA1 Message Date
hippoz
d14b0c4282
add action system and move message sending to it 2022-09-28 16:45:16 +03:00
hippoz
bd16ec07fe
add plugin and custom style system 2022-09-27 16:22:00 +03:00
hippoz
52cc76f676
display channel name in title 2022-09-24 17:07:50 +03:00
hippoz
28ed386228
improve buttons 2022-09-21 00:13:13 +03:00
hippoz
9635491897
fix toasts on login screen 2022-09-21 00:10:41 +03:00
hippoz
4b0ddb9e23
improve modal animations 2022-09-20 23:59:17 +03:00
hippoz
b1c64d3f58
fix presence sidebar alignment 2022-09-20 23:49:34 +03:00
hippoz
73fd353965
fix webkit bug with input labels 2022-09-20 23:39:16 +03:00
hippoz
7e1da02089
reduce selectability of some elements 2022-09-20 23:36:12 +03:00
hippoz
ac2a231045
further improve time separator 2022-09-20 23:20:06 +03:00
hippoz
268a654617
optimize messages list computation 2022-09-20 23:15:27 +03:00
hippoz
63c2a80816
fix message list recomputation 2022-09-20 23:03:28 +03:00
hippoz
265af195da
show date marker at start of channels 2022-09-20 22:52:41 +03:00
hippoz
15cdf8033b
improve time separator 2022-09-20 22:50:18 +03:00
hippoz
cb0a7330b6
make sure responsive handlers are initialized before gateway settlement 2022-09-20 18:19:11 +03:00
hippoz
3bde9249c7
add sidebar to initial html to reduce layout shifts 2022-09-20 18:18:51 +03:00
hippoz
9f5d51962c
set default viewport size css variables 2022-09-20 18:18:15 +03:00
hippoz
b58c7b4604
disable livereload 2022-09-20 18:17:57 +03:00
hippoz
5aaaf56380
add debug logging to autoscroll and experiment with using microtasks 2022-09-20 01:56:34 +03:00
hippoz
10d25445c5
general visual improvements 2022-09-20 01:35:54 +03:00
hippoz
f3221321d8
improve store implementation and fix style tag leak by updating svelte 2022-09-20 01:35:36 +03:00
hippoz
93cfb10787
fix unsubscribe bug in store 2022-09-18 01:46:09 +03:00
hippoz
14a98d7eb1
switch to material design icons from feather icons
This should improve the visuals of the app. Additionally, it may improve the performance as well.
2022-09-18 01:41:59 +03:00
hippoz
80ab321103
further optimize message rendering 2022-09-17 23:44:46 +03:00
hippoz
595b6ac1f2
clean up presence sidebar 2022-09-17 23:07:09 +03:00
hippoz
802178ca67
fix message clumping 2022-09-06 22:03:41 +03:00
hippoz
19fb448d2a
prevent messages from cutting off on small viewports 2022-09-06 21:52:45 +03:00
hippoz
e3e1b9ddad
greatly improve performance 2022-09-06 20:52:44 +03:00
hippoz
10c851c679
"clump" messages send from the same author within 100 seconds 2022-09-03 21:39:12 +03:00
hippoz
82452e77b6
display dates 2022-09-03 20:46:27 +03:00
hippoz
5ea8cc62cd
move "become superuser" action into the debug menu 2022-09-03 17:40:54 +03:00
hippoz
4c9e321167
greatly overhaul overlay system 2022-09-03 17:30:39 +03:00
hippoz
d8552c0328
fix unread indicator offset 2022-09-03 13:04:53 +03:00
hippoz
7b9379732e
significantly improve unread system 2022-09-02 22:07:08 +03:00
hippoz
81e9de6cd8
user a different method of detecting scroll, hopefully fixing ios webkit scroll 2022-09-02 19:13:10 +03:00
hippoz
476a36b79a
remove webkit hack 2022-09-02 16:47:42 +03:00
hippoz
9ea7c32bfd
add workaround for old webkit 2022-09-02 15:25:47 +03:00
hippoz
254bec0a48
stop using visualviewport, because it made things worse 2022-09-02 15:13:25 +03:00
hippoz
56487d1359
don't automatically focus message input on mobile 2022-09-02 15:08:47 +03:00
hippoz
ae7875955a
use visualviewport instead of innerheight 2022-09-02 14:47:53 +03:00
hippoz
8b14ff2c96
add simple debug prompt to make it easier to debug on mobile devices 2022-09-02 13:40:59 +03:00
hippoz
6a962f2fba
fix setMessageInputEvent being called initially 2022-09-02 12:35:33 +03:00
hippoz
5072ea5ab5
change viewport size justification to use a javascript solution 2022-09-02 12:33:09 +03:00
hippoz
96066a1345
change color of messages containing mentions once again 2022-09-01 22:40:31 +03:00
hippoz
c84d95d0e3
finally make consistent focus ring for messageinput 2022-09-01 21:07:53 +03:00
hippoz
1c8d2838c4
lower alpha of background of mentions 2022-09-01 20:53:57 +03:00
hippoz
8bb4efb638
make messages cut off less on smaller viewports (still not fully fixed) 2022-09-01 20:49:55 +03:00
hippoz
186fcb1779
change color of messages containing mentions 2022-09-01 20:45:01 +03:00
hippoz
45537347f3
highlight messages in which the user is mentioned 2022-09-01 20:10:27 +03:00
hippoz
74cd9cd06e
add placeholder janky reply button 2022-09-01 19:56:19 +03:00
hippoz
0a37d64c77
fix selector 2022-09-01 19:35:03 +03:00
hippoz
cdb4e02413
fix autoscroll not working in certain cases 2022-09-01 19:21:10 +03:00
hippoz
884fec6c5f
hopefully fix mobile viewport issues 2022-09-01 18:25:21 +03:00
hippoz
ec71cea0dd
remove maxlength from edit message 2022-09-01 16:39:46 +03:00
hippoz
5d18c631d7
improve html meta 2022-09-01 15:33:26 +03:00
hippoz
90eb1bfb7a
blindly attempt to work around webkit bug preventing websocket connection 2022-08-31 22:59:11 +03:00
hippoz
c549823e37
remove input length constraints for prompt 2022-08-31 20:19:47 +03:00
hippoz
15d22f261c
add "request key" mechanism to protect resources such as auth 2022-08-31 17:12:50 +03:00
hippoz
0c6c88f7f5
improve handling of themes 2022-08-31 16:12:54 +03:00
hippoz
4d4e054291
fix mobile send button for chromium 2022-08-31 12:58:12 +03:00
hippoz
a1ee6f8f6b
fix sidebar button accent for light theme 2022-08-31 12:57:49 +03:00
hippoz
abad0841fe
improve accent colors and sidebar buttons 2022-08-31 12:44:54 +03:00
hippoz
e1490f1081
automatically focus the message input when the user selects another channel 2022-08-31 12:07:25 +03:00
hippoz
4080e69b11
add ui:alwaysUseMobileChatBar option 2022-08-31 11:46:51 +03:00
hippoz
8c75b96696
add config settings for typing notifications, message history and typing updates 2022-08-31 11:40:10 +03:00
hippoz
e42176fac7
add javascript notice 2022-08-28 22:13:20 +03:00
hippoz
ee0272b387
clean up imports 2022-08-28 21:58:44 +03:00
hippoz
325583e4d7
update dependencies 2022-08-28 21:56:50 +03:00
hippoz
fcf25320cb
Don't render anything until gateway connection 2022-08-28 20:52:34 +03:00
hippoz
71f3773488
make app look more similar across browsers 2022-08-28 17:57:01 +03:00
hippoz
537036e8bb
apply transitions to sidebars on large viewports 2022-08-28 16:02:51 +03:00
hippoz
fc8d81753e
improve conditional animations 2022-08-28 16:02:28 +03:00
hippoz
9d1d91711e
improve sidebar contrast 2022-08-28 15:25:18 +03:00
hippoz
6cf7da5089
improve message bar appearance on small viewports 2022-08-20 03:32:31 +03:00
hippoz
34f945b7f4
add optimistic_id field for messages, allowing us to show our own messages from other clients 2022-08-20 00:12:27 +03:00
hippoz
8b9679b93d
fix flashes of no content on small viewports 2022-08-14 05:50:26 +03:00
hippoz
9a8b769e95
don't show presence sidebar if sidebar is present 2022-08-08 05:39:03 +03:00
hippoz
e31d8c5973
add presence and user list 2022-08-08 05:12:31 +03:00
hippoz
f9a62cec4e
making typing indicators per-channel 2022-08-07 21:57:41 +03:00
hippoz
579ff19921
add typing indicators 2022-08-07 03:00:14 +03:00
hippoz
4264d9ffac
add fetch polyfill 2022-08-05 22:29:20 +03:00
hippoz
f87077d381
move "connecting..." indicator to the sidebar to prevent layout shifts 2022-08-05 05:24:45 +03:00
hippoz
79efc49cd2
clean up css 2022-08-05 02:18:03 +03:00
hippoz
f5aeedfbab
add content security policy and standard meta tags 2022-08-05 02:11:26 +03:00
hippoz
24a956c940
refactor modal animations and add more padding to the modal footer 2022-08-04 21:31:02 +03:00
hippoz
1feb79b2e8
update packages 2022-08-04 19:57:40 +03:00
hippoz
662fceee57
label icon buttons 2022-08-04 05:33:20 +03:00
hippoz
dcef776d44
slightly optimize stores 2022-08-04 04:59:28 +03:00
hippoz
e1fccd2a66
hide "add channel" button if the user cant create channels + public user object now shows permissions 2022-08-04 04:51:09 +03:00
hippoz
e7615879e4
add ui:showSidebarToggle config 2022-08-04 02:17:23 +03:00
hippoz
ad8e6315ed
improve config entry names and fix selected channel persistance 2022-08-04 02:00:55 +03:00
hippoz
8d45594d03
fix light theme 2022-08-03 19:06:10 +03:00
hippoz
12837db5a4
add custom iosevka font 2022-08-03 18:55:12 +03:00
hippoz
062de0e380
fix top bar having fixed height 2022-08-03 04:59:38 +03:00
hippoz
8277c0901f
fix messageinput inconsistencies 2022-08-03 04:49:03 +03:00
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
314a7f2be0
hopefully fix mobile viewport weirdness 2022-08-02 22:36:18 +03:00
hippoz
3bcf605ef9
add more message spacing, ensure author is always displayed at the top left 2022-08-02 22:35:53 +03:00
hippoz
ec7de22dca
frontend: enforce valid overlays in overlaystore 2022-05-08 22:05:58 +03:00