-
Couldn't load subscription status.
- Fork 1.3k
Update next video countdown toast to be refreshed per second instead of using workaround #8103
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
Update next video countdown toast to be refreshed per second instead of using workaround #8103
Conversation
…d of using workaround
|
hmm maybe i'm interpreting this wrong but doesnt this kind of addresses #2340? It doesnt fade anymore so i think that can be closed |
|
Updated description for #2340 |
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.
Please update the jsdoc for the showToast function in src/renderer/helpers/utils.js to match the type changes here.
| interval: 0, | ||
| id: idCounter++ | ||
| } | ||
| time = time || 3000 |
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.
| time = time || 3000 | |
| time ||= 3000 |
|
Updated |
|
Sorry I missed it justing my first review, could you please also update the |
|
I introduced |
* development: Update next video countdown toast to be refreshed per second instead of using workaround (FreeTubeApp#8103) Remove unused supportsYtdlProtocol from the external player map file (FreeTubeApp#8107) Translated using Weblate (Dutch) Translated using Weblate (Spanish) Translated using Weblate (Spanish) Translated using Weblate (Spanish) Translated using Weblate (Hebrew) Hide Proxy password (FreeTubeApp#8102) # Conflicts: # src/renderer/components/FtToast/FtToast.vue
|
@PikachuEXE There is a bug in the autoplay logic. Autoplay toast counts down while next video is already loading if countdown is set to 0 in the Player settings. VirtualBoxVM_b3JKT7jfnQ.mp4 |
Pull Request Type
Related issue
Extracted from #8047 (except the update of
Playing Next Video IntervalpartIf this is merged before #8094, that PR requires a minor fix, if reversed, this PR should be updated
Closes #2340
Description
Count down message (e.g. Playing next video in N seconds) currently implement as series of toasts shown 700ms (per 1s)
This PR just make the toast show for N seconds and update message every second (hardcoded to be 1s as no use case requires otherwise)
Screenshots
Lazy, test yourself :)
Testing
Desktop
Additional context