-
Notifications
You must be signed in to change notification settings - Fork 842
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
Migrate FtTimestampCatcher to the composition API #6064
Migrate FtTimestampCatcher to the composition API #6064
Conversation
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.
and that middle or CTRL+clicking on a timestamp opens a new window which starts playing at that timestamp.
This doesnt open up the video in a new tab for me. Also doenst work on latest nightly build.
I did made it work by pressing right click on the timestamp which brings up the context menu which gives me to option to open in a new tab. So i think i can approve?
Middle click does open but not Cmd+Click but it's like that in dev |
As far as I know we don't do anything special for the open in new window stuff, so it's possible that Electron just has different behaviors oh different operating systems. |
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.
onclick
unchanged, plus it's how we handle YT link
this.handleYoutubeLink(el.href, {
doCreateNewWindow: event.type === 'auxclick'
})
* development: (153 commits) Migrate FtTimestampCatcher to the composition API (FreeTubeApp#6064) Translated using Weblate (Polish) Added functionality to export a single playlist (FreeTubeApp#5779) Fix video player displaying a vertical scrollbar when context menu outside player container (FreeTubeApp#6075) Fix use of deprecated Invidious route on the videos subscription tab (FreeTubeApp#6057) Apply active FreeTube theme to shaka-player menus (FreeTubeApp#5986) Bump sass from 1.80.4 to 1.80.6 (FreeTubeApp#6071) Bump mini-css-extract-plugin from 2.9.1 to 2.9.2 (FreeTubeApp#6068) Translated using Weblate (Vietnamese) Bump webpack from 5.95.0 to 5.96.1 (FreeTubeApp#6069) Translated using Weblate (Vietnamese) Bump sass-loader from 16.0.2 to 16.0.3 (FreeTubeApp#6070) Bump lefthook from 1.8.1 to 1.8.2 (FreeTubeApp#6067) Bump the eslint group with 2 updates (FreeTubeApp#6066) Bump youtubei.js from 11.0.0 to 11.0.1 (FreeTubeApp#6072) Migrate PasswordSettings and PasswordDialog to the composition API (FreeTubeApp#6036) Add some missing jsdoc comments, add jsdoc eslint plugin (FreeTubeApp#6048) Fix shortcut for macOS setting shortcut in video page (FreeTubeApp#6054) Use decodingInfo's powerEfficient property when picking streams (FreeTubeApp#6061) Translated using Weblate (Afrikaans) ...
Migrate FtTimestampCatcher to the composition API
Pull Request Type
Description
This pull request migrates the FtTimestampCatcher component to the compostion API. During the Vue 3 migration we'll have to change the
vue-router/composables
import tovue-router
, as it will error at build time if we don't change it it will be hard to miss and can be fixed quickly with a project wide find and replace, I decided it wasn't a big deal.Testing
Check that clicking on a timestamp jumps to that place in the video and that middle or CTRL+clicking on a timestamp opens a new window which starts playing at that timestamp.
Example video: https://youtu.be/jNQXAC9IVRw
Desktop