Dev#1072
Conversation
Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/vitejs/vite-plugin-react/releases) - [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.2.1/packages/plugin-react-swc) --- updated-dependencies: - dependency-name: "@vitejs/plugin-react-swc" dependency-version: 4.2.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.9.2 to 24.10.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 24.10.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) from 5.90.6 to 5.90.7. - [Release notes](https://github.com/TanStack/query/releases) - [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md) - [Commits](https://github.com/TanStack/query/commits/@tanstack/react-query@5.90.7/packages/react-query) --- updated-dependencies: - dependency-name: "@tanstack/react-query" dependency-version: 5.90.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.46.2 to 8.46.3. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.46.3/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-version: 8.46.3 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 25.0.1 to 25.0.2. - [Release notes](https://github.com/semantic-release/semantic-release/releases) - [Commits](semantic-release/semantic-release@v25.0.1...v25.0.2) --- updated-dependencies: - dependency-name: semantic-release dependency-version: 25.0.2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…n/dev/vitejs/plugin-react-swc-4.2.1
…n/dev/types/node-24.10.0
…n/dev/tanstack/react-query-5.90.7
…n/dev/typescript-eslint-8.46.3
…n/dev/semantic-release-25.0.2
… bar when maximized #1070
…into separate files
|
Caution Review failedThe pull request is closed. WalkthroughThe PR updates localization files for Italian, Turkish, and Chinese; refactors maximize player button feature with header state management and event listeners; modifies playlist and watch-later button initialization logic using DOM queries; introduces a new Vite worker bundling plugin; centralizes build plugin path constants; and enhances build optimization with minification and code-splitting strategies. Changes
Sequence Diagram(s)sequenceDiagram
participant User as User (Mouse)
participant Doc as Document
participant Handler as Header Handlers
participant CSS as CSS Variables
participant UI as UI (Header/Video)
User->>Handler: Move mouse on maximized player
Handler->>Handler: Check mouse Y position
alt Mouse near top (< header height)
Handler->>CSS: Set --yte-header-visible
CSS->>UI: Reveal masthead (transform: 0)
Handler->>Doc: Set headerVisible = true
Handler->>Handler: Reset hover timeout
else Mouse away from top
Handler->>Handler: Start timeout
Note over Handler: Wait 3 seconds
Handler->>CSS: Clear --yte-header-visible
CSS->>UI: Hide masthead (transform: -100%)
Handler->>Doc: Set headerVisible = false
end
User->>Handler: Navigate to different page
Handler->>Handler: navigateStartHandler triggered
Handler->>UI: Show header, reset state
Handler->>Handler: Clear timeout
User->>Handler: Resize window
Handler->>CSS: Update --yte-video-height
CSS->>UI: Adjust video container height
sequenceDiagram
participant Build as Vite Build
participant Plugin as bundle-worker Plugin
participant esbuild as esbuild
participant Vite as Vite Asset Emit
participant Runtime as Runtime
Build->>Plugin: Resolve config (removes vite:worker)
Build->>Plugin: Transform module with ?worker suffix
Plugin->>Plugin: Strip ?worker from module id
Plugin->>esbuild: Bundle worker entry (minify: true)
esbuild->>Plugin: Return bundled code
Plugin->>Vite: Emit bundled code as asset
Vite->>Plugin: Return asset URL
Plugin->>Runtime: Replace module with Worker constructor
Runtime->>Runtime: new Worker(assetURL) at runtime
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes
Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (22)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🎉 This PR is included in version 1.30.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Random question, but... 🧐 ...when the video player itself is maximized, as is my default preference, is there some way to make the masthead/header remain permanently visible without hovering my mouse cursor? Even if that means adding some Custom CSS, I am more than okay with that, thanks for listening! |
Here is custom CSS that makes the maximize player feature function how you want it to work. You'll have to manually scroll past the header so the full video is within the browser height body[yte-maximized] #masthead-container {
transform: translateY(0%);
position: fixed;
z-index: 3000;
}
body[yte-maximized] .yte-maximized-video {
transform: translateY(0px) !important;
}
body[yte-maximized] div.html5-video-container,
body[yte-maximized] .yte-maximized-video-container {
height: var(--yte-video-height) !important;
}
body[yte-maximized] #columns {
margin-top: 0 !important;
}
body[yte-maximized] #full-bleed-container {
margin-top: 0 !important;
height: var(--yte-video-height) !important;
max-height: var(--yte-video-height) !important;
} |
Thank you so much! 💯🙏 |
Summary by CodeRabbit
New Features
Bug Fixes
Localization
Chores