Commit graph

1432 commits

Author SHA1 Message Date
Gabe Kangas
83fb88ad70
Use the new light background color for chat bg color 2022-10-10 17:15:48 -07:00
Matthew Heller
6e54ec7695
Antd updates (#2194)
* Fix antd Modal.visible warning by using updated attribute name 'open'.

* Update more attributes (onVisibleChange => onOpenChange, defaultVisible => defaultOpen) to fix browser console warnings.

* Update ModalProps property from 'visible' to 'open' to match the change in antd.

* Update variable names to match the antd change from 'visible' to 'open'.

* Inline this for the linter.

* One more visible => open reference.
2022-10-10 17:11:29 -07:00
Gabe Kangas
aa1b4819bb
Fix hook count error 2022-10-10 16:57:11 -07:00
Gabe Kangas
80a012a3c7
Add current user object that holds user session values instead of standalone getters. Closes #2050 2022-10-10 16:40:13 -07:00
gabek
b820eb4ae0 Prettified Code! 2022-10-10 20:33:13 +00:00
Gabe Kangas
4c13c3618d
Remove admin stylesheets from loading with app. Closes #2183 2022-10-10 13:31:37 -07:00
renovate[bot]
5ed67bf77b chore(deps): lock file maintenance 2022-10-10 10:12:53 +00:00
Gabe Kangas
8f0541a0f1
Remove hardcoded websocket host 2022-10-09 21:17:55 -07:00
Gabe Kangas
dd5b8e7ce5
Start of empty follower tab state. For #1913 2022-10-09 20:31:14 -07:00
Gabe Kangas
7843487b76
Fix followers request 2022-10-09 18:52:45 -07:00
gabek
370eb60cc4 Prettified Code! 2022-10-10 01:43:24 +00:00
Gabe Kangas
34a5104a6d
Add and use additional light background color for custom page content 2022-10-09 18:41:52 -07:00
Gabe Kangas
7788fe3327
Support custom text in notify button 2022-10-09 14:45:42 -07:00
juliana-mol
9f2aa66527
chat story controls (#2181)
* chat story controls

* Prettified Code!

Co-authored-by: juliana-mol <juliana-mol@users.noreply.github.com>
2022-10-09 11:25:48 -07:00
renovate[bot]
592de39a17
fix(deps): update dependency slate-react to v0.83.1 (#2169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 00:07:44 -07:00
Gabe Kangas
9c1fac7468
Do not show raw error in the fatal error modal 2022-10-08 23:15:38 -07:00
Gabe Kangas
cd3722d9f1
Limit chat input to max characters. Closes #2109 2022-10-08 22:33:50 -07:00
Gabe Kangas
8a946b8444
Do not show status bar unless live 2022-10-08 18:53:45 -07:00
Gabe Kangas
7e284aa4df
Remove the restricted width of the page content 2022-10-08 18:53:45 -07:00
Gabe Kangas
23b5468ed4
Fix error thrown by player after player is unmounted 2022-10-08 17:51:17 -07:00
Gabe Kangas
6773fc37a5
Fix space bar moving page. Closes #2110 2022-10-08 17:15:19 -07:00
gabek
4e4bbb8bd3 Prettified Code! 2022-10-08 23:53:03 +00:00
Gabe Kangas
ded47a0c25
Make live indicator use our theme colors. For #1899 2022-10-08 16:51:49 -07:00
Gabe Kangas
2de23a3458
Only client-render server-rendered templates in production builds. Closes #2176 2022-10-08 15:34:11 -07:00
Gabe Kangas
6c2e25e597
Update the offline banner. Filed #2179 to discuss text 2022-10-08 15:05:52 -07:00
Cleo John
34f35974e0
Change Airplay to SVG and refactor (#2156)
* Replaced airplay.png with airplay.svg

* Refactor VideoJS.scss to propper scss syntax

* Fix for the messup I made during the refactor

* fix airplay size

* hotfix fixed aircast styling
2022-10-06 18:57:49 -07:00
renovate[bot]
cd0db12ac6
chore(deps): update typescript-eslint monorepo to v5.39.0 2022-10-06 09:01:38 +00:00
Gabe Kangas
19e4e99127
First pass at the social/federated chat component. Closes #2172 2022-10-05 22:43:24 -07:00
renovate[bot]
e83498fbb7 fix(deps): update fontsource monorepo 2022-10-05 19:23:06 +00:00
renovate[bot]
20dfa82381
fix(deps): update dependency picmo to v5.7.1 2022-10-05 06:04:16 +00:00
renovate[bot]
bf3c717bd4
fix(deps): update dependency antd to v4.23.4 2022-10-05 03:26:09 +00:00
Gabe Kangas
45c7fa4f7e
Only show chat send button on mobile 2022-10-04 19:14:50 -07:00
Gabe Kangas
6c9f9f6507
Add additional example chat items to story 2022-10-04 19:14:50 -07:00
Gabe Kangas
5742845b7c
Fix values in the follow form 2022-10-04 18:43:15 -07:00
renovate[bot]
cf3333dcb6
fix(deps): update dependency react-virtuoso to v2.19.1 2022-10-04 20:52:13 +00:00
Evgeniy Kosov
fcf488c577
Fix slider marks by changing the corresponding labels to non-empty string (#2171) 2022-10-04 13:19:23 -07:00
Evgeniy Kosov
d2024d30d2
Add ability to move social handles up/down (#2168) 2022-10-04 11:22:01 -07:00
renovate[bot]
a0a7c9fe5d
chore(deps): update dependency @svgr/webpack to v6.4.0 2022-10-04 06:57:28 +00:00
Gabe Kangas
215a3096db
Do not allow enabling federation features on if not port 443. Closes #2008 2022-10-03 22:24:12 -07:00
Gabe Kangas
b1484f4c9f
Lazy load some components that aren't needed at load. For #2167 2022-10-03 21:06:46 -07:00
renovate[bot]
9c5316c25b chore(deps): lock file maintenance 2022-10-03 15:29:03 +00:00
t1enne
b87076759c styled chat join messages 2022-10-03 10:15:41 +02:00
t1enne
91bc45dbef moved borders to the right for own msgs. Closes #2074 2022-10-03 09:51:28 +02:00
Gabe Kangas
a931fe0ddf
Update the chat moderation modal with slightly better layout. Closes #2073 2022-10-02 11:02:33 -07:00
Gabe Kangas
65b6feb40d
Do not point to localhost 2022-10-02 11:02:33 -07:00
Cleo John
765cfa4f5a
Added Modal to notify user how to disable notifications (#2154)
* Added Modal to notify user how to disable notifications

* add comment for notification permissions

This adds a comment to describe the behavior of showing the modal on how to disable them if wanted.
Also changed other comment to comply with the new one.

Co-authored-by: Waterdev <wolfistgeil@gmail.com>
2022-10-02 09:42:06 -07:00
t1enne
adea618a44 improved ui of chat text input 2022-10-01 10:34:59 +02:00
renovate[bot]
ddf97d2317
fix(deps): update dependency antd to v4.23.3 2022-10-01 04:33:00 +00:00
renovate[bot]
51fe283cf7 chore(deps): update dependency typescript to v4.8.4 2022-10-01 04:31:27 +00:00
renovate[bot]
2138cb2bcb
chore(deps): update dependency @babel/core to v7.19.3 2022-09-30 12:19:21 +00:00
t1enne
44ef64b3b5 fixed chat container not showing in SB + minor changes 2022-09-30 13:17:22 +02:00
t1enne
892532dfa2 moved scroll to bottom btn to own comp 2022-09-30 13:16:35 +02:00
t1enne
f90295269e Updated styles to match design for chat msgs 2022-09-30 09:57:12 +02:00
t1enne
a9f97346a7 added chat bg variable and updated bg color to match design 2022-09-30 09:56:10 +02:00
renovate[bot]
5c36ac0cb7
chore(deps): update dependency chromatic to v6.10.1 2022-09-30 05:45:09 +00:00
renovate[bot]
5eb8686383
chore(deps): update nextjs monorepo to v12.3.1 2022-09-30 02:53:50 +00:00
renovate[bot]
e8e9f0e2b1
Update dependency slate-react to v0.83.0 (#2135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-29 13:35:05 -07:00
renovate[bot]
3da849ac46
chore(deps): update typescript-eslint monorepo to v5.38.1 2022-09-29 11:56:09 +00:00
renovate[bot]
a3cb3c9551
fix(deps): update dependency react-virtuoso to v2.19.0 2022-09-29 08:37:56 +00:00
renovate[bot]
d49c69893a
chore(deps): update dependency sass to v1.55.0 2022-09-29 08:26:16 +00:00
renovate[bot]
bc33a2c738
fix(deps): update dependency rc-util to v5.24.4 2022-09-29 08:21:57 +00:00
renovate[bot]
c2e73bc86d
fix(deps): update dependency autoprefixer to v10.4.12 2022-09-29 03:50:07 +00:00
renovate[bot]
015ce2a02b
chore(deps): update storybook monorepo to v6.5.12 2022-09-29 01:48:25 +00:00
renovate[bot]
c20e3c2ca3
chore(deps): update dependency @types/react to v18.0.21 2022-09-29 01:44:52 +00:00
renovate[bot]
9a59436fa8
chore(deps): update dependency eslint to v8.24.0 2022-09-28 23:24:35 +00:00
renovate[bot]
b794e2a173 Lock file maintenance 2022-09-26 14:23:17 +00:00
renovate[bot]
7639be0b8f Lock file maintenance 2022-09-20 02:31:52 +00:00
t1enne
683399c340 Removed fixed *px sizes in favor or *rem 2022-09-19 22:04:58 +02:00
renovate[bot]
99f4abb83a Update dependency rc-util to v5.24.3 2022-09-18 10:27:24 +00:00
Gabe Kangas
da153b83c9
Update some links in storybook readme. 2022-09-17 13:57:56 -07:00
renovate[bot]
7c6db31f77 Update dependency autoprefixer to v10.4.11 2022-09-17 19:10:04 +00:00
renovate[bot]
5e9c741535 Update dependency @babel/core to v7.19.1 2022-09-17 16:50:54 +00:00
renovate[bot]
1c3962a233
Update dependency storybook-dark-mode to v1.1.2 2022-09-16 23:53:29 +00:00
renovate[bot]
d6e71822df
Update dependency @types/react to v18.0.20 2022-09-16 17:21:00 +00:00
James Young
2ea638909d
docs: add how-to docs for creating components (#2124)
* docs: add HOW-TO docs for creating components

* Prettified Code!

Co-authored-by: jamescallumyoung <jamescallumyoung@users.noreply.github.com>
2022-09-16 09:19:55 -07:00
renovate[bot]
82291e17fc
Update dependency date-fns to v2.29.3 2022-09-16 14:00:57 +00:00
renovate[bot]
357279204e
Update dependency classnames to v2.3.2 2022-09-16 01:37:33 +00:00
renovate[bot]
5ee2a9ba69
Update dependency eslint to v8.23.1 2022-09-15 22:32:58 +00:00
renovate[bot]
01fccc7deb
Update dependency slate-react to v0.82.2 (#2113)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 22:19:49 -07:00
t1enne
0b35919357 Fixed messages not wrapping + changed some styles to accomodate scrollbar better 2022-09-13 08:43:59 +02:00
renovate[bot]
59e693f7d3 Lock file maintenance 2022-09-12 22:48:52 +00:00
renovate[bot]
a4309f416b Update dependency antd to v4.23.1 2022-09-12 19:15:39 +00:00
renovate[bot]
53184ce154
Update dependency xstate to v4.33.6 2022-09-12 11:51:25 +00:00
renovate[bot]
f044550e1f Update dependency eslint-plugin-react to v7.31.8 2022-09-12 05:47:58 +00:00
renovate[bot]
74a64b88d3 Update dependency picmo to v5.7.0 2022-09-12 05:42:39 +00:00
renovate[bot]
d1780f25ba Update dependency eslint-config-next to v12.3.0 2022-09-11 22:20:24 +00:00
renovate[bot]
716eaeaca7
Update dependency typescript to v4.8.3 2022-09-11 10:17:21 +00:00
gabek
5c1d7fd15d Prettified Code! 2022-09-11 05:39:40 +00:00
Gabe Kangas
d7a5364c40
Fix modal close icon color 2022-09-10 22:33:49 -07:00
Gabe Kangas
a17a364e04
Change tabs separator color. Closes #2099 2022-09-10 22:19:32 -07:00
Gabe Kangas
88919efde9
Add read-write chat embed. Closes #1906 2022-09-10 21:19:35 -07:00
Gabe Kangas
b42876e34e
Update max width of custom content. Closes #2092 2022-09-10 20:16:36 -07:00
Gabe Kangas
8ee9be5d88
Support disabled chat. Closes #1979 2022-09-10 20:03:58 -07:00
gabek
c98872c698 Prettified Code! 2022-09-11 01:49:52 +00:00
Gabe Kangas
13167c331b
Additional style tweaks 2022-09-10 18:48:32 -07:00
Gabe Kangas
8d02f4068d
Polish up the initial loading experience 2022-09-10 18:08:56 -07:00
Gabe Kangas
5b29abd42d
Some additional style overrides 2022-09-10 18:08:56 -07:00
renovate[bot]
8d61e143d1
Update dependency sass to v1.54.9 2022-09-11 00:14:10 +00:00
Gabe Kangas
42ff0cdb01
Add server-side hydration of initial config+status. Closes #1964 2022-09-10 15:37:07 -07:00
Gabe Kangas
0430adc502
Add mobile-specific tabs+content 2022-09-10 12:08:28 -07:00
Gabe Kangas
a2fa754922
Delete example form story 2022-09-10 12:08:28 -07:00
renovate[bot]
661a7d2b53
Pin dependency next to 12.3.0 (#2096)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-10 00:26:10 -07:00
renovate[bot]
60c8312641
Update dependency react-virtuoso to v2.18.0 2022-09-10 06:56:13 +00:00
Gabe Kangas
c5947f5de4
Delete old chat doc 2022-09-09 23:40:16 -07:00
Gabe Kangas
20ea5d051f
Clean up some styles and fix mobile rendering 2022-09-09 23:23:24 -07:00
Gabe Kangas
02de9cf6df
Support clickable links in description 2022-09-09 23:03:49 -07:00
Gabe Kangas
8b3c4571fd
Bump Nextjs version 2022-09-09 20:16:48 -07:00
Gabe Kangas
a5d9d4dd36
Remove unused react-contenteditable 2022-09-09 17:43:57 -07:00
Gabe Kangas
4ead1b9840
Remove unused package 2022-09-09 17:43:30 -07:00
Gabe Kangas
129d08144b
Fix bad default bool 2022-09-08 22:23:43 -07:00
Gabe Kangas
b914408a11
Make footer not translucent 2022-09-08 22:23:28 -07:00
Gabe Kangas
2774f4260a
Add FediAuth modal 2022-09-08 21:44:52 -07:00
Gabe Kangas
b966babf64
Point to light ant styles by default 2022-09-08 21:44:06 -07:00
Gabe Kangas
cedfd18208
Fix next builds 2022-09-08 21:43:32 -07:00
renovate[bot]
859f70c039 Update dependency rc-util to v5.24.2 2022-09-08 23:31:01 +00:00
renovate[bot]
2860e6bf9b Update dependency @babel/core to v7.19.0 2022-09-08 23:26:42 +00:00
renovate[bot]
1acfd2b57c
Update dependency eslint-plugin-react to v7.31.7 2022-09-08 23:25:12 +00:00
Gabe Kangas
0def4fe66a
Increase change threshold for Chromatic UI tests 2022-09-08 13:09:11 -07:00
renovate[bot]
0f2783078c
Update dependency sharp to v0.31.0 2022-09-08 14:29:29 +00:00
renovate[bot]
feadc2ec55
Update dependency picmo to v5.6.3 2022-09-07 18:28:37 +00:00
renovate[bot]
6db78da254 Update dependency antd to v4.23.0 2022-09-07 14:36:00 +00:00
James Young
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
renovate[bot]
d0a14e2f37
Update typescript-eslint monorepo to v5.36.2 (#2093)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 23:31:38 -07:00
Gabe Kangas
121c9415f1
Wire up emoji+custom emote selector to text input. Closes #1887 2022-09-06 17:52:09 -07:00
renovate[bot]
aea3b1e9cc
Update dependency chromatic to v6.9.0 (#2085)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 09:00:47 -07:00
Gabe Kangas
065c36a0a6
Fix invalid linter error about onLoad on an iframe 2022-09-04 22:52:32 -07:00
renovate[bot]
62f2217b09
Update dependency eslint-plugin-react to v7.31.6 (#2084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 22:38:40 -07:00
Gabe Kangas
c61bea29ee
Add read-only chat embed page. Closes #1905 2022-09-04 21:53:04 -07:00
Gabe Kangas
b8a108ba03
Fix chat message story 2022-09-04 18:09:30 -07:00
Gabe Kangas
ac7e095fdf
Handle hide/show chat messages via moderation. Closes #1986 2022-09-04 17:58:06 -07:00
renovate[bot]
c3a3d0bea3 Update dependency xstate to v4.33.5 2022-09-04 20:17:10 +00:00
renovate[bot]
cdba71c0b0
Update dependency sass to v1.54.8 2022-09-03 20:44:25 +00:00
gabek
682b525eb8 Prettified Code! 2022-09-03 18:39:18 +00:00
James Young
5ebbbb8bf2
refactor(stories): co-locate stories with components (#2078)
* refactor: move ActionButton component

* refactor: move BanUserButton component

* refactor: move ChatActionMessage component

* refactor: move ChatContainer component

* refactor: move AuthModal component

* refactor: move BrowserNotifyModal component

* refactor: move ChatUserMessage component

* refactor: move ChatJoinMessage component

* refactor: move ChatTextField component

* refactor: move ChatUserBadge component

* refactor: move FollowerCollection and SingleFollower components

* fix: bad import path

* refactor: move FollowModal component

* refactor: move Modal component

* refactor: move ContentHeader component

* refactor: move ChatSystemMessage component

* refactor: move Header component

* refactor: move Footer component

* refactor: move StatusBar component

* refactor: move OfflineBanner component

* refactor: move OwncastPlayer component

* refactor: move IndieAuthModal component

* refactor: move SocialLinks component

* refactor: move VideoPoster component

* refactor: move FollowModal component

* refactor: move FediAuthModal.tsx component

* refactor: move UserDropdown component

* refactor: move ChatSocialMessage component

* refactor: move Logo component

* refactor: move NotifyReminderPopup component

* refactor: move NameChangeModal component

* refactor: move FatalErrorStateModal component

* refactor: move ChatModeratorNotification component

* refactor: move ChatModerationActionMenu and ChatModerationDetailsModal components

* refactor: move CustomPageContent component

* refactor: move storybook Introduction file

* refactor: update storybook story import path

* refactor: move storybook preview styles

* refactor: move storybook doc pages

* refactor: move Color and ImageAsset components

* fix: bad import path

* fix: bad import path in story file
2022-09-03 11:38:52 -07:00
renovate[bot]
d40e87c58b
Update dependency picmo to v5.6.2 (#2079)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 10:23:25 -07:00
renovate[bot]
2a84ff9343
Update dependency eslint-plugin-react to v7.31.1 2022-09-03 05:29:03 +00:00
renovate[bot]
ff1db45750
Update typescript-eslint monorepo to v5.36.1 2022-09-03 01:47:48 +00:00
renovate[bot]
592dd0bbaf
Update dependency typescript to v4.8.2 2022-09-03 01:22:00 +00:00
renovate[bot]
0c2a9a1b89
Update dependency eslint to v8.23.0 2022-09-03 01:17:06 +00:00
renovate[bot]
eb11add620
Update dependency storybook-preset-less to v1.1.3 2022-09-03 01:03:53 +00:00
renovate[bot]
9432a4b525
Update dependency antd to v4.22.8 2022-09-02 20:11:51 +00:00
renovate[bot]
1dc483ad8f
Update dependency @types/react to v18.0.18 2022-09-02 20:07:53 +00:00
Gabe Kangas
dbcccb79f5
Add margin below content 2022-09-01 22:00:16 -07:00
Gabe Kangas
7a9332408e
Change font+weight of action buttons 2022-09-01 22:00:16 -07:00
Gabe Kangas
46166a78d9
Set message content as renderable html 2022-09-01 22:00:16 -07:00
Gabe Kangas
6d7f0302bf
Replace the auth chat message badge with an icon 2022-09-01 22:00:15 -07:00
Gabe Kangas
aa0b43074f
Fix chat user color variable 2022-09-01 19:37:21 -07:00
Gabe Kangas
e0926b9350
Set modal header font 2022-09-01 19:37:21 -07:00
Gabe Kangas
8801f814db
Import ant overrides in storybook 2022-08-30 11:55:33 -07:00
Gabe Kangas
277dc700fa
Fix error background 2022-08-30 11:41:11 -07:00