Begun implementing OneLibrary editing

This commit is contained in:
patben8 committed 2026-10-01 15:07:43 +02:00
1 parent 2784879872
commit 775e94168c
28 files changed
+1392 -152

No files matched your search

+1 -1
View File
@@ -225,7 +225,7 @@ export interface SaveCapabilities {
}
/** Why a library cannot be edited. A fact — lib/platformCopy.ts words it. */
export type ReadonlyCause = 'platform_incomplete' | 'cloud_synced' | 'not_in_library'
export type ReadonlyCause = 'platform_incomplete' | 'cloud_synced' | 'not_in_library' | 'browsing'
export interface Capabilities {
platform: Platform
+2
View File
@@ -55,6 +55,8 @@ export function readOnlyNotice(caps: Capabilities): string | null {
return `This ${caps.save.app_name} library is synced with ${caps.save.app_name} Cloud, so Konduktor will not write to it — an edit it did not make could break syncing on your other devices.`
case 'not_in_library':
return 'This file is not in your collection yet — add it to edit its tags, cues or beatgrid.'
case 'browsing':
return `This ${caps.save.app_name} drive is open for browsing. Open it for editing to change it.`
case 'platform_incomplete':
default:
return `Konduktor can read ${caps.save.app_name} libraries but cannot save changes to them yet.`