Gabe Kangas
9cb566681e
fix(ui): tweak footer padding and animation speed
2 years ago
Nathan
3bd45d09f3
feat: floating fading footer ( #3008 )
...
Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2 years ago
Gabe Kangas
23d29ac2ae
fix(ui): use showChat selector for dynamicPadding logic
2 years ago
Gabe Kangas
4fa960be8b
fix(ui): fix dynamic padding not taking disabled chat state into account
2 years ago
Gabe Kangas
630a5bf782
fix(mobile): support a dynamic mobile browser theme color
2 years ago
Gabe Kangas
646c5616da
fix(footer): add dynamic right padding to fix footer overflowing. Closes #2988
2 years ago
Nathan
04848c1d8c
fix:#2954-player-gets-cut-off-vertically ( #2987 )
...
* fix:#2954-player-gets-cut-off-vertically
* Use header-height variable everywhere
---------
Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2 years ago
Gabe Kangas
b225cd9dc7
feat(footer): use simpler version string
2 years ago
Gabe Kangas
02ac697bcf
fix(mobile): request to disable mobile web auto scaling. Closes #2970
2 years ago
Gabe Kangas
8c26137791
fix(mobile): remove footer on mobile. Closes #2962
2 years ago
Gabe Kangas
97fb5a80d0
fix(ui): restore page margin and background color. Closes #2959
2 years ago
Nathan
32c3f6a9b6
fix : #2668 Page Vertical Spacing Issues ( #2863 )
...
* fix : #2668 Page Vertical Spacing Issues
* Update test to reflect mobile work
* chore: refactor action buttons
---------
Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2 years ago
Pranav Joglekar
cbdf0bd401
fix: Prevent storybook from making websocket connections ( #2896 )
...
* feat: mock window.WebSocket to prevent WS calls from Main layout story
* Prettified Code!
---------
Co-authored-by: Pranav2612000 <Pranav2612000@users.noreply.github.com>
2 years ago
Gabe Kangas
79b6e56cd7
Use the same fake user in test
2 years ago
Gabe Kangas
7400033bee
Add missing rel to indieauth link. Closes #2791
2 years ago
Gabe Kangas
274aeb8be6
Add error boundary to ClientConfigStore modal. For #2811
2 years ago
Gabe Kangas
a3e10152c8
Additional difThreshold tweaks for UI tests comparison
2 years ago
Gabe Kangas
b5cc183a3c
Continue to bump diff threshold so UI tests do not register as changed
2 years ago
Gabe Kangas
b7132eeaa5
Remove marquee tag as it throws off the UI tests
2 years ago
Michael David Kuckuk
b38df2fbe3
Create stories for layout testing ( #2722 )
...
* Inject services with useContext
* Extract service for video settings
* Create mock factories for services
* Create test data for chat history
* Add story to visualize different layouts
* Fix renaming mistake
* Add landscape and portrait viewports
* Add landscape stories
---------
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2 years ago
Gabe Kangas
8b8f221eb4
Show streamTitle in header if set. Closes #2720
2 years ago
Michael David Kuckuk
c6136fc35c
Add noscript for browsers without JS ( #2592 )
...
* Make OwncastLogo more versatile
* Add noscript tag
* Commit updated API documentation
* Show all content on vertical overflow
---------
Co-authored-by: Owncast <owncast@owncast.online>
3 years ago
Gabe Kangas
cdaae66e94
Add skip links for content, player and footer. For #1826
3 years ago
Gabe Kangas
19c228eaf6
Allow adding custom javascript to the page. Closes #2604
3 years ago
Gabe Kangas
2853752937
Make each admin page specify is own layout. Closes #2584
3 years ago
André Rusakow
b8016eaa90
fix scroll on mobile ( #2585 )
...
* fix scrolling issues on mobile
* resolve conflict
3 years ago
Gabe Kangas
d5960524fc
Tweak admin styles to be using less custom overrides
3 years ago
Gabe Kangas
2ff4316ee6
Fix admin subpages not having a layout
3 years ago
Gabe Kangas
d8a5380b7f
Fix some React lifecycle and rendering errors that exist in build
3 years ago
Gabe Kangas
cfaeda94b0
Lazy load more components. #2167
3 years ago
Gabe Kangas
c05a20a460
Use built-in Next layout support + lazy load
...
Instead of doing manual layout switching use the Nextjs nested layout
support. Also add some additional lazy loading of components. This is to
work on performance score re: #2167 .
3 years ago
André Rusakow
0a602edf5e
Double scrollbars ( #2509 )
...
* hide footer on mobile to avoid double scrollbars
* fix double scrollbars on desktop by removing scroll behaviour from main section
* add scrollbar styles to body and html
* add vertical scrolling back to main section
* prevent header from collapsing and messing around with scrolling
* prevent body from scrolling for main layout
* move tablet breakpoint into breakpoint mixin
* preffify code
* remove js height calc for lower section on mobile and use css
* enable scrolling within a tab on mobile
* remove scrollbar from main section on mobile
* adjust header height on mobile
* add react use to web
* lock body scroll for main layout
3 years ago
Gabe Kangas
d4ffe02645
Fix title getting lost due to multiple callbacks firing. Closes #2351
3 years ago
Gabe Kangas
0c3d3f1c17
Move footer to not be sticky. Closes #2288
3 years ago
Gabe Kangas
2e0f0d1a53
Use absolute URL for og:image if set. Closes #2250
3 years ago
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>
3 years ago
Gabe Kangas
da66f3b051
Do not display go template tag in dev
3 years ago
Gabe Kangas
a0093fb0c9
Fix server rendered title tag. Closes #2251
3 years ago
Gabe Kangas
8aed27e44d
Refactor server-rendered tags. Closes #2246
3 years ago
t1enne
917248fc5b
moved footer to layout. changed some css
3 years ago
Gabe Kangas
4ca0e69be6
Open all links in a new tab. Closes #2160
3 years ago
Gabe Kangas
2c45b420e5
Import server-rendered template as plain text + add title tag. Closes #2161
3 years ago
Gabe Kangas
37cdbb8dbd
Add backgrounded stream+messages title notifier. Closes #2208
3 years ago
Pranav Joglekar
ee08c42c6d
improv ui: make footer sit at bottom ( #2212 )
...
This commit makes the footer always attach to the bottom of the screen.
This is done by setting the minWidth of the main antd layout component
to 100vh and moving the footer component outside the spinner, since antd
does not allow granular component inside the spin component.
This commit also removes some styles which were not being used due to
invalid antd api.
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
3 years ago
Gabe Kangas
4c13c3618d
Remove admin stylesheets from loading with app. Closes #2183
3 years ago
Gabe Kangas
2de23a3458
Only client-render server-rendered templates in production builds. Closes #2176
3 years ago
Gabe Kangas
8ee9be5d88
Support disabled chat. Closes #1979
3 years ago
Gabe Kangas
42ff0cdb01
Add server-side hydration of initial config+status. Closes #1964
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
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