Skip to content

Conversation

@Marcel-TO
Copy link
Owner

This pull request introduces several updates to both the frontend and backend of the savegame editor, focusing on dependency upgrades, configuration changes, and Tauri capability/permission schema updates. The changes modernize dependencies, improve compatibility with newer libraries, and update Tauri capabilities to use the new opener plugin instead of the deprecated shell plugin.

Dependency and Configuration Updates:

  • Upgraded multiple frontend and backend dependencies to their latest versions for improved stability and compatibility, including major updates for @radix-ui, @tauri-apps, react, tailwindcss, and related libraries. Also added new dependencies such as next-themes and sonner. [1] [2]
  • Updated package.json and Cargo.toml version numbers to 1.0.9. [1] [2]
  • Modified components.json to use the "new-york" style, set rsc to false, changed the base color, added more alias paths, and switched the icon library to lucide.

Tauri Capabilities and Permissions Overhaul:

  • Replaced the old shell plugin permissions with the new opener plugin in Tauri capabilities, updating both the schema (desktop-schema.json) and the capabilities definition (capabilities/default.json, gen/schemas/capabilities.json). This includes new permission identifiers such as opener:default, opener:allow-open-url, etc. [1] [2] [3]
  • Removed the legacy migrated.json capability and its related permissions. [1] [2]

Other Configuration and Cleanup:

  • Updated .gitignore files to reflect new generated files and removed unnecessary ignores. [1] [2]
  • Removed the unused postcss.config.js file.
  • Enhanced the Tauri Rust library setup to avoid naming conflicts on Windows by explicitly naming the library in Cargo.toml.

Schema and Documentation Improvements:

  • Improved documentation and examples in the Tauri capability schema (desktop-schema.json), including a more detailed example for fs:scope and updated descriptions for the new opener permissions. [1] [2]

Most important changes:

1. Dependency and Configuration Updates

  • Upgraded frontend and backend dependencies, including major libraries such as @radix-ui, @tauri-apps, react, tailwindcss, and added new dependencies for improved features and compatibility. [1] [2]
  • Updated components.json for new style, icon library, and alias improvements.

2. Tauri Capabilities and Permissions Overhaul

  • Migrated from the deprecated shell plugin to the new opener plugin for Tauri, updating all relevant capability and schema files. [1] [2] [3]
  • Removed legacy capability files and permissions to streamline configuration. [1] [2]

3. Other Configuration and Cleanup

  • Cleaned up .gitignore files and removed unused configuration files. [1] [2] [3]
  • Explicitly named the Tauri Rust library to prevent naming conflicts on Windows.

4. Schema and Documentation Improvements

  • Enhanced schema documentation and permission descriptions for better clarity and maintainability. [1] [2]

- Updated various dependencies in Cargo.lock and Cargo.toml, including tauri plugins and serde_json.
- Enhanced form validation in InventoryPage by using z.coerce.number() for numeric fields.
- Improved file writing logic in MainPage to ensure data is saved as Uint8Array.
- Added new permissions in default.json and capabilities.json for better functionality.
- Refactored InventoryPage to streamline form handling and improve user experience.
@Marcel-TO Marcel-TO added enhancement New feature or request dependencies Pull requests that update a dependency file labels Jan 13, 2026
@Marcel-TO Marcel-TO merged commit 06eee95 into main Jan 13, 2026
5 checks passed
@Marcel-TO Marcel-TO deleted the upgrade-frontend branch January 13, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants