aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/types/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* chore(ui): refactor workspace to monorepo苏向夜2026-01-191-232/+0
|
* feat(frontend): add instance editor modal with tabbed interfaceHsiangNianian2026-01-181-0/+8
| | | | | | | | | | | | | - 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
* feat(backend): enhance instance management for editor supportHsiangNianian2026-01-181-0/+7
| | | | | | | - Sync instance.version_id after start_game, install_fabric, install_forge - Add jvm_args_override and memory_override to Instance struct - Add file management commands: list_instance_directory, delete_instance_file, open_file_explorer - Support per-instance settings overrides (Java args, memory)
* fix(ci): improve pre-commit fmt hook configurationHsiangNianian2026-01-181-0/+13
| | | | | | - Add pass_filenames: false to fmt hook - Add -- separator for cargo fmt args - Manually format code with cargo fmt
* feat: implement instance management functionalityHsiangNianian2026-01-161-1/+16
| | | | Added a new InstancesState class to manage game instances, including loading, creating, deleting, updating, and duplicating instances. Integrated instance selection into the game launch process, ensuring an active instance is selected before starting a game. Updated the types to include instance-related data structures.
* feat: enhance Java version management for Minecraft versionsHsiangNianian2026-01-161-0/+2
| | | | Added functionality to determine and validate the required Java version for Minecraft versions, including checks for compatibility with older versions. Implemented event emissions for version installation and deletion, and updated the UI to reflect Java version requirements and installation status. Improved version metadata handling and added support for deleting versions.
* feat: implement assistant state management and messaging functionalityHsiangNianian2026-01-161-1/+27
| | | | Added a new module for managing the assistant's state, including message handling, health checks, and streaming responses. Introduced interfaces for message structure and generation statistics. Enhanced the logs state by removing unnecessary listener setup during initialization. Updated the types to include assistant configuration options.
* style: auto format and lint fix [skip ci]HsiangNianian2026-01-161-1/+0
|
* feat: Implement logout confirmation dialog and enhance account status ↵HsiangNianian2026-01-151-0/+3
| | | | display in BottomBar for improved user experience
* feat: Add log upload service options to LauncherConfig for improved logging ↵HsiangNianian2026-01-151-0/+2
| | | | flexibility
* feat(java): Implement Java catalog management and download featuresBegonia, HE2026-01-151-0/+44
| | | | | | | | - Added commands to fetch and refresh the Java catalog, cancel downloads, and manage pending downloads. - Enhanced the Java download modal in the UI to support version selection, download progress, and pending downloads. - Introduced new types for Java catalog, download progress, and pending downloads. - Updated settings store to handle Java catalog state, download progress, and pending downloads. - Improved user experience with loading states, error handling, and status notifications for Java installations.
* feat: re-integrate Java download UI into new component architectureBegonia, HE2026-01-141-0/+10
| | | | | | | | - Add Java download functionality to settings store - Add JavaDownloadInfo type definition - Add Download Java button and modal to SettingsView - Support JRE/JDK selection with version picker - Maintain integration with Adoptium API backend
* feat: enhance dark mode support across UI componentsHsiangNianian2026-01-141-0/+1
| | | | | | | | - Updated BottomBar, HomeView, LoginModal, ModLoaderSelector, SettingsView, Sidebar, StatusToast, and VersionsView components for improved dark mode styling. - Adjusted color schemes for various elements to ensure better visibility and aesthetics in dark mode. - Added a theme property to settings to enforce dark mode as the default. - Refactored version badges in VersionsView for better color differentiation. - Enhanced button and input styles for consistency in both light and dark themes.
* feat: Enhance UI components and add visual effectsHsiangNianian2026-01-141-0/+4
| | | | | | | | | - Updated Sidebar component styles for improved aesthetics and usability. - Refactored VersionsView component with a new layout and enhanced version filtering. - Improved DownloadMonitor and GameConsole components for better performance and visual consistency. - Added new settings for GPU acceleration and visual effects in settings store. - Introduced ParticleBackground component with customizable effects (Constellation and Saturn). - Implemented ConstellationEffect and SaturnEffect classes for dynamic background animations.
* feat: add Fabric and Forge type definitions and update mod.rs for mod loader ↵HsiangNianian2026-01-141-0/+59
| | | | support
* feat: add download settings for concurrent download threadsHsiangNianian2026-01-141-0/+1
|
* refactor: enhance UIState class by adding type for currentView and updating ↵Natsuu2026-01-141-0/+2
| | | | setView method
* refactor: split App.svelte into componentsNatsuu2026-01-141-0/+36