- Wire saveEdit() to WriteTrackTagsByPath with diff-only TagChanges map - Add cover art selection via ImageFilePicker with instant blob preview - Add cover art removal (× button) with clearCoverArt state - Show saving indicator and disable buttons during save - Display errors inline in action bar; edit mode stays active on error - Add ReadFile Go method on FrontendUtil to read cover art bytes - Add Wails binding for ReadFile - Clean up all edit state (editValues, pendingCoverArt, errorMessage) on close/cancel
24 lines
699 B
JavaScript
Executable File
24 lines
699 B
JavaScript
Executable File
// @ts-check
|
|
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
export function DirectoryPicker() {
|
|
return window['go']['frontendutil']['FrontendUtil']['DirectoryPicker']();
|
|
}
|
|
|
|
export function ImageFilePicker() {
|
|
return window['go']['frontendutil']['FrontendUtil']['ImageFilePicker']();
|
|
}
|
|
|
|
export function PlaylistFilePicker() {
|
|
return window['go']['frontendutil']['FrontendUtil']['PlaylistFilePicker']();
|
|
}
|
|
|
|
export function ReadFile(arg1) {
|
|
return window['go']['frontendutil']['FrontendUtil']['ReadFile'](arg1);
|
|
}
|
|
|
|
export function SetContext(arg1) {
|
|
return window['go']['frontendutil']['FrontendUtil']['SetContext'](arg1);
|
|
}
|