Enhance(UX): marketplace (#9609)

* fix(ui): hidden proxy label for the default system proxy network mode

* improve(plugin): support option to enable/disable the auto-check the installed plugins

* fix(revert): codes

* improve(ux): add the auto-check updates switcher to the toolbar plugins manager

* improve(i18n): plugin-related i18n

* enhance(plugin): add Github proxy server for the plugin updates

* enhance(plugin): add Github proxy server for the plugin updates

* fix(ui): warning

* fix: typo

* fix(ui): hidden proxy label for the default system proxy network mode

* improve(plugin): support option to enable/disable the auto-check the installed plugins

* fix(revert): codes

* improve(ux): add the auto-check updates switcher to the toolbar plugins manager

* improve(i18n): plugin-related i18n

* enhance(plugin): add Github proxy server for the plugin updates

* enhance(plugin): add Github proxy server for the plugin updates

* fix(ui): warning

* fix: typo
This commit is contained in:
Charlie
2023-06-19 12:51:40 +08:00
committed by GitHub
parent 6a22870d49
commit 741edecc57
8 changed files with 111 additions and 29 deletions

View File

@@ -2027,9 +2027,10 @@ Similar to re-frame subscriptions"
(fn [old-value] (merge old-value m)))))
(defn http-proxy-enabled-or-val? []
(when-let [agent-opts (sub [:electron/user-cfgs :settings/agent])]
(when (every? not-empty (vals agent-opts))
(str (:protocol agent-opts) "://" (:host agent-opts) ":" (:port agent-opts)))))
(when-let [{:keys [type protocol host port] :as agent-opts} (sub [:electron/user-cfgs :settings/agent])]
(when (and (not (contains? #{"system"} type))
(every? not-empty (vals agent-opts)))
(str protocol "://" host ":" port))))
(defn set-mobile-app-state-change
[is-active?]