binarybaron
ca25e0454f
fix(tauri, gui): Allow Tauri command to be called with empty arguments
...
- Allow Tauri command to be called with empty arguments
- Add struct for GetSwapInfosAllArgs
2024-08-27 22:34:21 +02:00
binarybaron
de1f77bf80
fix(tauri_bindings): Emit swap id with WaitingForBtcDeposit event
2024-08-27 22:34:21 +02:00
binarybaron
88cfd6bc3e
chore(ci): Temporarily disable armv7 cross compilation ( #35 )
2024-08-27 20:27:54 +02:00
binarybaron
2131500c7d
chore: downgrade rust toolchain to 1.79
2024-08-27 18:07:49 +02:00
binarybaron
b2475763a7
chore(swap): Remove redundant clone of BidQuote
2024-08-27 17:55:30 +02:00
Einliterflasche
c562e352f2
refactor(cli): Builder pattern for constructing Context
2024-08-27 17:55:03 +02:00
binarybaron
015c956273
fix(swap): Clippy errors (too many arguments, redundant clone)
2024-08-26 18:03:04 +02:00
binarybaron
dc3c937333
fix(swap): Unit test compilation errors
2024-08-26 18:03:04 +02:00
Einliterflasche
a57e3aff75
clean: use dprint
2024-08-26 16:19:11 +02:00
binarybaron
e3547fbec2
Merge pull request #10 from UnstoppableSwap/tauri-events
...
feat: Send progress events from Host to Guest
2024-08-26 16:14:29 +02:00
binarybaron
26f0f54864
Merge branch 'master' into tauri-events
2024-08-26 16:10:28 +02:00
binarybaron
349035d321
refactor(tauri, swap): move rpc api to cli/api
2024-08-26 15:41:00 +02:00
binarybaron
5425a83871
bump: Rust version to 1.80
2024-08-26 15:39:59 +02:00
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
binarybaron
d54f5c6c77
refactor(tauri): Use macro and new Request trait for command generation
2024-08-26 15:26:21 +02:00
binarybaron
9b0023174b
feat(gui): Add typeshare definitions
2024-08-26 15:23:46 +02:00
binarybaron
4939d63524
refactor(swap, tauri_bindings): Overhaul API architecture and introduce Tauri events
...
- Implement trait-based request handling in api/request.rs
- Add Tauri bindings and event system in api/tauri_bindings.rs
- Refactor CLI command parsing and execution in cli/command.rs
- Update RPC methods to use new request handling approach
- Emit Tauri events in swap/src/protocol/bob/swap.rs
- Add typescript type bindings use typeshare crate
2024-08-26 15:18:11 +02:00
binarybaron
fea1e66c64
chore(gui): Upgrade @tauri-apps/api and add eslint
2024-08-26 15:04:22 +02:00
binarybaron
6088bd18b4
chore: Add prettier plugin to dprint config
2024-08-26 15:03:03 +02:00
binarybaron
956a26d181
refactor(gui): Reorganize imports
2024-08-26 15:02:26 +02:00
Einliterflasche
5962effa50
docs: update READMEs ( #25 )
2024-08-23 13:26:10 +02:00
binarybaron
ef7c1abcaf
CI: Install dependencies required by Tauri (ci.yml) ( #23 )
2024-08-19 07:27:40 +02:00
Einliterflasche
c897c4c6e9
Fix swap/src/bin/swap.rs import issue
2024-08-12 11:29:05 +02:00
Einliterflasche
3135e58187
Merge remote-tracking branch 'repo-b/kill-monero-wallet-rpc-on-quit'
2024-08-10 21:33:29 +02:00
Einliterflasche
bf62cec81d
Merge remote-tracking branch 'repo-b/main'
2024-08-10 21:30:48 +02:00
binarybaron
718132b8b4
feat: Kill monero-wallet-rpc on GUI exit
2024-08-10 12:56:19 +02:00
binarybaron
acdb0231b5
chore: Remove unused dependencies
2024-08-10 12:53:16 +02:00
binarybaron
191a25f941
fix: Make spinner on PromiseInvokeButton same size as icon
2024-08-10 12:52:53 +02:00
binarybaron
116d9c0f4f
fix: Prevent overscroll bounce
2024-08-09 20:27:47 +02:00
binarybaron
06f2a16715
feat: Add custom Icon
2024-08-09 20:14:06 +02:00
binarybaron
3d16ff6d5c
wip: WithdrawDialog migrated to Tauri IPC
2024-08-09 19:46:58 +02:00
binarybaron
47821cbe79
wip: WithdrawDialog migrated to Tauri IPC
2024-08-09 19:03:28 +02:00
binarybaron
92034a5be8
refactor: remover Arc for start_daemon
2024-08-09 16:38:07 +02:00
binarybaron
630f4c6f23
chore: Add description to Cargo.toml for GUI
2024-08-09 15:26:26 +02:00
binarybaron
8cb1e8aff0
wip: use trait to convert Result<T, Err> into Result<T, String> for Tauri command response
2024-08-09 14:41:26 +02:00
binarybaron
b769251665
wip: remove Request struct, imports failing
2024-08-09 12:42:22 +02:00
binarybaron
693f4297c5
wip: remove Request for object and call functions like buy_xmr directly
2024-08-09 01:30:45 +02:00
binarybaron
4f336e98a1
chore: Refactor tauri commands
2024-08-08 12:28:33 +02:00
binarybaron
2e1b6f6b43
feat: swap history tauri connector
2024-08-08 12:02:59 +02:00
binarybaron
cdd6635c8f
chore: Add author names to Cargo.toml
2024-08-08 11:19:25 +02:00
binarybaron
709a2820c4
feat: cargo project at root
2024-08-08 00:49:04 +02:00
binarybaron
aa0c0623ca
feat: cargo project at root
2024-08-08 00:46:04 +02:00
binarybaron
8c4531cfd3
feat: cargo project at root
2024-08-08 00:45:26 +02:00
binarybaron
bde04fbd76
wip: add todo comment
2024-08-07 23:22:40 +02:00
binarybaron
21c244f680
wip: add todo comment
2024-08-07 23:20:19 +02:00
binarybaron
42bbf09a2b
wip: add tracing instrument macro to some request functions
2024-08-07 23:18:37 +02:00
binarybaron
472e3a57b3
wip: refactor request.rs to allow type safety
2024-08-07 22:51:18 +02:00
binarybaron
bc3b35cf7b
fix: Remove .DS_STORE file
2024-07-26 14:44:40 +02:00
binarybaron
39b6ecaa97
Prepare release 0.13.4
2024-07-26 14:42:52 +02:00
UnstoppableSwap Botty
8284bea778
Prepare release 0.13.4
2024-07-25 22:31:14 +00:00