feat(myqbz): Slint My QBZ sidebar nav + read-only Mixtapes/Collections grids
Phase-2 Slice 2 of the MyQBZ port. Wires the mixtape DB + the first
visually-reachable surface in Slint (read-only):
- Migrations: run qbz_mixtape::schema::run_mixtape_migrations in enter_shell
(via library_db with_db -> with_connection), best-effort, on session open —
same per-user library.db the Tauri build migrates.
- Glue: new src/myqbz.rs mirrors playlist_manager.rs — list_collections via the
shared crate (items hydrated), model/sort/filter builders, mosaic artwork jobs,
navigate. NavEntry::Mixtapes/Collections + back/forward + scroll-restore scopes.
- UI: ui/myqbz/{MixtapesView,CollectionsView,CollectionMosaic,MyQbzShared}.slint,
1:1 with specs 10/11 (208px grid, mosaic custom->2x2/3x3->kind-glyph, toolbar,
both empty states, ICU plural). MixtapeCardItem + MyQbzState/MyQbzActions in
state.slint; mounted in AppShell. My QBZ sidebar entry routed to the two grids
(branded mask-tinted icons), matching the port's existing flyout-nav idiom.
Read-only boundary: create/open-detail are logging stubs; titlebar My QBZ
dropdown and the Settings>Appearance rename (DQ3) are deferred to later slices.
Backend crates untouched. cargo check -p qbz-slint green.
cc
This commit is contained in:
18 files changed
+1996
-5
No files matched your search
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg fill="#000000" height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 512 512" xml:space="preserve">
|
||||
<g>
|
||||
<g>
|
||||
<path d="M166.892,99.747c-12.889-27.663-43.766-40.842-71.335-27.967c-14.258,6.651-22.198,17.733-26.243,29.223
|
||||
c-11.397-4.285-25.003-5.346-39.251,1.316C3.213,114.837-7.522,146.742,5.627,174.954c16.116,34.534,55.622,38.495,111.4,54.09
|
||||
c7.76,2.181,16.246-1.56,19.707-9.19C160.718,166.918,182.991,134.249,166.892,99.747z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<g>
|
||||
<path d="M481.909,35.499c-14.247-6.651-27.842-5.606-39.251-1.316c-4.046-11.49-11.974-22.573-26.243-29.223
|
||||
c-27.527-12.855-58.426,0.268-71.335,27.961c-16.117,34.549,6.257,67.359,30.158,120.113c3.46,7.63,11.948,11.371,19.707,9.19
|
||||
c56.133-15.678,95.338-19.642,111.4-54.09C519.237,80.514,509.537,48.382,481.909,35.499z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<g>
|
||||
<path d="M348.952,180.767c-4.589-3.105-10.419-3.746-15.564-1.675l-167.052,66.821c-6.35,2.534-10.505,8.679-10.505,15.509v185.81
|
||||
c-5.25-1.248-10.818-2.052-16.705-2.052c-27.635,0-50.116,14.987-50.116,33.41c0,18.424,22.481,33.41,50.116,33.41
|
||||
c27.635,0,50.116-14.987,50.116-33.41c0-0.762,0-172.449,0-172.449l133.642-53.454v127.725c-5.25-1.248-10.818-2.052-16.705-2.052
|
||||
c-27.635,0-50.116,14.987-50.116,33.41s22.481,33.41,50.116,33.41c27.635,0,50.116-14.987,50.116-33.41
|
||||
c0-0.762,0-217.168,0-217.168C356.294,189.06,353.542,183.878,348.952,180.767z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
Reference in new issue
Block a user