feat: implemented user-friendly chord guide editor; added real time chord guide info to the status bar

This commit is contained in:
Xiaohan-Tian
2026-05-29 12:51:58 -07:00
parent 72297cb731
commit cd2938fe15
16 changed files with 1056 additions and 160 deletions
+4 -1
View File
@@ -1,3 +1,4 @@
import type { ChordGuideCustomConfig } from '../ChordGuideTypes';
import { KGConfigStorage } from '../io/KGConfigStorage';
/**
@@ -103,6 +104,7 @@ interface AppConfig {
};
chord_guide: {
chord_definition: string;
custom_items: ChordGuideCustomConfig | null;
};
[key: string]: unknown;
}
@@ -300,7 +302,8 @@ export class ConfigManager {
custom_instructions: ''
},
chord_guide: {
chord_definition: ''
chord_definition: '',
custom_items: null,
}
};
console.log('Using fallback hardcoded config due to load error');