Bug reporting fixed. Added notification about not configured mail client
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
This commit is contained in:
parent
6d666a07fe
commit
0106f6efcd
|
@ -19,4 +19,5 @@
|
||||||
(get 0)))
|
(get 0)))
|
||||||
|
|
||||||
(defn extract-url-components [address]
|
(defn extract-url-components [address]
|
||||||
(rest (re-matches #"enode://(.*?)@(.*):(.*)" address)))
|
(when address
|
||||||
|
(rest (re-matches #"enode://(.*?)@(.*):(.*)" address))))
|
||||||
|
|
|
@ -81,6 +81,12 @@
|
||||||
:on-cancel #(re-frame/dispatch
|
:on-cancel #(re-frame/dispatch
|
||||||
[:logging/dialog-canceled])}}))
|
[:logging/dialog-canceled])}}))
|
||||||
|
|
||||||
|
(handlers/register-handler-fx
|
||||||
|
:show-client-error
|
||||||
|
(fn [_ _]
|
||||||
|
{:utils/show-popup {:title (i18n/label :t/cant-report-bug)
|
||||||
|
:content (i18n/label :t/mail-should-be-configured)}}))
|
||||||
|
|
||||||
(fx/defn dialog-closed
|
(fx/defn dialog-closed
|
||||||
[{:keys [db]}]
|
[{:keys [db]}]
|
||||||
{:db (dissoc db :logging/dialog-shown?)})
|
{:db (dissoc db :logging/dialog-shown?)})
|
||||||
|
@ -102,7 +108,8 @@
|
||||||
(str "App version: " build-version)
|
(str "App version: " build-version)
|
||||||
(str "OS: " platform/os)
|
(str "OS: " platform/os)
|
||||||
(str "Node version: " web3-node-version)
|
(str "Node version: " web3-node-version)
|
||||||
(str "Mailserver: " (name current-id))
|
(when current-id
|
||||||
|
(str "Mailserver: " (name current-id)))
|
||||||
separator
|
separator
|
||||||
"Node Info"
|
"Node Info"
|
||||||
(str "id: " enode-id)
|
(str "id: " enode-id)
|
||||||
|
@ -136,7 +143,9 @@
|
||||||
:attachment {:path archive-path
|
:attachment {:path archive-path
|
||||||
:type "zip"
|
:type "zip"
|
||||||
:name "status_logs.zip"}}
|
:name "status_logs.zip"}}
|
||||||
(fn [])))))
|
(fn [event]
|
||||||
|
(when (= event "not_available")
|
||||||
|
(re-frame/dispatch [:show-client-error])))))))
|
||||||
|
|
||||||
(handlers/register-handler-fx
|
(handlers/register-handler-fx
|
||||||
:logging/dialog-canceled
|
:logging/dialog-canceled
|
||||||
|
|
|
@ -1158,5 +1158,7 @@
|
||||||
"keycard-free-pairing-slots": "Keycard has {{n}} free pairing slots",
|
"keycard-free-pairing-slots": "Keycard has {{n}} free pairing slots",
|
||||||
"public-chat-description": "Join public chats for your interests! Anyone can start a new one.",
|
"public-chat-description": "Join public chats for your interests! Anyone can start a new one.",
|
||||||
"delete-account": "Delete account",
|
"delete-account": "Delete account",
|
||||||
"watch-only": "Watch-only"
|
"watch-only": "Watch-only",
|
||||||
|
"cant-report-bug": "Can't report a bug",
|
||||||
|
"mail-should-be-configured": "Mail client should be configured"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue