Commit graph

1331 commits

Author SHA1 Message Date
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
Gabe Kangas
113c3deaea
Make action buttons primary for now 2022-08-30 11:41:11 -07:00
gabek
70ef1e0e98 Prettified Code! 2022-08-30 17:59:04 +00:00
Gabe Kangas
ef30ddc892
Fix font not being defined 2022-08-30 10:58:26 -07:00
Gabe Kangas
b3281ddc56
Remove odd imports 2022-08-29 23:39:01 -07:00
Gabe Kangas
6c06f4fd67
Update footer 2022-08-29 23:33:53 -07:00
gingervitis
d5fa81f76e
Draft: rough-ish draft of proposed color theme changes (#2067)
* color experimentation and troubleshooting

* create color scheme, assign colors, more ant overrides

* fun selection color

* Prettified Code!

* Correctly import opensans

* Prettified Code!

* Organize+standardize colors/names and update the app to use them

* Prettified Code!

* Use css var references instead of resolving value of vars in css files

* Prettified Code!

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: gabek <gabek@users.noreply.github.com>
2022-08-29 23:17:12 -07:00
renovate[bot]
a1f97afe61
Lock file maintenance (#2069)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-29 12:52:41 -07:00
renovate[bot]
d9a0033fc3 Update dependency xstate to v4.33.4 2022-08-29 14:43:35 +00:00
renovate[bot]
254ce3b79e
Update typescript-eslint monorepo to v5.35.1 (#2063)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 19:17:52 -07:00
renovate[bot]
6bff5480da
Update dependency picmo to v5.6.1 (#2059)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 19:17:02 -07:00
renovate[bot]
a6ad513537
Update dependency slate-react to v0.82.1 (#2058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 15:00:12 -07:00
renovate[bot]
95534872c1 Update dependency @babel/core to v7.18.13 2022-08-26 20:14:33 +00:00
renovate[bot]
0ee7356ecf
Update dependency slate to v0.82.1 (#2057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 13:12:43 -07:00
renovate[bot]
b00384ae35
Update dependency antd to v4.22.7 (#2060)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-24 17:21:06 -07:00
Gabe Kangas
f3d611e762
Fix content header not rendering properly on mobile 2022-08-22 21:50:17 -07:00
Gabe Kangas
c2bd9436ba
Show moderation menu for moderators. Closes #1864 2022-08-22 19:25:16 -07:00
Gabe Kangas
be6e3d9ad9
Add remote fediverse follow modal. Closes #1862 2022-08-22 18:30:58 -07:00
Gabe Kangas
1a9b9f53fc
Add remote fediverse follow modal. Closes #1862 2022-08-22 18:27:47 -07:00
renovate[bot]
0a693331ba Lock file maintenance 2022-08-22 13:06:58 +00:00
renovate[bot]
9d1670de65
Update dependency react-virtuoso to v2.17.2 (#2054)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-21 19:27:01 -07:00
Gabe Kangas
d8cf30a723
Only show send button on mobile. Make buttons inline with input field 2022-08-21 18:47:12 -07:00
Gabe Kangas
cd81aa56ed
Tighten up collapsed message spacing 2022-08-21 17:22:27 -07:00
Gabe Kangas
9e18cf2f0c
Fix incorrect font variable being used 2022-08-21 16:01:41 -07:00
Gabe Kangas
6cc184ea6f
Add standalone join message with user badge 2022-08-21 15:50:27 -07:00
Gabe Kangas
3cfcad7a93
Add user chat message badges. Closes #1988 2022-08-21 14:04:16 -07:00
renovate[bot]
dbfc3f9cfa
Update dependency date-fns to v2.29.2 (#2052)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-20 22:52:10 -07:00
renovate[bot]
edfea06b93
Pin dependency sharp to 0.30.7 (#2051)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-20 17:07:24 -07:00
Gabe Kangas
ea0dc28c61
Install sharp to fix importing pngs 2022-08-20 16:22:10 -07:00
Gabe Kangas
c4479a0ffc
Add first pass at IndieAuth modal. For #1863 2022-08-20 16:16:24 -07:00
renovate[bot]
60218366aa
Update dependency sass to v1.54.5 (#2049)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-20 14:31:32 -07:00
renovate[bot]
c9a5e2917e
Update typescript-eslint monorepo to v5.33.1 2022-08-20 16:57:35 +00:00
renovate[bot]
872dae8ab2
Update dependency picmo to v5.5.2 2022-08-20 13:30:26 +00:00
renovate[bot]
4c744d5f04
Update dependency eslint to v8.22.0 2022-08-20 13:23:52 +00:00
renovate[bot]
2560ef112e
Update dependency xstate to v4.33.2 2022-08-20 13:21:18 +00:00
renovate[bot]
e359f437d0
Update dependency antd to v4.22.6 2022-08-20 05:18:52 +00:00
Gabe Kangas
75b90179b8
Experiment with some custom player styling. For #1899 2022-08-18 19:59:17 -07:00
Gabe Kangas
a521ba21d8
Add admin field for setting offline message. Closes #1901 2022-08-16 21:48:06 -07:00
Gabe Kangas
6ffe720d90
Update to the page content header 2022-08-16 17:55:12 -07:00
renovate[bot]
5fcab95846
Pin dependency style-dictionary to 3.7.1 (webv2) (#2043)
* Pin dependency style-dictionary to 3.7.1

* Bundle embedded web app

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2022-08-15 20:56:39 -07:00
gabek
4a25082167 Prettified Code! 2022-08-16 03:30:40 +00:00
Gabe Kangas
8eb3762056
Standardize color ids 2022-08-15 20:30:05 -07:00
Gabe Kangas
f1fd1955eb
Set yaml to 2.0.0 2022-08-15 20:25:30 -07:00
Gabe Kangas
7dc2a1a4bc
Limit message collapsing to 2 minutes between messages 2022-08-15 19:44:29 -07:00
Gabe Kangas
052a669c2c
Fix build error with updated typescript 2022-08-15 18:58:34 -07:00
renovate[bot]
00f40ed7b8
Update dependency style-loader to v3 2022-08-16 01:20:56 +00:00
renovate[bot]
50f5fd9bc3
Update dependency sass-loader to v13 2022-08-16 01:16:55 +00:00
renovate[bot]
d7f80d7781
Update dependency markdown-it to v13 2022-08-16 01:12:36 +00:00
renovate[bot]
e30838ae3f
Update dependency less-loader to v11 2022-08-16 01:08:49 +00:00
renovate[bot]
99d2eebb1a
Update dependency css-loader to v6 2022-08-16 01:03:25 +00:00
renovate[bot]
5a85498d50
Update dependency typescript to v4.7.4 2022-08-16 00:59:24 +00:00
Gabe Kangas
1f4493aaf9
Fix linter warnings 2022-08-15 17:49:15 -07:00
renovate[bot]
5eb467d4de
Update dependency rc-util to v5.23.0 2022-08-16 00:21:41 +00:00
renovate[bot]
32eccd18a5
Update dependency prettier to v2.7.1 2022-08-16 00:18:08 +00:00
renovate[bot]
b403c05a1a
Update dependency eslint-plugin-react-hooks to v4.6.0 2022-08-16 00:14:44 +00:00
renovate[bot]
8c9e3482ed
Update dependency eslint-plugin-react to v7.30.1 2022-08-16 00:11:08 +00:00
renovate[bot]
8990d820b4
Update dependency eslint-plugin-prettier to v4.2.1 2022-08-16 00:07:49 +00:00
renovate[bot]
e0e9981366
Update dependency eslint-plugin-jsx-a11y to v6.6.1 2022-08-16 00:04:18 +00:00
renovate[bot]
5b3cc2d059
Update dependency eslint-plugin-import to v2.26.0 2022-08-16 00:01:00 +00:00
renovate[bot]
f27956d6cb
Update dependency eslint-config-prettier to v8.5.0 2022-08-15 23:57:33 +00:00
renovate[bot]
f11c1b2021
Update dependency date-fns to v2.29.1 2022-08-15 23:54:06 +00:00
renovate[bot]
1c7dedd366
Update dependency chartkick to v4.2.0 2022-08-15 23:50:41 +00:00
renovate[bot]
2fe9a412e7
Update dependency chart.js to v3.9.1 2022-08-15 23:47:51 +00:00
Gabe Kangas
b632699c87
Fix chat error with only a single message 2022-08-15 16:35:54 -07:00
renovate[bot]
640300beae
Update dependency react-markdown-editor-lite to v1.3.3 2022-08-15 23:34:33 +00:00
renovate[bot]
63fe51f310 Update dependency react-markdown to v8.0.3 2022-08-15 23:32:29 +00:00
renovate[bot]
60579c605d
Update dependency rc-overflow to v1.2.8 2022-08-15 23:30:09 +00:00
renovate[bot]
fcaf44bc00
Update dependency @types/prop-types to v15.7.5 2022-08-15 23:27:58 +00:00
renovate[bot]
125c7d41c1
Update dependency @types/chart.js to v2.9.37 2022-08-15 23:26:19 +00:00
renovate[bot]
f3f9775ec3 Update dependency eslint-config-next to v12.2.5 2022-08-15 23:24:57 +00:00
renovate[bot]
baa9ef4d8c
Update dependency slate to v0.82.0 (#2036)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-15 14:26:15 -07:00
renovate[bot]
f46e3adb0e
Update dependency slate-react to v0.82.0 (#2037)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-15 13:22:39 -07:00
renovate[bot]
964cfd7c3e
Update dependency react-chartkick to v0.5.3 (#2033)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-15 11:43:22 -07:00
renovate[bot]
76b049fa4a Update dependency eslint-plugin-storybook to v0.6.4 2022-08-15 18:25:07 +00:00
renovate[bot]
daad6036c9 Update dependency @storybook/testing-library to v0.0.13 2022-08-15 18:22:56 +00:00
renovate[bot]
12c22552db
Pin dependencies (#2032)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-15 09:42:17 -07:00
Gabe Kangas
44dde66b08
Reduce the custom content width and center it. For #1860 2022-08-14 18:33:04 -07:00
Gabe Kangas
c9321b2dda
Re-generate package-lock 2022-08-14 17:20:28 -07:00
Gabe Kangas
194090e1e4
Force storybook cli to install 2022-08-14 12:05:07 -07:00
gabek
ef56827bf2 Prettified Code! 2022-08-14 18:45:37 +00:00
Gabe Kangas
9e5ff5f35c
Regenerate styles 2022-08-14 11:45:01 -07:00
Gabe Kangas
4da64a6b35
Use actual moderation menu and remove the placeholder 2022-08-10 22:17:08 -07:00
Gabe Kangas
a7bbb06ea5
Fix mod menu showing. Closes #1990 2022-08-10 21:41:56 -07:00
Gabe Kangas
cf03a37aed
Remove category icon component 2022-08-10 20:32:16 -07:00
Gabe Kangas
f8429beef4
Add+style system style chat message. Closes #1998 2022-08-10 20:22:00 -07:00
Gabe Kangas
681067ab93
Add custom offline message+api. Part of #1901 2022-08-09 22:09:43 -07:00
Gabe Kangas
2c1624127a
Fix message collapsing incorrectly. Closes #2001 2022-08-09 20:58:10 -07:00
Gabe Kangas
423ed88fbd
Allow a fallback for storybook building 2022-08-09 20:12:21 -07:00
gabek
2bf7eb8c22 Prettified Code! 2022-08-10 02:58:09 +00:00
Gabe Kangas
68414445c2
Add support for changing user color in name modal. Closes #1805 2022-08-09 19:56:45 -07:00
Gabe Kangas
9187a7a435
Experiment with using image component for logo. Closes #2019 2022-08-09 14:38:23 -07:00
Gabe Kangas
80742097e6
Fix bad message moderation endpoint. Closes #2020 2022-08-02 12:51:18 -07:00
Gabe Kangas
0574725be8
Use vh instead of % to fix storybook rendering of chat container. 2022-07-21 12:15:03 -07:00
Gabe Kangas
25d52c4e1a
Bump Nextjs version 2022-07-21 00:20:26 -07:00
Gabe Kangas
f3a16be0dd
Add user detail API + modal. Closes #2002 2022-07-20 22:36:20 -07:00
Gabe Kangas
82a0b492a5
Add API mocking library 2022-07-20 20:41:03 -07:00
Gabe Kangas
00f8fea929
WIP of chat moderation menu, actions and modal 2022-07-16 17:34:19 -07:00
Gabe Kangas
f4fb7a1d41
Add chat system message component. For #1998 2022-07-15 13:15:20 -07:00
Gabe Kangas
2c8621c873
Add chat join messages 2022-07-14 21:05:34 -07:00
Gabe Kangas
9a2a43d916
Add moderator status chat message. Closes #1999 2022-07-14 20:36:47 -07:00
Gabe Kangas
756ab368c1
Action message component 2022-07-14 20:12:42 -07:00
Gabe Kangas
3d9fdab743
Import global.scss into storybook 2022-07-14 20:10:19 -07:00