Commit Graph

15 Commits

Author SHA1 Message Date
Infi c4d5bfaf36 - Check for color 0 in JS
- Fix error with frag usage
2024-08-30 14:18:33 +02:00
Infi c7b596289e - Add doc comments for structs
- Small cleanup of the js file
2024-08-30 14:08:23 +02:00
Infi ff223bda2e Move message processing to javascript, future proofing it for other frameworks 2024-08-30 13:31:58 +02:00
Ennea 0023988ada chat2web frontend: fortify autoscroll code
so that it hopefully works across all devices.. scrolling needs another
look or ten in the javascript spec, seriously
2024-08-28 17:22:13 +02:00
Ennea d309030def chat2web frontend: wrap JSON.parse()s in try-catch blocks 2024-08-28 16:37:26 +02:00
Ennea d10d37011f chat2web frontend: several small adjustments, fixes, refactor
* moving the frontend gfd code into its own file
* refactoring the rest of the js code
* new "more messages"/scroll indicator
* autoscroll fixes in both javascript and css
* adjustments to mobile layout to use space more effectively
* make sure view keeps being scrolled to bottom on viewport changes
  (mobile keyboard show/hide)
2024-08-28 16:27:16 +02:00
Infi 0482f20fdf Support URI payloads 2024-08-27 17:26:34 +02:00
Ennea 769d34befd disable inter's on-by-default ligatures, redo icon/emote CSS
also:
* proper styling for auth page
* clean-up of html, css, js
* fix scroll indicator eating mouse events
* fix scroll indicator on (mobile?) chrome
* re-calculate timestamp width on each new message, to account for
  unknown/unexpected formats like the inclusion of AM/PM
2024-08-26 22:21:04 +02:00
Infi f6ea2c0dd3 Adjust emote size and implement load delay 2024-08-26 00:10:56 +02:00
Infi bb3e1fd98b Add bulk message sending 2024-08-25 23:35:57 +02:00
Infi d0802a8d7a implement route for channel switching and use json for received data 2024-08-25 17:06:00 +02:00
Infi 19f10b09c8 Implement dynamic channel list 2024-08-25 01:03:02 +02:00
Infi 29e3c6acee Redo the message protocols to work with SSE data directly 2024-08-24 19:52:53 +02:00
Infi c9be7c9c2c Move to SSE from websocket 2024-08-24 16:49:56 +02:00
Infi 5e93732183 Add pre-testing version of the webinterface 2024-08-24 03:05:33 +02:00