From c9635ec5494ee09dd25824c1df462f052f0cf68e Mon Sep 17 00:00:00 2001 From: MarcoMandar Date: Sat, 22 Jun 2024 23:21:42 +0100 Subject: [PATCH 1/2] disable mainnet, create modal for disconnect, add switch network --- components/ui-kit/ButtonConnect.vue | 68 ++++++++---- components/ui-kit/ReportIssueDialog.vue | 140 ++++++++++-------------- config/wagmi.config.ts | 7 +- 3 files changed, 112 insertions(+), 103 deletions(-) diff --git a/components/ui-kit/ButtonConnect.vue b/components/ui-kit/ButtonConnect.vue index 74ef405..bc5bf8d 100755 --- a/components/ui-kit/ButtonConnect.vue +++ b/components/ui-kit/ButtonConnect.vue @@ -1,45 +1,73 @@ + + +
+ + + + + + + + + + +
+ +
+ + +
+ + (Optional) Copy Encrypted Logs + +
+ + +
+ + Cancel + + + + + + Open GitHub Issue + + +
+
@@ -198,9 +170,9 @@ const onCopyLogsClicked = debounce(async () => { const type = 'text/plain' const logsJson = JSON.stringify(payload.value) - const logsBlob = new Blob([ logsJson ], { type }) + const logsBlob = new Blob([logsJson], { type }) const item = new ClipboardItem({ [type]: logsBlob }) - await navigator.clipboard.write([ item ]) + await navigator.clipboard.write([item]) logger.info('copied encrypted logs to clipboard') logsCopySuccess.value = true setTimeout(() => { logsCopySuccess.value = false }, 2500) @@ -212,16 +184,20 @@ const onCopyLogsClicked = debounce(async () => {