1818 available_screen_geometry ,
1919 main_app_size_for_screen ,
2020)
21+ from bec_widgets .widgets .containers .dock_area .profile_utils import is_experimental_features_enabled
2122from bec_widgets .widgets .containers .main_window .main_window import BECMainWindow
2223
2324
@@ -63,7 +64,7 @@ def _add_views(self):
6364 self .add_section ("BEC Applications" , "bec_apps" )
6465 self .dock_area = DockAreaView (self )
6566 self .device_manager = DeviceManagerView (self )
66- # self.developer_view = DeveloperView(self) #TODO temporary disable until the bugs with BECShell are resolved
67+ self .developer_view = None
6768 self .admin_view = AdminView (self )
6869
6970 self .add_view (icon = "widgets" , title = "Dock Area" , widget = self .dock_area , mini_text = "Docks" )
@@ -73,14 +74,15 @@ def _add_views(self):
7374 widget = self .device_manager ,
7475 mini_text = "DM" ,
7576 )
76- # TODO temporary disable until the bugs with BECShell are resolved
77- # self.add_view(
78- # icon="code_blocks",
79- # title="IDE",
80- # widget=self.developer_view,
81- # mini_text="IDE",
82- # exclusive=True,
83- # )
77+ if is_experimental_features_enabled ():
78+ self .developer_view = DeveloperView (self )
79+ self .add_view (
80+ icon = "code_blocks" ,
81+ title = "IDE" ,
82+ widget = self .developer_view ,
83+ mini_text = "IDE" ,
84+ exclusive = True ,
85+ )
8486 self .add_view (
8587 icon = "admin_panel_settings" ,
8688 title = "Admin View" ,
0 commit comments