From d4ea239d4477e9427b52994ea25d54941dfdba3f Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sun, 18 Jan 2026 14:53:44 +0800 Subject: feat(frontend): add instance editor modal with tabbed interface - Create InstanceEditorModal.svelte with 4 tabs: * Info: Instance name, notes, metadata (created date, last played) * Version: Mod loader switcher and version display * Files: File browser for mods/resourcepacks/shaderpacks/saves/screenshots * Settings: Memory override and JVM arguments customization - Wire InstanceEditorModal to InstancesView with Edit button - Add FileInfo type definition to types/index.ts - Fix accessibility issues: proper button roles, keyboard events - All TypeScript and Svelte compilation errors resolved - Enable comprehensive per-instance configuration management --- ui/src/types/index.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ui/src/types') diff --git a/ui/src/types/index.ts b/ui/src/types/index.ts index 6632d58..b4412b8 100644 --- a/ui/src/types/index.ts +++ b/ui/src/types/index.ts @@ -222,3 +222,11 @@ export interface MemoryOverride { min: number; // MB max: number; // MB } + +export interface FileInfo { + name: string; + path: string; + is_directory: boolean; + size: number; + modified: number; +} -- cgit v1.2.3-70-g09d2