-
-
Notifications
You must be signed in to change notification settings - Fork 542
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
Patch 1 #1681
Patch 1 #1681
Conversation
ModalHelper no longer needed after fixing up modal.confirm default ok/cancel dialog Added new switch 'custom' property. Disables default click handler, lets us display modal dialog without switching underlying option, cancelling modal dialog means underlying switch is never touched.
adding switch.flip(), lets us manually change switch position
formatting, spaces to tabs
player_quality reflects 1080p resolution limit when player_h264 is enabled
use id to directly switch linked options instead of relying on previousSibling/nextSibling
moved repeating code in player_codecs into common function player_quality now clearly shows Video wont work when codecs are disabled.
@raszpl thank you again! time for a new stable release? 😎 |
some testing before would be nice, like please verify that the |
thanks! @raszpl
fixed that. All your work is now pending in all stores. A bug is: After installation, h.264 needs to be clicked twice before it reacts and the modal appears |
and its because of code-charity/SATUS#6 (comment)
Now I know why it was a string :] https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset it cant be anything else. New plan. Instead of storing 'false' we can just "delete this.dataset.value", then it works just like boolean false. Am I correct in assuming
"value: true" here means this option starts its life enabled until user changes it? then why are those seven set to "value: false" oh and btw good job testing with empty config! |
solidjs/solid#1101 and things start to get clear, using html attributes for boolean values is difficult and everyone is forced to make special cases for it. html attributes as booleans are cumbersome :/ Two ways going about it, we either:
Ill just do the first for now as its easiest :) |
Looks like it can be removed & isnt by the author of satus; (Seems @dodieboy first used it https://github.com/code-charity/youtube/pull/1020/files#diff-3df6958c77d615b266b54fcf12fadf313e7c1e4b168f0c61ea8c3424eb39eb8c )
While people have config files, as an app, I only consider the repo files, unless a human sets me up for auto-testing 🙊
exactly😊 ( #1685 ) ..And just in case you like the insight: this was the only issue on Thursday. = `v4.raszpl` went through well. (While extra uninstalls will be from the "no 60fps", some excitement (reinstalltions) with no bugs also just happen at any update, both of which was very worth it.) + Through our log for the uninstall.html, i might/we could react faster than bug reports, if it goes up. ( https://improvedtube.com/uninstalls-hours-days-usatime-updated-every-3-minutes ) |
good to know. I need to look how "active features works", how does it know when something is enabled/disabled. Extension should really use same method to know when some option is worth saving in the config. This way turning something ON and OFF again wont pollute config with useless "something:disabled", only truly enabled options will be stored.
player_60fps is an unfortunately named option :(, we dont really enable 60fps, we disable blocking >30fps. Maybe it should be turned into Framerate 'select' with options: [All, limit to 50, limit to 30]. One thing I think is missing from this extension is a changelog, every update should come with one so users can quickly see if new problem they are experiencing might be caused by recent change, or discover new features. |
just for clarity neither this What I think might have been the problem were people who disabled all available video codecs while that option was pure placebo and didnt work, and when you pushed patch with my fix all of a sudden it started working and "Your browser can't play this video." #1695 . Unintended consequences :( with hindsight that update should have reset [block_vp9, block_h264, block_av1] options. Changelog announcing the change might have helped as well. Ill try to do better next time. |
hi, so sad i missed the answers again! (BTW wondering to invite every user to discord (+github / or at least the right few % if possible) and sync discord with (web-)IRC allowing guests too)
yes & as you said before, we aren't required to keep anything "on" by default, but could feature those that improve performance or avoid distractions differently in their own lists / search shortcuts.
( just noticing you said it here too👍😀)
Yes, or again at least some % of users who will be interested, like those who installed the beta version. like https://github.com/code-charity/youtube/releases + there could be a major note, yearly or so, for every user (including a fundraiser for bug bounties, charity, ...)
exactly. And (!ImprovedTube.storage.player_60fps) blocked 60 FPS for everybody,
|
fix for "After installation, h.264 needs to be clicked twice before it reacts and the modal appears" #1681
ModalHelper no longer needed after fixing up modal.confirm default ok/cancel dialog
Added new switch 'custom' property. Disables default click handler, lets us display modal dialog without switching underlying option, cancelling modal dialog means underlying switch is never touched.
adding switch.flip(), lets us manually change switch position
formatting, spaces to tabs
player_quality reflects 1080p resolution limit when player_h264 is enabled
use id to directly switch linked options instead of relying on previousSibling/nextSibling