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
b3ac4e1a15
fix(js): consolidate url and account validators
2 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
Gabe Kangas
c542dc10da
Fix some components being rendered as pages
3 years ago
Gabe Kangas
5a41f4a1ea
Reorganize admin pages and consolidate some sections. For #1904
3 years ago
Gabe Kangas
ba0c62e8a0
Support different link validation methods for platforms. Closes #2449
3 years ago
Matthew Heller
8320f282d8
More renames from 'visible' to 'open'. ( #2290 )
3 years ago
Gabe Kangas
de90e6a74c
Fix some broken social icons in frontend and admin
3 years ago
Evgeniy Kosov
d2024d30d2
Add ability to move social handles up/down ( #2168 )
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
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
gabek
5371559c74
Prettified Code!
4 years ago
gingervitis
d0eb1446f3
fixes for various admin issues ( #181 )
...
* up max char count for variant name to fix https://github.com/owncast/owncast/issues/1037
* max widthing the line chart canvas size so it scales with the page.
fixes
- https://github.com/owncast/owncast/issues/842
- https://github.com/owncast/owncast/issues/1024
* A fix to make Storage Endpoint URL validation have better feedback.
- give the field a type of "url"
- give the field a pattern to check
- have native browser handle the validation
- if the field is invalid, use :invalid selector to turn the text red on blur.
fixes: https://github.com/owncast/owncast/issues/1000
* a fix for https://github.com/owncast/owncast/issues/874
* - fixes for https://github.com/owncast/owncast/issues/972
Add optional prop to text field to trim() whitespaces from field. Apply logic to mostly url fields.
- move textfield blur if invalid turn red to globaal
* - a fix for bug: https://github.com/owncast/owncast/issues/998
don't return null if platform name not found because its custom.
- clean up react key problem on socialhandles table
* fix react key issue on Actions table
* fix for https://github.com/owncast/owncast/issues/1008 to display 'other' field when editing an item not in predefined social list
* clean up other potential react key warnings
* Prettified Code!
Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
4 years ago
Gabe Kangas
9602538098
Truncate url and limit width of social content ( #89 )
...
* Truncate and limit width of social list. closes https://github.com/owncast/owncast/issues/845
* Remove new class and allow text to wrap in existing css class
4 years ago
Gabe Kangas
e244111bbb
Fix broken urls. Closes https://github.com/owncast/owncast/issues/798
4 years ago
gingervitis
a573898547
- address https://github.com/owncast/owncast/issues/780 to stop showing 'loading' on OK button when error is returned (applies for video variant modal and social icon modal)
...
- just use pre-exisiting const to render cpu table item
4 years ago
Gabe Kangas
8bd7c77a11
Fix linter suggestions
5 years ago
Gabe Kangas
e32e8d1bb3
Point to just the image path to try to resolve the built version of the admin image loading
5 years ago
gingervitis
8d5411a0d6
hella cleanup - index page items; use more Row/Cols to reduce custom css layout
5 years ago
gingervitis
682ddf96c3
more cleanup
5 years ago
gingervitis
a122ee6c42
Admin css overhaul pt2 ( #19 )
...
* tweaks to offline state in admin viewers page
If stream is offline, hide current viewers statistic and viewers table.
Also, change wording for describing max viewers.
* take out ant dark stylesheet, organize ant color overrides
* remove ant dark css; cleanup ant overrides; format public-detail page
* combine toggleswitch component style with textfield so layout can be shared
* fix toggleswitch status message placement
* - update styles for modals, collapses
- move reset dir into its own component
- assorted style cleanups ans consistencies
* hide entire advanced section for resetyp if no yp
* temp adjustments to video modal
* temp comment out toggle switch use for later'
* address PR comments
* lint
* update type
* allow warnings during lint
Co-authored-by: nebunez <uoj2y7wak869@opayq.net>
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
6e43870d41
cleanup some forms; break out major config styles into their own files
5 years ago
Gabe Kangas
e3ea0e8f43
Move tags into the general settings page
5 years ago
Gabe Kangas
38a20d022d
Add support for some specific placeholders for correct social urls
5 years ago
gingervitis
3488a259bd
rename status file for clarity; temp style fix for streamkey actions
5 years ago
gingervitis
05167f77e5
adjust other status info areas
5 years ago
gingervitis
b26b8abb9b
finalize layout of textfields; add field status component
5 years ago
gingervitis
67c160afdb
some prettifying ✨
5 years ago
gingervitis
c92871278c
update readme. EVERYTHING ELSE IS WIP
5 years ago
gingervitis
ff51c168ff
reorganize styles and pages (wip); update readme
5 years ago
Gabe Kangas
8ddd780281
Disable social ok button if URL is not valid
5 years ago
gingervitis
9ad9791931
edit and update social links in modal
5 years ago
gingervitis
c3547f189d
edit social handles in modal, wip
5 years ago
gingervitis
d1cc0dfd97
start on social links editing, wip
5 years ago