Commit graph

298 commits

Author SHA1 Message Date
Gabe Kangas
81e1f7920b
Disable snapshot UI tests on certain stories. Closes #2642 2023-01-30 14:46:34 -08:00
Owncast
9ee9983bda Commit updated Storybook stories 2023-01-30 22:10:01 +00:00
Gabe Kangas
a51f831aa8
Merge branch 'gek/webv2-merge' into develop 2023-01-30 14:06:10 -08:00
Gabe Kangas
b1efd241f2
Point story at develop 2023-01-29 18:46:54 -08:00
Owncast
e37563d173 Commit updated Storybook stories 2023-01-28 21:21:54 +00:00
Gabe Kangas
a10c7bbac1
Add sticker design to asset collection 2023-01-28 13:17:11 -08:00
Gabe Kangas
ee3e81d163
Fix storybook image paths 2023-01-27 20:36:44 -08:00
Gabe Kangas
3cd99033c4
Add additional assets to Storybook 2023-01-27 20:33:45 -08:00
Gabe Kangas
3dda431079
Remove references to webv2 branch in docs and builds 2023-01-27 20:16:47 -08:00
Gabe Kangas
f97c180c3d
Add additional assets to Storybook 2023-01-27 20:13:23 -08:00
Gabe Kangas
212a12b4ef
Organize colors 2023-01-27 15:35:53 -08:00
Gabe Kangas
ed3ba377b1
Split out emoji stories per collection 2023-01-26 20:46:10 -08:00
Gabe Kangas
647685627d
Generate more stories from images 2023-01-26 20:15:02 -08:00
Owncast
f4ef01fca0 Commit updated Storybook stories 2023-01-27 01:15:50 +00:00
Gabe Kangas
a5a6587234
Remove storybook dark mode. It is ugly. 2023-01-26 17:08:23 -08:00
Gabe Kangas
05151ab95f
Fix license link 2023-01-26 16:37:29 -08:00
Gabe Kangas
7d34634778
Run documentation story script 2023-01-26 16:15:10 -08:00
Gabe Kangas
b16a34eb3e
Fix relative img path 2023-01-26 16:01:28 -08:00
Gabe Kangas
518bfd3829
Remove unused story 2023-01-26 15:38:53 -08:00
Gabe Kangas
a3e77687d4
Add select documentation to Storybook 2023-01-26 15:23:25 -08:00
Gabe Kangas
41435e2d7e
Generate Emoji image storybook page 2023-01-26 14:18:12 -08:00
Gabe Kangas
2b46bb5b6d
Make statusbar dark 2023-01-18 19:18:30 -08:00
Gabe Kangas
a0fecb7e1f
Update image paths in story 2023-01-12 15:06:01 -08:00
Gabe Kangas
85dc3bf21e
Fix storybook errors 2023-01-10 01:00:13 -08:00
Gabe Kangas
813f8692f0
Support color customization from the admin (#2338)
* Add user-customizable theming. Closes #1915

* Prettified Code!

* Add user-customizable theming. Closes #1915

* Add explicit color for page content background

* Prettified Code!

Co-authored-by: gabek <gabek@users.noreply.github.com>
2022-11-12 20:26:55 -08:00
Gabe Kangas
d8e1b037d9
Remove some unused storybook addons 2022-10-18 23:11:18 -07:00
Gabe Kangas
6745759904
Tell storybook to use mdxv2 2022-10-16 21:48:19 -07: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
da153b83c9
Update some links in storybook readme. 2022-09-17 13:57:56 -07:00
Gabe Kangas
88919efde9
Add read-write chat embed. Closes #1906 2022-09-10 21:19:35 -07:00
Gabe Kangas
c5947f5de4
Delete old chat doc 2022-09-09 23:40:16 -07: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
Gabe Kangas
c61bea29ee
Add read-only chat embed page. Closes #1905 2022-09-04 21:53:04 -07: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
Gabe Kangas
f3a16be0dd
Add user detail API + modal. Closes #2002 2022-07-20 22:36:20 -07:00
Gabe Kangas
78dc183c11
Fix warning 2022-06-21 17:28:12 -07:00
Gabe Kangas
bf8a7e9f1a
Fix svg related errors with storybook 2022-05-27 13:44:38 -07:00
Gabe Kangas
8ce045aa9a
Fix dark mode on storybook 2022-05-17 16:08:38 -07:00
Gabe Kangas
ae78716572
Add more placeholder components and some mocks 2022-05-12 20:52:19 -07:00
Gabe Kangas
363787faa3
Add some links and context to readme 2022-05-12 15:41:54 -07:00
Gabe Kangas
c99fcf5ed9
Tweak storybook UI a bit 2022-05-07 01:13:26 -07:00
Gabe Kangas
a78869302e
Add style-dictionary definitions 2022-05-06 23:29:44 -07:00
Gabe Kangas
eadd27b6c0 Some Storybook configuration 2022-04-25 15:55:05 -07:00
Gabe Kangas
be441ae530 Add inter font to project 2022-04-25 15:52:39 -07:00
Gabe Kangas
e49948a215 Add colors to storybook 2022-04-25 15:52:39 -07:00
Gabe Kangas
3ce6fd4cb3 Add support for less variables and using a custom theme 2022-04-25 15:52:38 -07:00
Gabe Kangas
1c77219a75 First pass at component library 2022-04-25 15:52:38 -07:00