Improve README formatting and enhance adblocker functionality #3016
No reviewers
Labels
No labels
awaiting-reply
breaking changes
bug
cannot-reproduce
dependencies
documentation
duplicate
electron-issue
enhancement
fix-available
good first issue
help wanted
invalid
javascript
need more information
need rebase
official-youtube-music-issue
plugin request
question
release
security
stale
Status: blocked
typo
wontfix
ytmd-issue
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#3016
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Update README and changelog formatting, improve TypeScript type annotations, and enhance the functionality of the adblocker plugin.
@ -0,0 +4,4 @@
);
if (skipButton) {
skipButton.click();
}
We don't need void because the type is automatically inferred by typescript.
@ -0,0 +76,4 @@
);
// Set up request blocking and analytics
if (session && blocker) {
ditto
@ -0,0 +1,3 @@
export default async (): Promise<void> => {
This error does not need to be handled here.
@ -1,14 +1,20 @@
{
There are no comments in the JSON standard specification, please remove them.
I see nothing of the sort, is this meant to be a draft PR?
Probably at the beginning when I was trying to improve some of the procedure on the adblock working way, but apparently wasn't good, so I remove it following the comments
I'll probably have a look later to see if I can do something else
adding a try/catch and simply logging the error does not "enhance" the adblocker's "functionality" in any way,
hence why I asked if this is a draft, because if it is a draft, then we have no reason to review this until you are done
@peter9811
for UI stuff we usually use solid-js
e.g. https://github.com/th-ch/youtube-music/pull/3066/files
Are you asking AI IDEs like Cursor to "improve my code"?
Holy smokes, 8,503 additions?
Dude, no matter the quality of your PR, changes this big are impossible to review and merge.
If you actually care about contributing, then I recommend splitting up your PR in digestible chunks.
You'll do both yourself and the reviewer a favor :^)
PS: That way even if the reviewer rejects certain parts of your changes, they won't reject all of your changes.
Pull Request Overview
This PR improves the overall formatting of the README and changelog files across multiple languages and updates the ESLint configuration, TypeScript annotations, and adblocker plugin functionality.
Reviewed Changes
Copilot reviewed 60 out of 64 changed files in this pull request and generated no comments.
Show a summary per file
Files not reviewed (4)
Pull request closed