Commit graph

197 commits

Author SHA1 Message Date
gingervitis
4d5b12cb15 use full width of screen instead of limiting admin content to max-width 2021-05-22 23:57:49 -07:00
gabek
5371559c74 Prettified Code! 2021-05-23 06:28:21 +00: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
gabek
8b8bf3127b Prettified Code! 2021-04-20 01:25:52 +00:00
Gabe Kangas
3989f7d49f Remove collapse and shrink text a bit since it can be too big on longer urls 2021-04-19 18:24:04 -07:00
Gabe Kangas
2a5d8d37d0 Layout and text around codec selection 2021-04-13 13:54:58 -07:00
gingervitis
0efc09bb72 add textarea field for custom css (#113)
* add textarea field for custom css

* Prettified Code!

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
2021-04-12 00:07:08 -07:00
Thilo Billerbeck
2e2b730b85 added stream conneciton info box to offline notice (#107) 2021-04-08 19:22:46 -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
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
2021-03-27 16:38:27 -07:00
Gabe Kangas
ea1ed11e72 Changing server url was resetting other updated fields (#86)
* changing url was resetting other fields. Closes https://github.com/owncast/owncast/issues/854

* specify config path for various instanceDetails fields instead

* fix react warning

Co-authored-by: gingervitis <omqmail@gmail.com>
2021-03-24 14:12:22 -07:00
nebunez
3031f8144e Upload logo (#54)
* add upload component for logo

* - move upload logo functionlity to its own component
- style upload logo component
- display current logo from server
- implement submit button on logo updater, to submit new logo to api after update
- add some submit status indicator

* update edit-logo component

Logo now posts correctly to owncast api endpoint. This update includes file type
validation and removes the submit button, since the ant.d Upload component
already handles the post logic.

* remove submit-button style for logo upload

Co-authored-by: gingervitis <omqmail@gmail.com>
2021-03-21 19:07:12 -04:00
gingervitis
49269dd175 Gw/videovariantfixes (#53)
* A fix for issue https://github.com/owncast/owncast/issues/770
- merge CPU slider functionality into main video variant form
- move slider constants into contants file for consistency and to reduce clutter on variant form file

* disable other forms and add a notice about vieo passthrough enabling

* Prettified Code!

* Tweak message text

* Prettified Code!

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: gabek <gabek@users.noreply.github.com>
2021-02-26 23:44:13 -08:00
gingervitis
0c730eedac Merge branch 'master' of github.com:owncast/owncast-admin 2021-02-20 15:15:03 -08:00
gingervitis
bc27ded3f3 add video passthrough field 2021-02-20 15:14:50 -08:00
gingervitis
4ee4b09579 Prettified Code! 2021-02-20 03:09:04 +00:00
gingervitis
7428a5c028 extra pagination color fix 2021-02-19 19:06:40 -08:00
gingervitis
7a8dbf5403 fix pagination colors for https://github.com/owncast/owncast/issues/740 2021-02-19 19:03:48 -08:00
gingervitis
14d15ed5e0 really important fix to hide non-sensical 'no-data' icon from table 2021-02-19 18:27:24 -08:00
gingervitis
a5303e64cb Prettified Code! 2021-02-16 05:24:11 +00:00
gingervitis
dd1cfb64db - add <Col>s to areas with <Row>s for consitency
- give main content a fixed width so really wide forms dont look that funny
- fix to make markdown editor preview text black to address https://github.com/owncast/owncast/issues/726
2021-02-15 21:22:17 -08:00
gingervitis
1a0339e64e Prettified Code! 2021-02-16 00:36:21 +00:00
gingervitis
f8f757e49a quick color fixes 2021-02-15 16:35:39 -08:00
gingervitis
2c7f59dd2a fix textfield icon color 2021-02-15 16:17:46 -08:00
gabek
259ac676ff Prettified Code! 2021-02-15 22:09:34 +00:00
Gabe Kangas
ee5e462c59 Update hint texts and add links to documentation 2021-02-15 14:08:53 -08:00
gingervitis
97187f5541 lint for passing builds 2021-02-15 00:36:06 -08:00
gingervitis
c1719e656b Merge branch 'admin-css-overhaul-pt3' of github.com:owncast/owncast-admin into admin-css-overhaul-pt3 2021-02-15 00:10:57 -08:00
gingervitis
834ddafc9b update readme; more style tweaks 2021-02-15 00:08:52 -08:00
gingervitis
1b116d2252 Prettified Code! 2021-02-15 06:24:09 +00: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
gingervitis
220c48432f clean up video config forms and styling 2021-02-14 18:46:34 -08:00
gingervitis
c5d4851296 add logo preview 2021-02-14 16:52:31 -08:00
gingervitis
682ddf96c3 more cleanup 2021-02-14 01:45:08 -08:00
gingervitis
d55e4dfe29 misc cleanup 2021-02-14 01:30:42 -08:00
gingervitis
44cef18a00 define more readable owncast color variables; apply var style names consistenly through other stylessheets; reaname file for clarity 2021-02-14 00:41:20 -08:00
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>
2021-02-12 23:55:59 -08:00
Gabe Kangas
60fb28e30c Merge remote-tracking branch 'origin' into 0.0.6 2021-02-06 15:32:39 -08:00
gingervitis
c65c97df85 prettify some files 2021-02-04 09:19:16 -08:00
gingervitis
7786c7e113 separate out styles for markdowneditor; convert mainlayout style module styles to just sass; add style to stream title editor in header; 2021-02-04 09:17:20 -08:00
gingervitis
6e43870d41 cleanup some forms; break out major config styles into their own files 2021-02-04 08:04:00 -08:00
gingervitis
50e729318c dark mode accommodations 2021-02-02 11:02:38 -08:00
gingervitis
103a47bc45 add message viz toggle component to be able to toggle one chat message at a time; address https://github.com/owncast/owncast/issues/568 2021-02-02 11:02:36 -08:00
Gabe Kangas
d557788434 Put stream title input in the global header 2021-02-01 14:51:08 -08:00
gingervitis
3db97f1bec streamkey field style update 2021-02-01 14:12:26 -08:00
gingervitis
3488a259bd rename status file for clarity; temp style fix for streamkey actions 2021-02-01 00:36:27 -08:00
gingervitis
cd8d877a59 fix styles; update storage validation checker 2021-02-01 00:01:38 -08:00
gingervitis
7501cfc548 revise Storage forms, and add basic validation to it; misc field cleanup 2021-01-31 23:40:39 -08:00
gingervitis
05167f77e5 adjust other status info areas 2021-01-31 22:07:00 -08:00
gingervitis
b26b8abb9b finalize layout of textfields; add field status component 2021-01-31 21:36:14 -08:00
gingervitis
037e8f25a7 initial temp fixes on form fields 2021-01-31 10:13:35 -08:00
gingervitis
c92871278c update readme. EVERYTHING ELSE IS WIP 2021-01-27 10:31:53 -08:00
gingervitis
ff51c168ff reorganize styles and pages (wip); update readme 2021-01-27 01:46:08 -08:00
gingervitis
9ad9791931 edit and update social links in modal 2021-01-24 13:06:26 -08:00
gingervitis
d1cc0dfd97 start on social links editing, wip 2021-01-24 13:06:25 -08:00
gingervitis
573d21d7e7 update segments editor to use new latency api 2021-01-24 13:06:05 -08:00
gingervitis
451912aa57 style p tag 2021-01-24 13:06:05 -08:00
gingervitis
93fa75df2e add delete variant button 2021-01-24 13:06:05 -08:00
gingervitis
73dd084672 add segement slider editor 2021-01-24 13:06:05 -08:00
gingervitis
4efc644955 update variant default source 2021-01-24 13:06:05 -08:00
gingervitis
8458849d88 form fields for video config modal 2021-01-24 13:05:43 -08:00
gingervitis
61e172908a update layout colors to be consistently dark 2021-01-24 13:05:43 -08:00
gingervitis
5ed73d7f6f start video variant page; setup video variant table for modals wip; use dark theme as default 2021-01-24 13:05:43 -08:00
gingervitis
e7e89556e7 apply config form flow to edit content page 2021-01-24 13:05:43 -08:00
Gabe Kangas
2772a8e5ec First pass at page content editor 2021-01-24 13:05:43 -08:00
gingervitis
f385233109 add number checking 2021-01-24 13:05:43 -08:00
gingervitis
5f0d7480bb clean up and style tweaks 2021-01-24 13:05:43 -08:00
gingervitis
c61e7e9c14 - start a README to document config admin later - update constants - add instanceUrl field to public details; if empty, then turn off yp.enabled. - edit YP/Directory settings; hide if instanceUrl is empty - update toggleswitch logic 2021-01-24 13:05:43 -08:00
gingervitis
c93aefa05d edit tags section 2021-01-24 13:05:43 -08:00
gingervitis
624ab72eb3 start organizing nav; start on Tags editing 2021-01-24 13:05:43 -08:00
gingervitis
f9b7a0d8e0 cleanup and styling , wip 2021-01-24 13:05:43 -08:00
gingervitis
78db81a8eb pass field resetter and initial values as props down to custom input element 2021-01-24 13:05:43 -08:00
gingervitis
f0e5bbae1f - create default values for starter fields
- add starter api urls
- try and add TS types for initial components and objects
- cleanup status indicator on layout header
- create custom textfield for config form editing
2021-01-24 13:05:41 -08:00
gingervitis
f446385a7e continue initial setup 2021-01-24 13:04:59 -08:00
gingervitis
b4aad7ccf7 dark mode accommodations 2021-01-09 18:38:22 -08:00
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 2021-01-09 15:17:06 -08:00
Jannik
5fdc881122 fix: text-alignments of chat messages 2021-01-02 14:10:16 +01:00
gingervitis
2e3737646c style update 2020-12-27 01:15:17 -08:00
gingervitis
3e959fe2d4 render message in cell 2020-12-26 21:46:40 -08:00
gingervitis
f6814565de rmeove switches;update styles; 2020-12-26 21:36:48 -08:00
gingervitis
7c06b74324 set up bulkprocessing states and ux 2020-12-25 23:14:27 -08:00
gingervitis
310c6573d3 make toggle a separate component so we can display an outcome icon beside it 2020-12-25 20:29:15 -08:00
gingervitis
88deced9f2 super basic table sorting and stylings 2020-12-22 23:15:37 -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
3822e49591 fix chart margins 2020-11-28 18:14:08 -08:00
gingervitis
3cd552cba8 fixed side nav 2020-11-28 17:59:09 -08:00
Gabe Kangas
4bcc60369a Fix dark mode pre tags. Closes https://github.com/owncast/owncast/issues/394 2020-11-23 22:27:55 -08:00
Gabe Kangas
ac0b315262 Remove compact styles and support auto-dark themes 2020-11-21 00:14:51 -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
112cc3af14 add a hook to track window resize so we can dynamically size charts; default highlight Home link in nav; some typescript fixes 2020-11-02 20:49:52 -08:00
Ginger Wong
00fd087fde some cleanup 2020-10-22 17:16:28 -07:00
Ginger Wong
a062856726 a bit of refactor, use context for overall broacast status; move files around for routing 2020-10-22 16:18:18 -07:00
Ginger Wong
2b278c45e1 adding a nicer layout frame, setting up for pages 2020-10-22 01:03:15 -07:00
Gabe Kangas
429b29cbb0 Add sass support for styling 2020-09-30 15:39:30 -07:00
Gabe Kangas
5b58ca8345 Initial commit from Create Next App 2020-09-30 15:13:06 -07:00