Bennett B Madavana
49420822f5
Fixed #2758 ( #2914 )
...
* Fixed #2758
* Prettified Code!
* Merge branch 'develop' of https://github.com/bennett1412/owncast into issue-#2758-fix
* Fixed prop value in chart component
* Prettified Code!
* Updated chart download button position
* Fixed linting errors
---------
Co-authored-by: bennett1412 <bennett1412@users.noreply.github.com>
2 years ago
Gabe Kangas
0dc126e94d
Tell the chart not to clip the visibility of the contents. For #2806
2 years ago
Gabe Kangas
3ada7182f5
Update viewers chart y axis to make more sense. Closes #2806
2 years ago
Gabe Kangas
d9e4731764
Update charting library and how it is used. Closes #2658
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
1ce2ee398c
Admin UI for playback metrics. For https://github.com/owncast/owncast/issues/793 ( #462 )
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
4794339b8a
Update charting libraries
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
gingervitis
7786c7e113
separate out styles for markdowneditor; convert mainlayout style module styles to just sass; add style to stream title editor in header;
5 years ago
gingervitis
c34aba2f5c
initial video settings setup
5 years ago
gingervitis
88deced9f2
super basic table sorting and stylings
5 years ago
Gabe Kangas
b89cc6fb26
Fine, use a string instead of date object
5 years ago
Gabe Kangas
59eb6eaa16
Do not format date, just pass raw date object to chart. Closes https://github.com/owncast/owncast/issues/459
5 years ago
gingervitis
3eeb6eaece
linty things
5 years ago
gingervitis
5a4f380009
update some home styles
5 years ago
gingervitis
3822e49591
fix chart margins
5 years ago
Gabe Kangas
e3d6c2872e
Cleanup and linting
5 years ago
Gabe Kangas
c41aa73694
Move util function to top of file
5 years ago
Gabe Kangas
c3a51cbfe0
Replace recharts with Chartkick + remove all the d3 utils
5 years ago
Gabe Kangas
7b2106adce
Pass chart data to lines not to the graph itself
5 years ago
Gabe Kangas
ff955c7ac8
Make graph less smooth. Hide empty value. Closes https://github.com/owncast/owncast/issues/379
5 years ago
gingervitis
2211572ba1
clean up of home section; now with styling
5 years ago
Gabe Kangas
7316d512c6
Add support for multi-value tooltips
5 years ago
Gabe Kangas
6cafb29a8f
Customize legend titles. Hide empty graph lines. Update colors.
5 years ago
gingervitis
112cc3af14
add a hook to track window resize so we can dynamically size charts; default highlight Home link in nav; some typescript fixes
5 years ago
Gabe Kangas
9b89955bb7
It builds
5 years ago
gingervitis
de44f8b99d
small ts fixes
5 years ago
Gabe Kangas
4acc58baf0
I dont know why javascript
5 years ago
Gabe Kangas
1f4169c45a
Add logs
5 years ago
Gabe Kangas
6a1db77c53
Missing prop breaks build
5 years ago
Gabe Kangas
34458c1676
Combine hardware graphs into a single graph
5 years ago
Gabe Kangas
df14a55429
Componentize a bit and consolidate some data
5 years ago
gingervitis
87d69e1665
sme typescripty formatting changes
5 years ago
Gabe Kangas
9e12d87edd
Some progress on charts
5 years ago