branch: elpa/hyperdrive
commit 733c60b72b27b397e6cbbb293d2c6ceeb4f9dad0
Author: Joseph Turner <[email protected]>
Commit: Joseph Turner <[email protected]>

    Change: (h/menu-bar-menu) Remove gateway status indicator
    
    Since the menu bar's items can't be updated while the menu is
    displayed, showing an indicator could be misleading to the user, since
    it could become outdated while the menu is displayed (e.g.  while
    starting the gateway).
    
    So we won't show such indicators in the menu bar.  Instead, the
    Transient ~hyperdrive-menu~ UI is a suitable "dashboard" for such
    indicators, because the Transient can be refreshed while it's
    displayed.
    
    Co-authored-by: Adam Porter <[email protected]>
---
 hyperdrive.el | 2 --
 1 file changed, 2 deletions(-)

diff --git a/hyperdrive.el b/hyperdrive.el
index 9551c9e2ac..8a4a783232 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -817,8 +817,6 @@ The return value of this function is the retrieval buffer."
 
 (defvar h/menu-bar-menu
   '(("Gateway"
-     :label
-     (format "Gateway (%s)" (if (h//gateway-ready-p) "on" "off"))
      ["Start Gateway" h/start
       :help "Start hyper-gateway-ushin"]
      ["Stop Gateway" h/stop

Reply via email to