Conversation
There was a problem hiding this comment.
Pull request overview
This PR implements a migration wizard feature that allows users to import mods from cslol-manager into LTK Manager. The implementation includes both frontend UI components and backend Rust logic to scan, convert, and import mods.
Changes:
- Added a complete migration wizard with multi-step UI flow (browse, select, import, results)
- Introduced reusable UI components (
SectionCard,AlertBox) for consistent styling - Refactored bulk install progress/results into reusable components
- Added backend support for scanning cslol-manager directories and creating fantome archives
Reviewed changes
Copilot reviewed 34 out of 34 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/pages/Settings.tsx | Updated tab styling with new active state colors and refined visual design |
| src/pages/Library.tsx | Integrated migration banner and wizard dialog into library view |
| src/modules/settings/components/*.tsx | Refactored all settings sections to use new SectionCard component |
| src/modules/settings/components/GeneralSection.tsx | Added migration section and reduced spacing between cards |
| src/modules/migration/* | New migration module with wizard dialog, banner, and API hooks |
| src/modules/library/components/BulkInstall*.tsx | Extracted reusable components for bulk install progress and results |
| src/components/SectionCard.tsx | New shared component for consistent card-based section styling |
| src/components/AlertBox.tsx | New alert component with variant support (info, success, warning, error) |
| src/lib/tauri.ts | Added CslolModInfo type and migration API endpoints |
| src-tauri/src/state.rs | Added migrationDismissed flag to Settings |
| src-tauri/src/mods/migration.rs | Core migration logic: scanning cslol directories and creating fantome archives |
| src-tauri/src/commands/migration.rs | Tauri commands for migration operations |
| src-tauri/src/error.rs | Added ZipError variant to error handling |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.