Commit graph

678 commits

Author SHA1 Message Date
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
Gabe Kangas
b7132eeaa5
Remove marquee tag as it throws off the UI tests 2023-02-27 15:45:45 -08:00
Gabe Kangas
ed2dc00345
Remove unused imports 2023-02-26 18:12:44 -08:00
Bennett B Madavana
5e155179ef
Fixed #2734 (#2742)
* Fixed #2734

* Prettified Code!

---------

Co-authored-by: bennett1412 <bennett1412@users.noreply.github.com>
2023-02-26 18:09:24 -08:00
Michael David Kuckuk
b38df2fbe3
Create stories for layout testing (#2722)
* Inject services with useContext

* Extract service for video settings

* Create mock factories for services

* Create test data for chat history

* Add story to visualize different layouts

* Fix renaming mistake

* Add landscape and portrait viewports

* Add landscape stories

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-02-26 16:54:28 -08:00
Gabe Kangas
b1cc8c6f12
Increase diffThreshold again for chat text field UI test 2023-02-26 15:44:18 -08:00
Gabe Kangas
f76f7fbaf0
Only use username half of account as fallback value 2023-02-22 22:08:07 -08:00
Gabe Kangas
701e57a580
Fix CPU usage descripting mapping. Fixes #2682 2023-02-22 21:56:55 -08:00
Gabe Kangas
8b8f221eb4
Show streamTitle in header if set. Closes #2720 2023-02-22 18:52:25 -08:00
Gabe Kangas
e522bddf53
Add some slight side margin to offline banner for mobile 2023-02-22 18:07:12 -08:00
Gabe Kangas
9744d4680c
Fix disabled browser notifications showing up. Closes #2726 2023-02-22 18:04:11 -08:00
Gabe Kangas
e8ef6433e5
Addition bottom page content layout tweaks 2023-02-22 09:40:56 -08:00