7878from bec_widgets .widgets .progress .ring_progress_bar import RingProgressBar
7979from bec_widgets .widgets .services .bec_queue .bec_queue import BECQueue
8080from bec_widgets .widgets .services .bec_status_box .bec_status_box import BECStatusBox
81- from bec_widgets .widgets .utility .logpanel import LogPanel
8281from bec_widgets .widgets .utility .visual .dark_mode_button .dark_mode_button import DarkModeButton
8382
8483logger = bec_logger .logger
@@ -310,7 +309,6 @@ def _setup_toolbar(self):
310309 ),
311310 "terminal" : (WebConsole .ICON_NAME , "Add Terminal" , "WebConsole" ),
312311 "bec_shell" : (WebConsole .ICON_NAME , "Add BEC Shell" , "WebConsole" ),
313- "log_panel" : (LogPanel .ICON_NAME , "Add LogPanel - Disabled" , "LogPanel" ),
314312 "sbb_monitor" : ("train" , "Add SBB Monitor" , "SBBMonitor" ),
315313 }
316314
@@ -424,9 +422,7 @@ def _connect_menu(menu_key: str):
424422 # first two items not needed for this part
425423 for key , (_ , _ , widget_type ) in mapping .items ():
426424 act = menu .actions [key ].action
427- if widget_type == "LogPanel" :
428- act .setEnabled (False ) # keep disabled per issue #644
429- elif key == "terminal" :
425+ if key == "terminal" :
430426 act .triggered .connect (
431427 lambda _ , t = widget_type : self .new (widget = t , closable = True , startup_cmd = None )
432428 )
@@ -450,10 +446,7 @@ def _connect_flat_actions(mapping: dict[str, tuple[str, str, str]]):
450446 for action_id , (_ , _ , widget_type ) in mapping .items ():
451447 flat_action_id = f"flat_{ action_id } "
452448 flat_action = self .toolbar .components .get_action (flat_action_id ).action
453- if widget_type == "LogPanel" :
454- flat_action .setEnabled (False ) # keep disabled per issue #644
455- else :
456- flat_action .triggered .connect (lambda _ , t = widget_type : self .new (t ))
449+ flat_action .triggered .connect (lambda _ , t = widget_type : self .new (t ))
457450
458451 _connect_flat_actions (self ._ACTION_MAPPINGS ["menu_plots" ])
459452 _connect_flat_actions (self ._ACTION_MAPPINGS ["menu_devices" ])
0 commit comments