-
8000
Notifications
You must be signed in to change notification settings - Fork 60
added ability to watching videos in a series when queued #294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Currently translated at 54.8% (91 of 166 strings) Translation: ytify/web Translate-URL: https://hosted.weblate.org/projects/ytify/web/ro/
""" WalkthroughThe update refactors the video closing logic in the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant WatchVideo
participant Queue
User->>WatchVideo: Clicks Close button
WatchVideo->>WatchVideo: Calls close()
WatchVideo->>WatchVideo: Pause audio/video, close dialog, reset title
WatchVideo->>WatchVideo: Video ends (onended)
alt Queue has next item
WatchVideo->>WatchVideo: Calls close()
WatchVideo->>Queue: Triggers click on first queue item
end
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Translations update from Hosted Weblate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
vite.config.ts (1)
17-18
: Naming change from Version to Build seems appropriate for date-only information.The renaming from
Version
toBuild
with a simplified date-only format makes sense as it more accurately reflects the content being a build date rather than a semantic version number. The code uses a clean IIFE approach for formatting the date.For slightly improved readability, consider extracting the date formatting to a named function:
- Build: JSON.stringify( - ((today = new Date()) => `${today.getDate()} ${today.toLocaleString('default', { month: 'short' })} ${today.getFullYear()}`)() - ), + Build: JSON.stringify(formatBuildDate()),And add above:
function formatBuildDate() { const today = new Date(); return `${today.getDate()} ${today.toLocaleString('default', { month: 'short' })} ${today.getFullYear()}`; }
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
src/vite-env.d.ts
(1 hunks)vite.config.ts
(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- src/vite-env.d.ts
Summary by CodeRabbit
New Features
Refactor
Localization
Chores