feat: add music library page with search, edit and delete
Add a Library page reachable from the navigation. It lists all songs from the SQLite database, filters them by title or artist, edits title, artist, license and attribution in a dialog, and deletes a song after a confirmation prompt. File path, duration and source stay read-only. LibraryController wraps SongRepository so the view only forwards user actions. Changes are written to the database immediately, and the list reloads every time the page is shown. Refs #3 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
89b7959404
commit
faa1dc19cc
7 files changed
+357
No files matched your search
@@ -22,6 +22,9 @@
|
||||
<ui:NavigationViewItem Content="Home"
|
||||
Icon="{ui:SymbolIcon Home24}"
|
||||
TargetPageType="{x:Type pages:HomePage}" />
|
||||
<ui:NavigationViewItem Content="Library"
|
||||
Icon="{ui:SymbolIcon MusicNote224}"
|
||||
TargetPageType="{x:Type pages:LibraryPage}" />
|
||||
</ui:NavigationView.MenuItems>
|
||||
</ui:NavigationView>
|
||||
</Grid>
|
||||
|
||||
Reference in new issue
Block a user