Skip to content

Commit

Permalink
Revert "Added setting to remove playlist reccomendations on the homep…
Browse files Browse the repository at this point in the history
…age YouTube-Enhancer#593"

This reverts commit 8da0d49.
  • Loading branch information
HelloIamarandomperson committed Dec 23, 2024
1 parent 8da0d49 commit 19bdbad
Show file tree
Hide file tree
Showing 32 changed files with 1,073 additions and 971 deletions.
1,727 changes: 1,021 additions & 706 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"globals": "^15.11.0",
"i18next": "^23.7.3",
"monaco-editor": "^0.51.0",
"npm": "^10.9.2",
"react": "^18.2.0",
"react-colorful": "^5.6.1",
"react-dom": "^18.2.0",
Expand Down Expand Up @@ -92,4 +91,4 @@
"zod": "^3.22.4",
"zod-error": "^1.5.0"
}
}
}
6 changes: 1 addition & 5 deletions public/locales/ca-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Miscellaneous settings"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/cs-CZ.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Miscellaneous settings"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Weitere Einstellungen"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Miscellaneous settings"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Miscellaneous settings"
},
Expand Down
4 changes: 0 additions & 4 deletions public/locales/en-US.json.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,6 @@ interface EnUS {
label: 'Skip "Video is paused. Continue watching?"';
title: "Skips the idle dialog that pauses video playback";
};
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
};
title: "Miscellaneous settings";
};
Expand Down
6 changes: 1 addition & 5 deletions public/locales/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Ajustes varios"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/fa-IR.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Miscellaneous settings"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Autre paramètres"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/he-IL.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Miscellaneous settings"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/hi-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Miscellaneous settings"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/it-IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Salta \"Video in pausa. Continuare a guardare?\"",
"title": "Salta la finestra che mette in pausa la riproduzione video"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Impostazioni varie"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "「動画が一時停止されました。続きを視聴しますか?」を抜かする",
"title": "動画一時休止する休眠メッセージを抜かされます"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "他の設定"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/ko-KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "'동영상이 일시중지되었습니다. 이어서 시청하시겠어요?' 팝업 스킵",
"title": "'동영상이 일시중지되었습니다. 이어서 시청하시겠어요?' 팝업을 자동으로 스킵하여 끊김 없는 재생을 유지합니다."
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "기타 설정"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/pl-PL.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Miscellaneous settings"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Configurações diversas"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/ru-RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Пропускать \"Воспроизведение приостановлено. Продолжить?\"",
"title": "Автоматически пропускает диалог простоя, который приостанавливает воспроизведение"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Прочие параметры"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/sv-SE.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Hoppa över \"Videon är pausad. Fortsätt titta?\"",
"title": "Hoppa över dialogrutan som pausar videouppspelningen"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Övriga inställningar"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/tr-TR.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Çeşitli ayarlar"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/uk-UA.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Miscellaneous settings"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/vi-VN.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "Skip \"Video is paused. Continue watching?\"",
"title": "Skips the idle dialog that pauses video playback"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "Miscellaneous settings"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "跳过\"视频已暂停。继续观看吗?\"",
"title": "跳过暂停视频播放的闲置对话框"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "其他设置"
},
Expand Down
6 changes: 1 addition & 5 deletions public/locales/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@
"skipContinueWatching": {
"label": "跳過「影片已暫停,繼續觀看?」",
"title": "跳過暫停影片播放的閒置對話框"
},
"playlistRemover": {
"label": "Enable the removal of playlists from homepage",
"title": "Get rid of playlists"
}
}
},
"title": "其他設定"
},
Expand Down
11 changes: 1 addition & 10 deletions src/components/Settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -765,15 +765,7 @@ export default function Settings() {
label={t("settings.sections.miscellaneous.features.automaticallyDisableClosedCaptions.label")}
onChange={setCheckboxOption("enable_automatically_disable_closed_captions")}
title={t("settings.sections.miscellaneous.features.automaticallyDisableClosedCaptions.title")}
/>
<Setting
checked={settings.enable_hide_playlist?.toString() === "true"}
id="enable_hide_playlist"
label={t("settings.sections.miscellaneous.features.playlistRemover.label")}
onChange={setCheckboxOption("enable_hide_playlist")}
title={t("settings.sections.miscellaneous.features.playlistRemover.title")}
type="checkbox"
/>
/>
</SettingSection>
<SettingSection title={t("settings.sections.videoHistory.title")}>
<SettingTitle />
Expand Down Expand Up @@ -1266,7 +1258,6 @@ export default function Settings() {
selectedOption={getSelectedOption("playlist_watch_time_get_method")}
title={t("settings.sections.playlistLength.wayToGetWatchTime.select.title")}
type="select"

/>
</SettingSection>
<SettingSection title={t("settings.sections.youtubeDataApiV3Key.title")}>
Expand Down
Loading

0 comments on commit 19bdbad

Please sign in to comment.