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
2 years ago
Gabe Kangas
597281bbb2
Guard against duplicate websocket connections. Closes #2773
2 years ago
Gabe Kangas
0f58f8c0fe
Banned and chat disconnected states will hide chat. Closes #2764
2 years ago
Gabe Kangas
c4f057eded
Make testing for moderator state centralized in User class
2 years ago
Gabe Kangas
1536e4a04d
Show moderator message mid-chat session. Closes #2762
2 years ago
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>
2 years ago
Gabe Kangas
313a81359a
Add Fediverse event chat views. Closes #2679
2 years ago
Gabe Kangas
a84af0870a
Speed up initial loading state
3 years ago
Gabe Kangas
b0f88519d0
Strip fragments from URL when connecting to websocket
3 years ago
Gabe Kangas
5b371b4f73
Improve connectivity error message
3 years ago
Gabe Kangas
e48e274c79
Only show moderator notification once. Closes #2578
3 years ago
Gabe Kangas
d8a5380b7f
Fix some React lifecycle and rendering errors that exist in build
3 years ago
Gabe Kangas
a971a79296
Fix name change clearing chat history. Closes #2532
3 years ago
Gabe Kangas
4838562af8
Fix online app state not being set during goodbye state
3 years ago
Gabe Kangas
32d0850854
Fix another first-launch bug
3 years ago
Gabe Kangas
f5355f244c
Change status handling
3 years ago
Gabe Kangas
c5f02a091b
Handle all server status changes
3 years ago
Gabe Kangas
f348203016
Fix delay in app state being set
3 years ago
Gabe Kangas
595865c11d
Fix infinite load on first launch. Closes #2302
3 years ago
Gabe Kangas
50f23a0807
Changes to troubleshoot #2291
3 years ago
Gabe Kangas
952b28f8bf
Explicitly set state for config+status when hydrated
3 years ago
Gabe Kangas
e75b20d6ca
Support customSocketOverride value for websocket. Closes #2225
3 years ago
Gabe Kangas
91c7bed0e8
Add action message type to chat. Closes #2226
3 years ago
Gabe Kangas
37cdbb8dbd
Add backgrounded stream+messages title notifier. Closes #2208
3 years ago
Gabe Kangas
3e89937d2b
Handle websocket errors and reconnection. Closes #1869
3 years ago
Gabe Kangas
80a012a3c7
Add current user object that holds user session values instead of standalone getters. Closes #2050
3 years ago
Gabe Kangas
9c1fac7468
Do not show raw error in the fatal error modal
3 years ago
Gabe Kangas
8ee9be5d88
Support disabled chat. Closes #1979
3 years ago
Gabe Kangas
8d02f4068d
Polish up the initial loading experience
3 years ago
Gabe Kangas
42ff0cdb01
Add server-side hydration of initial config+status. Closes #1964
3 years ago
James Young
d1f3fffe2f
reafctor: normalize component formatting ( #2082 )
...
* refactor: move/rename BanUserButton file
* refactor: move/rename Chart file
* refactor: update generic component filenames to PascalCase
* refactor: update config component filenames to PascalCase
* refactor: update AdminLayout component filename to PascalCase
* refactor: update/move VideoJS component
* chore(eslint): disable bad react/require-default-props rule
* refactor: normalize ActionButton component
* refactor: normalize ActionButtonRow component
* refactor: normalize FollowButton component
* refactor: normalize NotifyButton component
* refactor: normalize ChatActionMessage component
* refactor: normalize ChatContainer component
* refactor: normalize ChatJoinMessage component
* refactor: normalize ChatModerationActionMenu component
* refactor: normalize ChatModerationDetailsModal component
* refactor: normalize ChatModeratorNotification component
* refactor: normalize ChatSocialMessage component
* refactor: normalize ChatSystemMessage component
* refactor: normalize ChatTextField component
* refactor: normalize ChatUserBadge component
* refactor: normalize ChatUserMessage component
* refactor: normalize ContentHeader component
* refactor: normalize OwncastLogo component
* refactor: normalize UserDropdown component
* chore(eslint): modify react/function-component-definition rule
* refactor: normalize CodecSelector component
* refactor: update a bunch of functional components using eslint
* refactor: update a bunch of functional components using eslint, pt2
* refactor: update a bunch of functional components using eslint, pt3
* refactor: replace all component->component default imports with named imports
* refactor: replace all component-stories->component default imports with named imports
* refactor: remove default exports from most components
* chore(eslint): add eslint config files for the components and pages dirs
* fix: use-before-define error in ChatContainer
* Fix ChatContainer import
* Only process .tsx files in Next builds
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
3 years ago
Gabe Kangas
ac7e095fdf
Handle hide/show chat messages via moderation. Closes #1986
3 years ago
Gabe Kangas
f3d611e762
Fix content header not rendering properly on mobile
3 years ago
Gabe Kangas
c2bd9436ba
Show moderation menu for moderators. Closes #1864
3 years ago
Gabe Kangas
c4479a0ffc
Add first pass at IndieAuth modal. For #1863
3 years ago
Gabe Kangas
f8429beef4
Add+style system style chat message. Closes #1998
3 years ago
Gabe Kangas
68414445c2
Add support for changing user color in name modal. Closes #1805
3 years ago
Gabe Kangas
2c8621c873
Add chat join messages
3 years ago
Gabe Kangas
9a2a43d916
Add moderator status chat message. Closes #1999
3 years ago
t1enne
d12712a107
Changed chat behaviour
...
added recoil value isMobile to determine which chat to display and
style. #1978
changed the player to actually span across the viewport without the
black borders around it.
3 years ago
Gabe Kangas
ccb97197c5
Fix chat array not being properly appended to
3 years ago
Gabe Kangas
bb1c934c4b
Fix goodbye state not going back online. Closes #1977
3 years ago
Gabe Kangas
6de93f9651
Move the favicons
3 years ago
Gabe Kangas
e08037b64a
Wire up chat message props. Add username highlighting. Closes #1921
3 years ago
Gabe Kangas
221b9c8f0f
Add playback performance metrics. Closes #1930
3 years ago
Gabe Kangas
1684979187
Add working but unstyled notify registration modal
3 years ago
Gabe Kangas
1b26a44fb6
Fix concurrent rendering error + make logs debug level
3 years ago
Gabe Kangas
aae63e4e2c
Display global error if server is unreachable
3 years ago
Gabe Kangas
1d213b71d4
Support changing your own name and handling name change events
3 years ago
Gabe Kangas
b3407cbdea
Remove user menu when chat is not available
3 years ago