Commit graph

57 commits

Author SHA1 Message Date
André Rusakow
b8016eaa90
fix scroll on mobile (#2585)
* fix scrolling issues on mobile

* resolve conflict
2023-01-15 18:37:21 -08:00
Gabe Kangas
c05a20a460
Use built-in Next layout support + lazy load
Instead of doing manual layout switching use the Nextjs nested layout
support. Also add some additional lazy loading of components. This is to
work on performance score re: #2167.
2023-01-09 01:08:24 -08:00
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
7b1667bf6a
Refactor app state to be a state machine with access selectors 2022-05-25 21:47:09 -07:00
Gabe Kangas
e0c073171d
Rename layout files 2022-04-28 12:57:51 -07:00
Gabe Kangas
e2e21d915b
Initial api requests + stores + basic layout 2022-04-25 23:10:07 -07:00
Gabe Kangas
79bfa0145f Moved admin to /admin and created blank placeholder for v2 frontend 2022-04-25 15:54:37 -07:00
Gabe Kangas
65efdb91b9 Add stream health overview component 2022-03-24 23:21:57 -07:00
Joshua T
4661cb67aa Move offline-notice component to components dir (#331) 2021-10-13 18:44:07 -07:00
gingervitis
2c86fa34fd add news feed (#99)
* add news feed

* Prettified Code!

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
2021-04-03 21:25:21 -07:00
Gabe Kangas
e3472226d2 Add offline homepage info box about the directory if it's disabled 2021-02-17 11:40:22 -08:00
gingervitis
8d5411a0d6 hella cleanup - index page items; use more Row/Cols to reduce custom css layout 2021-02-14 22:20:25 -08:00
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>
2021-02-06 19:38:58 -08:00
Gabe Kangas
d557788434 Put stream title input in the global header 2021-02-01 14:51:08 -08:00
gingervitis
c255b81093 rename formfield files for clarity 2021-01-31 00:48:39 -08:00
gingervitis
579a0a8838 make basic form field wit no submit, so a submit text field can compose it 2021-01-30 12:27:07 -08:00
gingervitis
b37b57feda fix streamtitle change field on index 2021-01-30 01:39:58 -08:00
Gabe Kangas
81392ee2cf Try to get the stream title text field working. Failing. 2021-01-28 12:46:19 -08:00
gingervitis
5f70c77458 refactor forms to not use ant Form component; split server and instance details forms into their own components 2021-01-28 03:08:57 -08:00
Gabe Kangas
d2adda123c Throw a stream title input on the dashboard 2021-01-24 13:06:26 -08:00
Gabe Kangas
82a16c7d05 Use new current broadcast info for admin dashboard data 2021-01-24 13:06:26 -08:00
Gabe Kangas
7822860f2c Remove stream key from admin dashboard. Closes https://github.com/owncast/owncast/issues/615 2021-01-24 13:06:26 -08:00
Gabe Kangas
8782d54e49 Fix zero being shown for peak viewer count. Closes https://github.com/owncast/owncast/issues/445 2020-12-12 16:26:50 -08:00
Gabe Kangas
05e701df6f Make error log show up on home screen. Fix key. Closes https://github.com/owncast/owncast/issues/429 2020-12-06 01:05:49 -08:00
gingervitis
cd1eadebc1 fix for #408 2020-12-03 22:55:04 -08:00
Gabe Kangas
f55901064c Use unkonwn fallback string for values not supplied by remote encoder.
Closes https://github.com/owncast/owncast/issues/403
2020-12-02 17:51:33 -08:00
Gabe Kangas
a56d5e47b9 Display remote encoder software in the admin 2020-12-02 17:34:05 -08:00
gingervitis
3eeb6eaece linty things 2020-11-28 19:45:52 -08:00
gingervitis
ced7a7ca82 cleanup 2020-11-28 19:27:48 -08:00
gingervitis
5a4f380009 update some home styles 2020-11-28 19:26:52 -08:00
gingervitis
1c40d2d428 fix react warnings on config page 2020-11-28 18:43:59 -08:00
gingervitis
f691678105 edit side nav so viewers is not in a section 2020-11-28 18:07:19 -08:00
gingervitis
3cd552cba8 fixed side nav 2020-11-28 17:59:09 -08:00
Gabe Kangas
dc41b21b92 Display video passthrough values properly + some tweaks 2020-11-19 22:02:44 -08:00
Gabe Kangas
8787e3421b Show framerate of inbound video stream 2020-11-17 22:48:03 -08:00
Gabe Kangas
59f63e5438 Rename sidebar items. Give admin a title. Link to app favicon. 2020-11-16 14:19:15 -08:00
gingervitis
e3c0265469 include server config fetch in serverstatus context hook so config data can be provided across multiple views 2020-11-13 04:43:27 -08:00
gingervitis
72d9ff4edb assorted cleanup 2020-11-13 03:57:57 -08:00
gingervitis
2211572ba1 clean up of home section; now with styling 2020-11-13 03:43:28 -08:00
gingervitis
3f1f96a768 Merge branch 'master' of github.com:owncast/owncast-admin 2020-11-12 22:39:18 -08:00
gingervitis
30e1858456 Merge branch 'master' of github.com:owncast/owncast-admin 2020-11-12 19:54:41 -08:00
Gabe Kangas
f2499ebb5d Fix typescript errors 2020-11-08 11:51:04 -08:00
Gabe Kangas
4ab6e5df51 Add more offline content to admin home page 2020-11-07 23:37:17 -08:00
Gabe Kangas
eaafe57bb3 Show warnings even when offline 2020-11-07 23:00:02 -08:00
gingervitis
1a2dbd8d75 make offline view a sep componenet 2020-11-07 15:32:51 -08:00
Gabe Kangas
c4351a53bf Replace broadcaster API call with generic server status call. Add upgrade check bool 2020-11-05 18:30:14 -08:00
Gabe Kangas
ac641ee7d6 Start some home screen instructions 2020-11-03 17:09:11 -08:00
Gabe Kangas
5f1519d722 Use logo in home page empty state 2020-11-03 00:03:40 -08:00
Gabe Kangas
9b89955bb7 It builds 2020-11-01 00:46:20 -07:00
Gabe Kangas
1f4169c45a Add logs 2020-10-29 18:01:38 -07:00