683 Commits

Author SHA1 Message Date
0dc126e94d Tell the chart not to clip the visibility of the contents. For #2806 2023-03-13 17:01:39 -07:00
3ada7182f5 Update viewers chart y axis to make more sense. Closes #2806 2023-03-13 15:58:16 -07:00
0f58f8c0fe Banned and chat disconnected states will hide chat. Closes #2764 2023-03-13 15:25:05 -07:00
7e7be00b12 Guard against mobile exception. Closes #2793 2023-03-13 13:08:57 -07:00
7400033bee Add missing rel to indieauth link. Closes #2791 2023-03-13 12:58:36 -07:00
59a3d5886c Add password/key complexity rules in input fields. 2023-03-13 12:37:16 -07:00
7adae0e9d5 Fix circular dependency issue breaking build 2023-03-13 12:36:25 -07:00
4009af8d3c Add note about error boundaries 2023-03-13 00:00:40 -07:00
1055b1c42d Fix var shadowing 2023-03-12 23:12:39 -07:00
cd0f92f496 Add error boundary to DesktopContent. For #2811 2023-03-12 23:11:20 -07:00
7cb5773a97 Add error boundary to ChatModerationDetailsModal. For #2811 2023-03-12 23:11:19 -07:00
9162386495 Add error boundary to system Modal. For #2811 2023-03-12 23:11:18 -07:00
02ca54d810 Add error boundary to UserDropdown. For #2811 2023-03-12 23:11:18 -07:00
170a3ecde1 Add error boundary to BrowserNotifyModal. For #2811 2023-03-12 23:11:17 -07:00
02e937c351 Add error boundary to FollowersCollection. For #2811 2023-03-12 23:11:16 -07:00
274aeb8be6 Add error boundary to ClientConfigStore modal. For #2811 2023-03-12 23:11:16 -07:00
85d54926ee Add error boundary to Auth modal. For #2811 2023-03-12 23:11:15 -07:00
11a11e64ad Add error boundary to player. For #2811 2023-03-12 23:11:14 -07:00
2489a6520f Increase diffThreshold for test. Closes #2812 2023-03-12 22:10:28 -07:00
4192482a4c Add error boundary to chat. For #2811 2023-03-12 21:57:04 -07:00
593a7faa36 Add error boundaries to MobileContent. For #2811 2023-03-12 21:53:17 -07:00
eaa6418e1c Add ComponentError UI for #2811 2023-03-12 21:53:15 -07:00
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
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
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
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
a3e10152c8 Additional difThreshold tweaks for UI tests comparison 2023-03-09 02:40:18 -08:00
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
b5cc183a3c Continue to bump diff threshold so UI tests do not register as changed 2023-03-08 14:49:50 -08:00
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
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
aa05ad6369 Fix loading state when chat is disabled in mobile. Closes #2753 2023-03-05 17:47:59 -08:00
ccd78c3c4d Chat join message for users with moderator flag is misaligned (#2774) 2023-03-05 15:59:31 -08:00
c4f057eded Make testing for moderator state centralized in User class 2023-03-03 21:55:02 -08:00
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
5b1f36c314 Revert "Add the Client-side Input Validators for Stream Keys and the Admin Password (#2619)"
This reverts commit 3653db3a6a113e73075687ad35b5d15e8dd74132.
2023-03-03 14:43:56 -08:00
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
4a0476b237 Add support for disabled chat state in the chat input field. Closes #2761 2023-03-01 16:22:10 -08:00
c3ed3c1eed Prettified Code! 2023-03-01 13:12:39 +00:00
cb807f70cf Merge branch 'develop' into fix/ImplementPasswordRules 2023-03-01 14:11:50 +01:00
f06325c11c fix a merge conflict 2023-03-01 13:58:07 +01:00
38a52c501c Do not show custom page content sections if it is empty. Closes #2752 2023-02-27 17:39:53 -08:00
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
b7132eeaa5 Remove marquee tag as it throws off the UI tests 2023-02-27 15:45:45 -08:00
ed2dc00345 Remove unused imports 2023-02-26 18:12:44 -08:00
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
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
b1cc8c6f12 Increase diffThreshold again for chat text field UI test 2023-02-26 15:44:18 -08:00
f76f7fbaf0 Only use username half of account as fallback value 2023-02-22 22:08:07 -08:00