feat: add ML indicator badge for recommendation sections
- Change source type from 'user' to 'ml' for ML-powered sections - Add green "ML" badge in settings modal to distinguish from Qobuz content
This commit is contained in:
1 parent
721dc2996c
commit
23e6df6efe
2 files changed
+18
-8
No files matched your search
@@ -127,7 +127,9 @@
|
||||
<span class="section-label">
|
||||
{section.label}
|
||||
{#if section.source === 'qobuz'}
|
||||
<span class="source-badge">Qobuz</span>
|
||||
<span class="source-badge qobuz">Qobuz</span>
|
||||
{:else if section.source === 'ml'}
|
||||
<span class="source-badge ml">ML</span>
|
||||
{/if}
|
||||
</span>
|
||||
|
||||
@@ -350,14 +352,22 @@
|
||||
.source-badge {
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
color: var(--accent-primary);
|
||||
background: rgba(99, 102, 241, 0.15);
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.source-badge.qobuz {
|
||||
color: var(--accent-primary);
|
||||
background: rgba(99, 102, 241, 0.15);
|
||||
}
|
||||
|
||||
.source-badge.ml {
|
||||
color: #10b981;
|
||||
background: rgba(16, 185, 129, 0.15);
|
||||
}
|
||||
|
||||
.reset-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in new issue
Block a user