avallete / yt-playlists-delete-enhancer

Add a button to remove videos watched with more than X percent from watch later playlist.
MIT License
17 stars 3 forks source link

Fix append to DOM #143

Closed dnicolson closed 2 years ago

dnicolson commented 2 years ago

Description

This pull request delays appending to the DOM until after the ytd-update-grid-state-action event is dispatched.

Motivation and Context

Recent changes have resulted in some elements being unavailable on the DOMContentLoaded event.

How Has This Been Tested?

Manually in Chrome with a custom YouTube playlist.

Types of changes

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #143 (58b2177) into master (3001009) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #143   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines           52        52           
  Branches         7         7           
=========================================
  Hits            52        52           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d7593bc...58b2177. Read the comment docs.

avallete commented 2 years ago

:tada: This PR is included in version 1.5.6 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: