fix: multiple UI and integration fixes
1. Credential storage fallback - when keyring (KWallet) unavailable, falls back to obfuscated file in config directory 2. Heart icon always visible - shows outlined when not favorite, filled when favorite, with hover states 3. Player favorite state - checks favorite status when track plays and updates the heart icon in NowPlayingBar 4. Song.link ISRC lookup - uses Spotify/Deezer search URLs with ISRC since Qobuz isn't directly supported by Odesli
This commit is contained in:
1 parent
657682fc5e
commit
1ccb78ef52
5 files changed
+279
-93
No files matched your search
@@ -85,11 +85,13 @@
|
||||
{/if}
|
||||
|
||||
<!-- Favorite Indicator -->
|
||||
{#if isFavorite}
|
||||
<div class="favorite-indicator">
|
||||
<div class="favorite-indicator" class:is-favorite={isFavorite}>
|
||||
{#if isFavorite}
|
||||
<Heart size={14} fill="var(--accent-primary)" color="var(--accent-primary)" />
|
||||
</div>
|
||||
{/if}
|
||||
{:else}
|
||||
<Heart size={14} color="var(--text-muted)" />
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="track-actions">
|
||||
<TrackMenu
|
||||
@@ -228,6 +230,20 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 24px;
|
||||
opacity: 0.3;
|
||||
transition: opacity 150ms ease;
|
||||
}
|
||||
|
||||
.favorite-indicator.is-favorite {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.track-row:hover .favorite-indicator {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.track-row:hover .favorite-indicator.is-favorite {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.track-actions {
|
||||
|
||||
Reference in new issue
Block a user