Closed niladrix719 closed 1 month ago
The changes encompass updates to several configuration files and components within the project. Key modifications include the introduction of Tauri support, adjustments to build commands, and enhancements to file handling methods. The .gitignore
files have been updated to exclude unnecessary directories, while the package.json
file reflects new dependencies and scripts. Additionally, various components have been refactored to improve file download functionality and state management, alongside the addition of event listeners for enhanced interactivity.
File(s) | Change Summary |
---|---|
.gitignore , src-tauri/.gitignore |
Added entries to ignore generated files and directories, preventing unnecessary tracking by Git. |
netlify.toml , vite.config.ts |
Modified build commands and output paths, including changes to directory structures and environment variables. |
package.json |
Updated scripts to include cross-env for environment variable management and added Tauri-related dependencies. |
src-tauri/Cargo.toml , src-tauri/build.rs , src-tauri/src/main.rs , src-tauri/tauri.conf.json |
Introduced files and configurations for Tauri application setup, including metadata and build dependencies. |
src/components/DialogBox/*.vue |
Changed file download methods to use downloadFile instead of download , aligning with new naming conventions. |
src/components/DialogBox/OpenOffline.vue |
Updated state management for projectList from reactive to ref . |
src/simulator/src/data/project.ts |
Simplified data storage logic in saveOffline by removing JSON serialization. |
src/simulator/src/node.js |
Adjusted type check in saveObject method for node classification. |
src/simulator/src/plotArea.js |
Enhanced image downloading functionality with checks for Tauri environment. |
src/simulator/src/utils.ts |
Introduced new download functions for desktop and web environments, improving modularity. |
src/simulator/src/listeners.js |
Added multiple event listeners to handle various user actions, enhancing interactivity. |
sequenceDiagram
participant User
participant App
participant Tauri
participant Server
User->>App: Initiate file download
App->>App: Determine environment (Tauri or Web)
alt Tauri
App->>Tauri: Call downloadImageDesktop()
Tauri->>Tauri: Fetch image data
Tauri->>User: Save image to downloads directory
else Web
App->>App: Call downloadFileWeb()
App->>User: Trigger browser download
end
π° In the meadow where I hop and play,
New changes come to brighten the day!
With Tauri's magic, files now glide,
A smoother path for all to ride.
Letβs download joy, in leaps and bounds,
In this happy code, my heart resounds! πΌβ¨
Name | Link |
---|---|
Latest commit | aea924a1088a449727861ea0a2bd089d4f0665de |
Latest deploy log | https://app.netlify.com/sites/circuitverse/deploys/66ec386128af7b00083eed62 |
Deploy Preview | https://deploy-preview-374--circuitverse.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
could you explore adding native menu?
You can also add github action for release https://github.com/tauri-apps/tauri-action
@niladrix719 Could you fix the git conflict ?
Desktop Application for Vue Simulator using Tauri
https://github.com/user-attachments/assets/8a9d0c08-e434-4bea-83f4-a32deec01659
Summary by CodeRabbit
New Features
Bug Fixes
Chores
.gitignore
files to streamline version control.