Skip to content
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 core.js blocklist: safety, properly initialize, speed #2398

Merged
merged 17 commits into from
Jun 22, 2024
Merged

Update core.js blocklist: safety, properly initialize, speed #2398

merged 17 commits into from
Jun 22, 2024

Conversation

raszpl
Copy link
Contributor

@raszpl raszpl commented Jun 19, 2024

Tons of checks, everything is checked and initialized properly, switched to separate dedicate functions as its slightly faster.
Blocklist icon popups should be showing on video-previews now. Its not ideal, blocked thumbnails glitch a little when hovering over in search, needs some more CSS love.

#2236
#2334
#2393

also adds new ImprovedTube.createIconButton() function in \js&css\web-accessible\functions.js Extension has ~7 icon buttons used https://github.com/search?q=repo%3Acode-charity%2Fyoutube%20http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg&type=code and they are being manually created with icons stored all over the codebase, now all icons should be moved to central ImprovedTube.button_icons = {} repository in \js&css\web-accessible\core.js

@raszpl raszpl changed the title Update core.js properly initialize blocklist storage Update core.js blocklist: safety, properly initialize, speed Jun 19, 2024
@raszpl raszpl marked this pull request as ready for review June 20, 2024 00:18
@raszpl raszpl marked this pull request as draft June 20, 2024 09:29
@raszpl raszpl marked this pull request as ready for review June 22, 2024 17:00
@ImprovedTube ImprovedTube merged commit c78a787 into code-charity:master Jun 22, 2024
1 check passed
@ImprovedTube ImprovedTube added the Open! Not to forget. Unfinished (or waiting for a requirement) (unless combined with label: riddle) label Jun 22, 2024
@raszpl raszpl deleted the patch-5 branch June 22, 2024 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Open! Not to forget. Unfinished (or waiting for a requirement) (unless combined with label: riddle)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants