table improvements + additional project collection tracking - #8
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces a new concept of "collections" (e.g., albums, EPs, singles) to group Ableton projects, and makes several database and UI improvements to support this feature. It also refines project deletion, improves JSON decode cache performance, and enhances sample file parsing for missing-sample detection.
Collections (Music Project Grouping):
Added a new
collectionstable and associatedCollectionRecordmodel, with migration to schema version 5. Projects can now be assigned to a collection, and collections have metadata such as kind (album, EP, etc.) and status (planning, in progress, released, etc.). (abledex/Database/CollectionRecord.swift,abledex/Database/AppDatabase.swift,abledex.xcodeproj/project.pbxproj,abledex/Database/ProjectRecord.swift) [1] [2] [3] [4] [5] [6]Implemented CRUD operations for collections in the database layer, including assigning/removing projects to/from collections. (
abledex/Database/AppDatabase.swift)UI Enhancements:
abledex/ContentView.swift) [1] [2]Database and Performance Improvements:
abledex/Database/AppDatabase.swift) [1] [2]abledex/Database/ProjectRecord.swift) [1] [2] [3]Ableton Project Parsing:
abledex/Scanner/ALSParser.swift) [1] [2] [3] [4] [5] [6]These changes lay the groundwork for organizing projects into higher-level music releases, improve reliability and performance, and add new capabilities for sample management.
How to test
Author checklist
This PR: