Commit graph

689 commits

Author SHA1 Message Date
Gabe Kangas
7e4d147940
Fix exception thrown with zero links. Closes #2833 2023-03-18 11:49:20 -07:00
Gabe Kangas
3b8982089d
Fix pagination parameters. Closes #2835 2023-03-17 21:11:01 -07:00
Gabe Kangas
453d9ab41f
Reword the error message 2023-03-16 12:58:03 -07:00
Dhanu Saputra
b9fd5e6210
Menu state in admin not saved after page refresh (#2829)
* Menu state in admin not saved after page refresh

* fix openKey

* retry ci

* retry ci

* retry ci
2023-03-16 12:06:00 -07:00
Gabe Kangas
6973c3d8df
Update styling of video settings admin page. Closes #2803 2023-03-14 21:34:37 -07:00
Gabe Kangas
cb22147ddb
Use simpler example for ErrorBoundary 2023-03-14 21:34:36 -07:00
Gabe Kangas
0dc126e94d
Tell the chart not to clip the visibility of the contents. For #2806 2023-03-13 17:01:39 -07:00
Gabe Kangas
3ada7182f5
Update viewers chart y axis to make more sense. Closes #2806 2023-03-13 15:58:16 -07:00
Gabe Kangas
0f58f8c0fe
Banned and chat disconnected states will hide chat. Closes #2764 2023-03-13 15:25:05 -07:00
Gabe Kangas
7e7be00b12
Guard against mobile exception. Closes #2793 2023-03-13 13:08:57 -07:00
Gabe Kangas
7400033bee
Add missing rel to indieauth link. Closes #2791 2023-03-13 12:58:36 -07:00
Gabe Kangas
59a3d5886c
Add password/key complexity rules in input fields. 2023-03-13 12:37:16 -07:00
Gabe Kangas
7adae0e9d5
Fix circular dependency issue breaking build 2023-03-13 12:36:25 -07:00
Gabe Kangas
4009af8d3c
Add note about error boundaries 2023-03-13 00:00:40 -07:00
Gabe Kangas
1055b1c42d
Fix var shadowing 2023-03-12 23:12:39 -07:00
Gabe Kangas
cd0f92f496
Add error boundary to DesktopContent. For #2811 2023-03-12 23:11:20 -07:00
Gabe Kangas
7cb5773a97
Add error boundary to ChatModerationDetailsModal. For #2811 2023-03-12 23:11:19 -07:00
Gabe Kangas
9162386495
Add error boundary to system Modal. For #2811 2023-03-12 23:11:18 -07:00
Gabe Kangas
02ca54d810
Add error boundary to UserDropdown. For #2811 2023-03-12 23:11:18 -07:00
Gabe Kangas
170a3ecde1
Add error boundary to BrowserNotifyModal. For #2811 2023-03-12 23:11:17 -07:00
Gabe Kangas
02e937c351
Add error boundary to FollowersCollection. For #2811 2023-03-12 23:11:16 -07:00
Gabe Kangas
274aeb8be6
Add error boundary to ClientConfigStore modal. For #2811 2023-03-12 23:11:16 -07:00
Gabe Kangas
85d54926ee
Add error boundary to Auth modal. For #2811 2023-03-12 23:11:15 -07:00
Gabe Kangas
11a11e64ad
Add error boundary to player. For #2811 2023-03-12 23:11:14 -07:00
Gabe Kangas
2489a6520f
Increase diffThreshold for test. Closes #2812 2023-03-12 22:10:28 -07:00
Gabe Kangas
4192482a4c
Add error boundary to chat. For #2811 2023-03-12 21:57:04 -07:00
Gabe Kangas
593a7faa36
Add error boundaries to MobileContent. For #2811 2023-03-12 21:53:17 -07:00
Gabe Kangas
eaa6418e1c
Add ComponentError UI for #2811 2023-03-12 21:53:15 -07:00
Nathan
17afdb1997
fix: #2755 clicking more details on un-registered chat user throws exception (#2809)
Co-authored-by: thisProjects <wibbet@wobbet.com>
2023-03-12 19:40:39 -07:00
Nathan
84a0c2f169
fix: #1904 CSS Improvements on Admin Page (#2790)
* fix: #1904 CSS Improvements on Admin Page

* Prettified Code!

---------

Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: thisprojects <thisprojects@users.noreply.github.com>
2023-03-11 12:16:35 -08:00
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
Gabe Kangas
a3e10152c8
Additional difThreshold tweaks for UI tests comparison 2023-03-09 02:40:18 -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
Gabe Kangas
b5cc183a3c
Continue to bump diff threshold so UI tests do not register as changed 2023-03-08 14:49:50 -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
aa05ad6369
Fix loading state when chat is disabled in mobile. Closes #2753 2023-03-05 17:47:59 -08:00
Dhanu Saputra
ccd78c3c4d
Chat join message for users with moderator flag is misaligned (#2774) 2023-03-05 15:59:31 -08:00
Gabe Kangas
c4f057eded
Make testing for moderator state centralized in User class 2023-03-03 21:55:02 -08:00
Gabe Kangas
1536e4a04d
Show moderator message mid-chat session. Closes #2762 2023-03-03 19:49:58 -08:00
Naz
3629f318e8
removed timers from component in favor of css transition (#2769)
* removed timers from component in favor of css transition

* removed semibold text

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-03-03 15:25:22 -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
4a0476b237
Add support for disabled chat state in the chat input field. Closes #2761 2023-03-01 16:22:10 -08:00
dorj222
c3ed3c1eed Prettified Code! 2023-03-01 13:12:39 +00:00
Jambaldorj Ochirpurev
cb807f70cf
Merge branch 'develop' into fix/ImplementPasswordRules 2023-03-01 14:11:50 +01:00
dorj222
f06325c11c fix a merge conflict 2023-03-01 13:58:07 +01:00
Gabe Kangas
38a52c501c
Do not show custom page content sections if it is empty. Closes #2752 2023-02-27 17:39: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