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>
2022-09-07 00:00:28 -07:00
Gabe Kangas
ad2f40810c
Close confirm popup on cancel. Closes https://github.com/owncast/owncast/issues/1809
2022-04-04 14:18:58 -07:00
Lerk
ae88a38acc
Add description and name for VideoToolbox codec ( #460 )
...
* add description and name for VideoToolbox codec
* fix typo
2022-03-15 00:05:46 -07:00
Gabe Kangas
7a712a7ae3
Add friendly name and description for h264_omx. Fixes https://github.com/owncast/owncast/issues/1521
2021-11-11 14:53:15 -08:00
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>
2021-07-09 11:42:01 -07:00
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>
2021-05-22 23:27:51 -07:00
Gabe Kangas
01f3ab9a27
Add confirmation popup for codec selection. Closes https://github.com/owncast/owncast/issues/891
2021-04-13 13:54:58 -07:00
Gabe Kangas
2a5d8d37d0
Layout and text around codec selection
2021-04-13 13:54:58 -07:00
Gabe Kangas
f04f385f2b
Start codec selection in admin
2021-04-13 13:54:57 -07:00