Forráskód Böngészése

ref: remove todo comments

Sv443 1 éve
szülő
commit
2f7ca98a2b
3 módosított fájl, 2 hozzáadás és 4 törlés
  1. 0 1
      src/events.ts
  2. 0 1
      src/features/lyrics.ts
  3. 2 2
      src/types.ts

+ 0 - 1
src/events.ts

@@ -60,7 +60,6 @@ export async function initSiteEvents() {
       }
     });
 
-    // TODO: check if this works since autoplay seems to be lazy-loaded
     autoplayObs.observe(document.querySelector(".side-panel.modular ytmusic-player-queue #automix-contents")!, {
       childList: true,
     });

+ 0 - 1
src/features/lyrics.ts

@@ -23,7 +23,6 @@ const lyricsUrlCache = new Map<string, string>();
 /** How many cache entries can exist at a time - this is used to cap memory usage */
 const maxLyricsCacheSize = 100;
 
-// TODO: implement this
 /**
  * Returns the lyrics URL from the passed un-/sanitized artist and song name, or undefined if the entry doesn't exist yet.  
  * **The passed parameters need to be sanitized first!**

+ 2 - 2
src/types.ts

@@ -17,7 +17,7 @@ export interface FeatureConfig {
   arrowKeySupport: boolean;
   /** Add F9 as a hotkey to switch between the YT and YTM sites on a video / song */
   switchBetweenSites: boolean;
-  /** TODO: The hotkey that needs to be pressed to initiate the site switch */
+  /** TODO(v1.1): The hotkey that needs to be pressed to initiate the site switch */
   switchSitesHotkey: {
     key: string;
     shift: boolean;
@@ -38,7 +38,7 @@ export interface FeatureConfig {
   volumeSliderStep: number;
   /** Show a BetterYTM watermark under the YTM logo */
   watermarkEnabled: boolean;
-  /** TODO: Add buttons while hovering over a song in a queue to quickly remove it or open its lyrics */
+  /** Add buttons while hovering over a song in a queue to quickly remove it or open its lyrics */
   queueButtons: boolean;
 
   //#SECTION lyrics