feat(ui): bulk entity ratings, Random Albums multi-select, album New badge (#446)

Add star rating rows to multi-artist and multi-album context menus so the
selection shares one rating control (mixed ratings show empty until set;
keyboard navigation supported). Pass selectedAlbums into AlbumCard on Random
Albums so multi-select context menu works. Add i18n aria labels for bulk
rating controls. Move the New album badge to the top-right of the cover and
stack it with the offline badge to avoid overlap.
This commit is contained in:
cucadmuh
2026-05-04 01:56:26 +03:00
committed by GitHub
parent 3b4d54431b
commit dc7a785f94
12 changed files with 133 additions and 16 deletions
+12 -8
View File
@@ -437,10 +437,20 @@
box-shadow: var(--shadow-sm);
}
.album-card-offline-badge {
.album-card-cover-badges-tr {
position: absolute;
top: 6px;
right: 6px;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
z-index: 2;
pointer-events: none;
}
.album-card-offline-badge {
flex-shrink: 0;
background: color-mix(in srgb, var(--accent) 85%, transparent);
color: var(--ctp-crust);
border-radius: var(--radius-sm);
@@ -448,14 +458,10 @@
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
pointer-events: none;
}
.album-card-new-badge {
position: absolute;
top: 6px;
left: 6px;
flex-shrink: 0;
background: var(--accent);
color: var(--ctp-crust);
border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
@@ -465,8 +471,6 @@
font-weight: 700;
letter-spacing: 0.02em;
line-height: 1;
z-index: 2;
pointer-events: none;
}
.album-card-play-overlay {