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.
3 years ago
Gabe Kangas
80a012a3c7
Add current user object that holds user session values instead of standalone getters. Closes #2050
3 years ago
Gabe Kangas
dd5b8e7ce5
Start of empty follower tab state. For #1913
3 years ago
Gabe Kangas
7843487b76
Fix followers request
3 years ago
Gabe Kangas
34a5104a6d
Add and use additional light background color for custom page content
3 years ago
Gabe Kangas
7788fe3327
Support custom text in notify button
3 years ago
Gabe Kangas
8a946b8444
Do not show status bar unless live
3 years ago
Gabe Kangas
7e284aa4df
Remove the restricted width of the page content
3 years ago
Gabe Kangas
6c2e25e597
Update the offline banner. Filed #2179 to discuss text
3 years ago
Gabe Kangas
b1484f4c9f
Lazy load some components that aren't needed at load. For #2167
3 years ago
t1enne
a9f97346a7
added chat bg variable and updated bg color to match design
3 years ago
t1enne
683399c340
Removed fixed *px sizes in favor or *rem
3 years ago
Gabe Kangas
b42876e34e
Update max width of custom content. Closes #2092
3 years ago
Gabe Kangas
8ee9be5d88
Support disabled chat. Closes #1979
3 years ago
Gabe Kangas
8d02f4068d
Polish up the initial loading experience
3 years ago
Gabe Kangas
0430adc502
Add mobile-specific tabs+content
3 years ago
Gabe Kangas
20ea5d051f
Clean up some styles and fix mobile rendering
3 years ago
Gabe Kangas
b914408a11
Make footer not translucent
3 years ago
Gabe Kangas
2774f4260a
Add FediAuth modal
3 years ago
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>
3 years ago
Gabe Kangas
065c36a0a6
Fix invalid linter error about onLoad on an iframe
3 years ago
Gabe Kangas
ac7e095fdf
Handle hide/show chat messages via moderation. Closes #1986
3 years ago
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
3 years ago
Gabe Kangas
dbcccb79f5
Add margin below content
3 years ago
Gabe Kangas
6c06f4fd67
Update footer
3 years ago
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>
3 years ago
Gabe Kangas
f3d611e762
Fix content header not rendering properly on mobile
3 years ago
Gabe Kangas
c2bd9436ba
Show moderation menu for moderators. Closes #1864
3 years ago
Gabe Kangas
1a9b9f53fc
Add remote fediverse follow modal. Closes #1862
3 years ago
Gabe Kangas
c4479a0ffc
Add first pass at IndieAuth modal. For #1863
3 years ago
Gabe Kangas
a521ba21d8
Add admin field for setting offline message. Closes #1901
3 years ago
Gabe Kangas
6ffe720d90
Update to the page content header
3 years ago
Gabe Kangas
1f4493aaf9
Fix linter warnings
3 years ago
Gabe Kangas
44dde66b08
Reduce the custom content width and center it. For #1860
3 years ago
Gabe Kangas
cf03a37aed
Remove category icon component
3 years ago
Gabe Kangas
681067ab93
Add custom offline message+api. Part of #1901
3 years ago
Gabe Kangas
9187a7a435
Experiment with using image component for logo. Closes #2019
3 years ago
Gabe Kangas
533bdf9e3d
Remove duplicate summary
3 years ago
Gabe Kangas
c6e1a452ab
Render actual external action buttons. Closes #1997
3 years ago
Gabe Kangas
678d5c9fd6
Move statusbar back to under the player
3 years ago
Gabe Kangas
c4f51ec2c1
Guard against followers being unset
3 years ago
Gabe Kangas
8c2ffd5a0b
Pull followers from API. For #1861
3 years ago
Gabe Kangas
e0634abc98
Add Followers list and single follower component. Closes #1861
3 years ago
Gabe Kangas
100b43dd3a
Fix build errors
3 years ago
Gabe Kangas
255585cd9f
Update components to use the new style/color names
3 years ago
t1enne
f130abb8f9
Minor styling changes
3 years ago
t1enne
efbe6907ac
Reworked mobile UI for some components
3 years ago
t1enne
ffc73f2760
Added chat tab on mobile layouts and other changes to mobile UI
3 years ago
t1enne
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.
3 years ago
t1enne
e73013affb
Logo now uses clamp to determine size
3 years ago