Gabe Kangas
2853752937
Make each admin page specify is own layout. Closes #2584
3 years ago
Gabe Kangas
6fbd6cbbcf
Lazy load every instance of using ant icons. Closes #2583
3 years ago
Gabe Kangas
7392ae8a54
Reorganize admin components to help bundling
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
79bfa0145f
Moved admin to /admin and created blank placeholder for v2 frontend
3 years ago
Meisam
f7d0bd1b1f
fix chat message pagination ( #278 )
4 years ago
Gabe Kangas
b10ba1dcc2
Admin support for managing users ( #245 )
...
* First pass at displaying user data in admin
* Hide chat blurb on home page if chat is disabled
* Hide sidebar chat section if chat is disabled
* Block/unblock user interface for https://github.com/owncast/owncast/issues/1096
* Simplify past display name handling
* Updates to reflect the api access token change
* Update paths
* Clean up the new access token page
* Fix linter
* Update linter workflow action
* Cleanup
* Fix exception rendering table row
* Commit next-env file that seems to be required with next 11
* chat refactor - admin adjustments (#250 )
* add useragent parser; clean up some html;
* some ui changes
- use modal instead of popover to confirm block/unblock user
- update styles, table styles for consistency
- rename some user/chat labels in nav and content
* format user info modal a bit
* add some sort of mild treatment and delay while processing ban of users
* rename button to 'ban'
* add some notes
* Prettified Code!
* fix disableChat toggle for nav bar
* Support sorting the disabled user list
* Fix linter error around table sorting
* No longer restoring messages on unban so change message prompt
* Standardize on forbiddenUsername terminology
* The linter broke the webhooks page. Fixed it. Linter is probably pissed.
* Move chat welcome message to chat config
* Other submenus don't have icons so remove these ones
Co-authored-by: gingervitis <omqmail@gmail.com>
Co-authored-by: gabek <gabek@users.noreply.github.com>
4 years ago
Gabe Kangas
caa170e4ef
Start new chat config sections
4 years ago
gingervitis
8d5411a0d6
hella cleanup - index page items; use more Row/Cols to reduce custom css layout
5 years ago
nebunez
a123967645
move components folder and fix build errors ( #18 )
...
* move components folder and fix build errors
Fixes https://github.com/owncast/owncast/issues/689
* Prettified Code!
Co-authored-by: nebunez <nebunez@users.noreply.github.com>
5 years ago
gingervitis
103a47bc45
add message viz toggle component to be able to toggle one chat message at a time; address https://github.com/owncast/owncast/issues/568
5 years ago
gingervitis
051b0ac03f
add message viz toggle component to be able to toggle one chat message at a time; address https://github.com/owncast/owncast/issues/568
5 years ago
Jannik
fe4f578d60
add chatReloadInterval
5 years ago
gingervitis
12201d0088
addressing type warnings; account for no-messages returned
5 years ago
gingervitis
422f37c477
move chat to its own menu in sidenav
5 years ago
gingervitis
2e3737646c
style update
5 years ago
gingervitis
3e959fe2d4
render message in cell
5 years ago
gingervitis
f6814565de
rmeove switches;update styles;
5 years ago
Gabe Kangas
5345c124aa
Use auth'ed admin chat messages endpoint to get history
5 years ago
gingervitis
71b91a7fe0
reset selected after processing
5 years ago
gingervitis
e6124f3d61
rename comp for clarity
5 years ago
gingervitis
7c06b74324
set up bulkprocessing states and ux
5 years ago
gingervitis
310c6573d3
make toggle a separate component so we can display an outcome icon beside it
5 years ago
gingervitis
6cb8cee8b7
call update message api on toggle switch and update ui state
5 years ago
gingervitis
88deced9f2
super basic table sorting and stylings
5 years ago
gingervitis
05b9634180
add nav item and page for chat; set up data table of messages
5 years ago