binarybaron cf641bc8bb
feat(gui): Migrate to Tauri events
- Replace Electron IPC with Tauri invoke() for API calls
- Implement TauriSwapProgressEvent for state management
- Remove IpcInvokeButton, replace with PromiseInvokeButton
- Update models: new tauriModel.ts, refactor rpcModel.ts
- Simplify SwapSlice state, remove processRunning flag
- Refactor SwapStatePage to use TauriSwapProgressEvent
- Update HistoryRow and HistoryRowActions for new data structures
- Remove unused Electron-specific components (e.g., RpcStatusAlert)
- Update dependencies: React 18, Material-UI v4 to v5
- Implement typeshare for Rust/TypeScript type synchronization
- Add BobStateName enum for more precise swap state tracking
- Refactor utility functions for Tauri compatibility
- Remove JSONStream and other Electron-specific dependencies
2024-08-26 15:32:28 +02:00
..
2024-08-08 00:49:04 +02:00
2024-08-26 15:32:28 +02:00
2024-08-08 00:49:04 +02:00
2024-08-09 20:27:47 +02:00
2024-08-26 15:23:46 +02:00
2024-08-08 00:49:04 +02:00
2024-08-26 15:32:28 +02:00

Tauri + React + Typescript

This template should help get you started developing with Tauri, React and Typescript in Vite.

Generate bindings for Tauri API

typeshare --lang=typescript --output-file ./src/models/tauriModel.ts ../swap/src