feat(credits): complete Album Credits Modal with Review tab
- Use custom info SVG icon without circle outline - All tracks collapsed by default (removed auto-expand) - Add description field to Album model for editorial reviews - Implement Review tab with album description content - Tab switches between Credits (track list) and Review (description) - Review tab disabled when no description available
This commit is contained in:
1 parent
3410774f32
commit
6eff22632a
5 files changed
+140
-66
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { onMount, tick } from 'svelte';
|
||||
import { ArrowLeft, Play, Shuffle, Heart, CloudDownload, ChevronLeft, ChevronRight, Info } from 'lucide-svelte';
|
||||
import { ArrowLeft, Play, Shuffle, Heart, CloudDownload, ChevronLeft, ChevronRight } from 'lucide-svelte';
|
||||
import AlbumCard from '../AlbumCard.svelte';
|
||||
import TrackRow from '../TrackRow.svelte';
|
||||
import AlbumMenu from '../AlbumMenu.svelte';
|
||||
@@ -357,7 +357,9 @@
|
||||
onclick={onShowAlbumCredits}
|
||||
title="Album credits"
|
||||
>
|
||||
<Info size={18} />
|
||||
<svg width="18" height="18" viewBox="0 0 8 8" fill="currentColor">
|
||||
<path d="M3 0c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-1.5 2.5c-.83 0-1.5.67-1.5 1.5h1c0-.28.22-.5.5-.5s.5.22.5.5-1 1.64-1 2.5c0 .86.67 1.5 1.5 1.5s1.5-.67 1.5-1.5h-1c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-.36 1-1.84 1-2.5 0-.81-.67-1.5-1.5-1.5z" transform="translate(2)" />
|
||||
</svg>
|
||||
</button>
|
||||
{/if}
|
||||
<AlbumMenu
|
||||
|
||||
Reference in new issue
Block a user