Rafael Passos
17d433749c
fix: registerUser request body is invalid ( #4002 )
...
I found two issues:
1. This `options` object is being passed down to fetchData,
where it is deconstructed by the "data" attribute, not body.
2. the `data` object is being transformed into JSON downstream,
thus the stringification done here makes for a string json object only
Signed-off-by: auyer <rafael@rcpassos.me>
2024-11-09 14:18:05 -08:00
Gabe Kangas
25cd9b6d53
fix(js): log out unused error value
2024-11-08 10:05:53 -08:00
embr
2015a566cb
Fix websocket reconnection ( #3959 )
...
The `onerror` event is only triggered if the buffer is full while the
socket is closed, while the `onclose` event is called for any kind of
disconnection: https://websockets.spec.whatwg.org/#closeWebSocket
Fixes: https://github.com/owncast/owncast/issues/3958
Co-authored-by: Alyssa Ross <hi@alyssa.is>
2024-10-22 16:29:46 -07:00
Gabe Kangas
e50b23d081
Cleanup unused Javascript ( #3027 )
...
* chore(js): be stricter about dead code warnings
* chore(js): remove dead code and unused exports
* rebase
* chore: remove unused files
* chore(deps): remove unused prop-types dep
* chore(js): remove unused function
* chore(deps): remove + check unused deps
* chore(js): remove unused exports. Closes #3036
2023-05-20 21:15:25 -07:00
Gabe Kangas
05f7075244
fix(chat): make websocket reconnects happen faster. Closes #3021
2023-05-19 18:52:43 -07:00
Gabe Kangas
dde512fa14
fix(notifications): do not support browser notifications for local servers
2023-04-15 20:20:42 -07:00
Gabe Kangas
597281bbb2
Guard against duplicate websocket connections. Closes #2773
2023-03-31 21:01:16 -07:00
Gabe Kangas
0f58f8c0fe
Banned and chat disconnected states will hide chat. Closes #2764
2023-03-13 15:25:05 -07:00
Gabe Kangas
3262698631
Remove log message
2023-03-13 13:08:58 -07:00
Gabe Kangas
d8fb2d5d79
Pass correct id param. Closes #2756
2023-03-01 17:58:32 -08:00
gabek
61b207eb48
Prettified Code!
2023-02-27 00:55:16 +00:00
Michael David Kuckuk
b38df2fbe3
Create stories for layout testing ( #2722 )
...
* Inject services with useContext
* Extract service for video settings
* Create mock factories for services
* Create test data for chat history
* Add story to visualize different layouts
* Fix renaming mistake
* Add landscape and portrait viewports
* Add landscape stories
---------
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-02-26 16:54:28 -08:00
Gabe Kangas
e75b20d6ca
Support customSocketOverride value for websocket. Closes #2225
2022-10-18 20:43:23 -07:00
Gabe Kangas
3e89937d2b
Handle websocket errors and reconnection. Closes #1869
2022-10-18 16:39:49 -07:00
Gabe Kangas
8f0541a0f1
Remove hardcoded websocket host
2022-10-09 21:17:55 -07:00
Gabe Kangas
65b6feb40d
Do not point to localhost
2022-10-02 11:02:33 -07:00
Gabe Kangas
68414445c2
Add support for changing user color in name modal. Closes #1805
2022-08-09 19:56:45 -07:00
Gabe Kangas
f3a16be0dd
Add user detail API + modal. Closes #2002
2022-07-20 22:36:20 -07:00
Gabe Kangas
bf7319db9a
Install service worker at launch
2022-05-29 21:51:00 -07:00
Gabe Kangas
1b26a44fb6
Fix concurrent rendering error + make logs debug level
2022-05-28 18:45:30 -07:00
Gabe Kangas
680cfc977a
Removing fetch retries for now until I write it from scratch
2022-05-27 18:44:26 -07:00
Gabe Kangas
7ac66faf48
Support retries fetching server config
2022-05-27 18:16:40 -07:00
Gabe Kangas
1d213b71d4
Support changing your own name and handling name change events
2022-05-26 13:52:04 -07:00
Gabe Kangas
72c01e1b9a
Fix web project build errors
2022-05-11 23:31:31 -07:00
Gabe Kangas
3b3f785984
Use the webpack dev server proxy for requests
2022-05-08 23:28:54 -07:00
Gabe Kangas
008f607cf7
Fill out the follower component
2022-05-04 08:56:47 -07:00
Gabe Kangas
8b07eb7457
Render chat messages that come over the socket
2022-05-03 13:01:50 -07:00
Gabe Kangas
15becc5121
Connect to websocket and start accepting messages
2022-05-02 22:13:36 -07:00
Gabe Kangas
a0354d6d49
Handle centralized app state and registration + chat history
2022-05-02 17:45:22 -07:00
Gabe Kangas
4997c7c5ac
Fill out some more components + add application state enums
2022-04-29 15:10:13 -07:00
Gabe Kangas
91b0db9c2e
Add placeholder components to be worked on
2022-04-27 23:19:45 -07:00
Gabe Kangas
35546c0c6d
Added user registration call
2022-04-26 14:04:35 -07:00
Gabe Kangas
e2e21d915b
Initial api requests + stores + basic layout
2022-04-25 23:10:07 -07:00