Gabe Kangas
6fbd6cbbcf
Lazy load every instance of using ant icons. Closes #2583
3 years ago
Gabe Kangas
d8a5380b7f
Fix some React lifecycle and rendering errors that exist in build
3 years ago
Gabe Kangas
cfaeda94b0
Lazy load more components. #2167
3 years ago
Gabe Kangas
7392ae8a54
Reorganize admin components to help bundling
3 years ago
Gabe Kangas
29882f1291
Lazy load tooltip
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
Jannik
be5243f5f8
Update Next to 11.0.1 (including lint & import fixes) ( #248 )
...
* Bump next from 10.2.3 to 11.0.1
Bumps [next](https://github.com/vercel/next.js ) from 10.2.3 to 11.0.1.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v10.2.3...v11.0.1 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* 🚨 apply automatic linting
* 🎨 remove unused imports
* 🔇 allow console.* to give more debugging options
* 🎨 move stuff around to reduce linter messages
* 🚨 use destructuring so lint won't complain
* 📌 link Chartkick and Chart.js
Commit uses the linking code which was previously imported with
`import "chartkick/chart.js" [1]. Next did not like the import path,
but this does works now. ¯\_(ツ)_/¯
[1]: https://github.com/ankane/chartkick.js/blob/master/chart.js/chart.esm.js
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Gabe Kangas
caa170e4ef
Start new chat config sections
4 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
c65c97df85
prettify some files
5 years ago
Gabe Kangas
fbffa732d4
Post-merge fixes
5 years ago
gingervitis
627fa54db5
try and fix a ts error
5 years ago
gingervitis
7f06da27b6
comment update
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
gingervitis
f6814565de
rmeove switches;update styles;
5 years ago
gingervitis
e6124f3d61
rename comp for clarity
5 years ago
gingervitis
e978789c8b
send id as an array
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