fix(playlists): Smart Playlist editor theme, toggles, and exclude-all-genres (#970)

* fix(playlists): Smart Playlist editor theme, toggles, and exclude-all-genres

Replace native sort select with CustomSelect, fix mode-button layout shift,
color-code included vs excluded genres, collapse exclude-all to untagged rule,
and handle empty smart playlists without false "not found".

* docs: CHANGELOG and credits for Smart Playlist editor fix (PR #970)

* chore(credits): drop minor fix entries from PR #958 onward
This commit is contained in:
cucadmuh
2026-06-04 00:22:29 +03:00
committed by GitHub
parent c9b2d140d9
commit 82c414d7bc
12 changed files with 194 additions and 33 deletions
+5 -1
View File
@@ -72,7 +72,11 @@ export function usePendingSmartPolling(
// Wait until we see actual content and cover changed from the first placeholder-ish cover.
// Fallback timeout keeps UI from waiting forever on servers that never update cover id.
const hardTimeoutReached = item.attempts >= 18; // ~3 minutes (18 * 10s)
const ready = songCount > 0 && (!placeholderStillThere || hardTimeoutReached);
const emptySettled = songCount === 0 && item.attempts >= 3; // ~30s — valid empty result
const ready =
hardTimeoutReached
|| emptySettled
|| (songCount > 0 && (!placeholderStillThere || hardTimeoutReached));
if (!ready) {
next.push({
...item,