Commit graph

34 commits

Author SHA1 Message Date
Pranav Joglekar
b1f8ee5f94
feat: show a friendlier error msg in admin panel when unable to connect to Owncast Service (#2786)
* feat: handle 'failed to fetch' error and set error state

* feat: display alert error to user if failed to connect to backend
2023-03-11 11:38:29 -08:00
Nathan
32f8c06390
fix: #2779 - strip trailing slash on s3 endpoint (#2788)
Co-authored-by: thisProjects <wibbet@wobbet.com>
2023-03-10 14:05:54 -08:00
Dhanu Saputra
7e7d655615
Corner radius slider no longer slides (#2784)
* Corner radius slider no longer slides

* revert

* add optional chaining
2023-03-08 15:00:10 -08:00
Pranav Joglekar
e80db09ab1
fix: Prevent color selector from closing on choosing a color (#2783)
* improv: wrap ColorPicker in memo to prevent unnecessary rerenders

* improv appearance: wrap updateColor in useCallback to prevent unnecessary rerenders due to changing reference to the func

* improv: define ColorCollection Component as top level, and modify it to prevent unnecessary rerenders
2023-03-08 12:13:57 -08:00
Pranav Joglekar
f6a2e8d3a2
UI: Make the Admin menu sidebar colors on hover consistent (#2778)
* ui: overwrite default antd menu-item hover colors for consistency

* ui fix: make the hover color of icon and text consistent in admin sidebar

* fix: make the 'followers'  menuitem icon consistent with other sidebar icons
2023-03-05 20:46:31 -08:00
Gabe Kangas
5b1f36c314
Revert "Add the Client-side Input Validators for Stream Keys and the Admin Password (#2619)"
This reverts commit 3653db3a6a.
2023-03-03 14:43:56 -08:00
Jambaldorj Ochirpurev
3653db3a6a
Add the Client-side Input Validators for Stream Keys and the Admin Password (#2619)
* add the minimum stream key complexity rules on the client side

* add an admin password validator

* merge TextField and TextFieldAdmin components

* update Input Validators for Streak Keys and Admin Password

* fix a small regex typo

* code cleanup

* update Textfield and TextFieldWithSubmit

* Prettified Code!

* update the TextFieldWithSubmit component

* correct the admin password endpoind API

* refactor the Admin Password Input field and add a new boolean field for it

* refactor the Form Input field name from adminPassword to InputFieldPassword

* put password regex rules into config-constants.tsx

* regex constant typo fix

* change the boolean variable isAdminPwdField to hasComplexityRequirements

* fix a merge conflict

* Prettified Code!

---------

Co-authored-by: dorj222 <dorj222@users.noreply.github.com>
2023-03-02 21:20:53 -08:00
Gabe Kangas
23a721857f
Do not support stream key UI or any persisted stream keys when overridden via cli flag. Closes #2749 2023-02-27 17:08:52 -08:00
Gabe Kangas
701e57a580
Fix CPU usage descripting mapping. Fixes #2682 2023-02-22 21:56:55 -08:00
Dhanu Saputra
0a653aaba7
Remove usage of the PropTypes dependency (#2723)
* Remove usage of the PropTypes dependency

* Prettified Code!

---------

Co-authored-by: dhanusaputra <dhanusaputra@users.noreply.github.com>
2023-02-22 09:21:00 -08:00
Gabe Kangas
10400e1252
Update sidebar styling and chat always being highlighted. Closes #2651 2023-02-10 15:27:35 -08:00
Gabe Kangas
8592fb87ba
Update copy refering to Javascript. Closes #2694 2023-02-08 20:47:50 -08:00
Jambaldorj Ochirpurev
b75c6a886a
Random Stream Key Generator (#2690)
* add a new random stream key generator

* fix a typo
2023-02-07 17:17:04 -08:00
Gabe Kangas
642782a36c
Remove admin password generation+copy button. Add auto-generating stream keys. Closes #2683 and #2631 2023-02-05 20:09:50 -08:00
Gabe Kangas
d9e4731764
Update charting library and how it is used. Closes #2658 2023-02-02 14:58:39 -08:00
Philipp
4aaabaac07
Admin UI: Fix broken links (#2660) 2023-02-01 10:39:48 -08:00
Gabe Kangas
544ef6bd37
Fix broken image in offline admin 2023-01-27 13:46:33 -08:00
Gabe Kangas
c91d85a118
Fix upgrade link in admin sidebar. Closes #2612 2023-01-27 11:11:12 -08:00
Gabe Kangas
5556653021
Position confirmation popover. Closes #2611 2023-01-22 22:39:18 -08:00
Gabe Kangas
fa420ff98f
Support customizing button title text color 2023-01-18 23:14:44 -08:00
Gabe Kangas
19c228eaf6
Allow adding custom javascript to the page. Closes #2604 2023-01-18 22:38:24 -08:00
Gabe Kangas
f072819e81
Refactor the color customizing admin components 2023-01-18 19:18:31 -08:00
Gabe Kangas
12eb0eed1d
Support customizing button border color 2023-01-18 19:18:30 -08:00
Gabe Kangas
a1a3272031
Hide scrollbars 2023-01-18 19:18:29 -08:00
Gabe Kangas
bd8925f135
Remove theme colors from apperaance customization 2023-01-18 19:18:28 -08:00
Michael David Kuckuk
59e5cfefd4
Remove twitter notification configuration (#2598) 2023-01-17 13:20:29 -08:00
Gabe Kangas
6fbd6cbbcf
Lazy load every instance of using ant icons. Closes #2583 2023-01-15 22:31:36 -08:00
Gabe Kangas
bf92705dfc
Fix link 2023-01-13 14:19:32 -08:00
Gabe Kangas
48e99ff37c
Move icons to public directory. Fixes #2573 2023-01-12 13:53:09 -08:00
Gabe Kangas
c7e12643e9
Point link to genera admin settings page 2023-01-11 22:44:55 -08:00
Gabe Kangas
d8a5380b7f
Fix some React lifecycle and rendering errors that exist in build 2023-01-10 16:39:20 -08:00
Gabe Kangas
85dc3bf21e
Fix storybook errors 2023-01-10 01:00:13 -08:00
Gabe Kangas
cfaeda94b0
Lazy load more components. #2167 2023-01-10 00:37:12 -08:00
Gabe Kangas
7392ae8a54
Reorganize admin components to help bundling 2023-01-10 00:37:11 -08:00