36 Commits

Author SHA1 Message Date
769f05db2c Allow for custom scrollbar styling 2022-11-13 12:37:31 -08:00
352447e3d4 Web UI frontend automated browser tests (#2223)
* First pass at basic browser tests for #1926

* Run tests against dev web server not go server

* Bundle the web code into the server before running tests

* Move cypress UI tests into its own npm project + add tests

* Add additional tests + wire up with cypress dashboard

* Limit concurrency of workflow jobs

* Temporarily comment out some tests that do not pass in mobile. Will fix later.
2022-11-04 20:04:13 -07:00
91c7bed0e8 Add action message type to chat. Closes #2226 2022-10-18 19:47:38 -07:00
44ef64b3b5 fixed chat container not showing in SB + minor changes 2022-09-30 13:17:22 +02:00
f90295269e Updated styles to match design for chat msgs 2022-09-30 09:57:12 +02:00
0b35919357 Fixed messages not wrapping + changed some styles to accomodate scrollbar better 2022-09-13 08:43:59 +02:00
d1f3fffe2f reafctor: normalize component formatting (#2082)
* refactor: move/rename BanUserButton file

* refactor: move/rename Chart file

* refactor: update generic component filenames to PascalCase

* refactor: update config component filenames to PascalCase

* refactor: update AdminLayout component filename to PascalCase

* refactor: update/move VideoJS component

* chore(eslint): disable bad react/require-default-props rule

* refactor: normalize ActionButton component

* refactor: normalize ActionButtonRow component

* refactor: normalize FollowButton component

* refactor: normalize NotifyButton component

* refactor: normalize ChatActionMessage component

* refactor: normalize ChatContainer component

* refactor: normalize ChatJoinMessage component

* refactor: normalize ChatModerationActionMenu component

* refactor: normalize ChatModerationDetailsModal component

* refactor: normalize ChatModeratorNotification component

* refactor: normalize ChatSocialMessage component

* refactor: normalize ChatSystemMessage component

* refactor: normalize ChatTextField component

* refactor: normalize ChatUserBadge component

* refactor: normalize ChatUserMessage component

* refactor: normalize ContentHeader component

* refactor: normalize OwncastLogo component

* refactor: normalize UserDropdown component

* chore(eslint): modify react/function-component-definition rule

* refactor: normalize CodecSelector component

* refactor: update a bunch of functional components using eslint

* refactor: update a bunch of functional components using eslint, pt2

* refactor: update a bunch of functional components using eslint, pt3

* refactor: replace all component->component default imports with named imports

* refactor: replace all component-stories->component default imports with named imports

* refactor: remove default exports from most components

* chore(eslint): add eslint config files for the components and pages dirs

* fix: use-before-define error in ChatContainer

* Fix ChatContainer import

* Only process .tsx files in Next builds

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2022-09-07 00:00:28 -07:00
c61bea29ee Add read-only chat embed page. Closes #1905 2022-09-04 21:53:04 -07:00
aa0b43074f Fix chat user color variable 2022-09-01 19:37:21 -07:00
c2bd9436ba Show moderation menu for moderators. Closes #1864 2022-08-22 19:25:16 -07:00
6cc184ea6f Add standalone join message with user badge 2022-08-21 15:50:27 -07:00
3cfcad7a93 Add user chat message badges. Closes #1988 2022-08-21 14:04:16 -07:00
7dc2a1a4bc Limit message collapsing to 2 minutes between messages 2022-08-15 19:44:29 -07:00
b632699c87 Fix chat error with only a single message 2022-08-15 16:35:54 -07:00
a7bbb06ea5 Fix mod menu showing. Closes #1990 2022-08-10 21:41:56 -07:00
f8429beef4 Add+style system style chat message. Closes #1998 2022-08-10 20:22:00 -07:00
2c1624127a Fix message collapsing incorrectly. Closes #2001 2022-08-09 20:58:10 -07:00
0574725be8 Use vh instead of % to fix storybook rendering of chat container. 2022-07-21 12:15:03 -07:00
2c8621c873 Add chat join messages 2022-07-14 21:05:34 -07:00
9a2a43d916 Add moderator status chat message. Closes #1999 2022-07-14 20:36:47 -07:00
f130abb8f9 Minor styling changes 2022-07-10 09:00:29 +02:00
efbe6907ac Reworked mobile UI for some components 2022-07-08 22:20:22 +02:00
ffc73f2760 Added chat tab on mobile layouts and other changes to mobile UI 2022-07-08 09:10:18 +02:00
d12712a107 Changed chat behaviour
added recoil value isMobile to determine which chat to display and
style. #1978

changed the player to actually span across the viewport without the
black borders around it.
2022-07-03 12:36:30 +02:00
1bbca87afb Prettified Code! 2022-07-02 07:13:50 +00:00
26f9a41508 Few changes to chat
Added moderator icon

changed styling for a name change message

Now usernames collapse as long as the user is the same

Imported two weights of Poppins and the OpenSans variable instead of def
400

This is some progress on #1859 and #1625
2022-07-02 09:08:36 +02:00
e6cc3a39d1 Added moderator menu to messages and some other styling.
created new ant overrides file.

Ignore the static directory
2022-07-01 22:53:56 +02:00
455d8f8169 Few changes to chat.
Changed the way the background is set on self sent messages and some
styling.

Fixed chat container not scrolling. Added 'go to bottom' button.
2022-07-01 19:35:14 +02:00
ccb97197c5 Fix chat array not being properly appended to 2022-06-29 11:50:56 -07:00
5e4334ac01 Use user color for name change messages 2022-06-28 20:40:18 -07:00
e08037b64a Wire up chat message props. Add username highlighting. Closes #1921 2022-06-24 21:30:54 -07:00
1d213b71d4 Support changing your own name and handling name change events 2022-05-26 13:52:04 -07:00
7b1667bf6a Refactor app state to be a state machine with access selectors 2022-05-25 21:47:09 -07:00
d692a2bb5c Styled chat messages 2022-05-22 16:10:34 +02:00
b6dd441107 Fixed import and lint-errors 2022-05-22 15:05:40 +02:00
018ee135b2 Moved chat header into ChatContainer and created component folder 2022-05-22 14:55:52 +02:00