mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-24 09:53:09 -05:00
feat(gui): Review logs before sending feedback (#301)
* add review buttons that open the attached logs before submitting feedback * add redact switches to redact transaction id's from attached logs
This commit is contained in:
parent
3fa31ba139
commit
e8084d65ec
9 changed files with 255 additions and 85 deletions
|
|
@ -9,8 +9,8 @@ use swap::cli::{
|
|||
CheckElectrumNodeResponse, CheckMoneroNodeArgs, CheckMoneroNodeResponse,
|
||||
ExportBitcoinWalletArgs, GetDataDirArgs, GetHistoryArgs, GetLogsArgs,
|
||||
GetMoneroAddressesArgs, GetSwapInfoArgs, GetSwapInfosAllArgs, ListSellersArgs,
|
||||
MoneroRecoveryArgs, ResolveApprovalArgs, ResumeSwapArgs, SuspendCurrentSwapArgs,
|
||||
WithdrawBtcArgs,
|
||||
MoneroRecoveryArgs, RedactArgs, ResolveApprovalArgs, ResumeSwapArgs,
|
||||
SuspendCurrentSwapArgs, WithdrawBtcArgs,
|
||||
},
|
||||
tauri_bindings::{TauriContextStatusEvent, TauriEmitter, TauriHandle, TauriSettings},
|
||||
Context, ContextBuilder,
|
||||
|
|
@ -186,6 +186,7 @@ pub fn run() {
|
|||
get_wallet_descriptor,
|
||||
get_data_dir,
|
||||
resolve_approval_request,
|
||||
redact
|
||||
])
|
||||
.setup(setup)
|
||||
.build(tauri::generate_context!())
|
||||
|
|
@ -227,6 +228,7 @@ tauri_command!(get_logs, GetLogsArgs);
|
|||
tauri_command!(list_sellers, ListSellersArgs);
|
||||
tauri_command!(cancel_and_refund, CancelAndRefundArgs);
|
||||
tauri_command!(resolve_approval_request, ResolveApprovalArgs);
|
||||
tauri_command!(redact, RedactArgs);
|
||||
|
||||
// These commands require no arguments
|
||||
tauri_command!(get_wallet_descriptor, ExportBitcoinWalletArgs, no_args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue