Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content

Refactoring of gui and widget API for BEC CLI

wakonig_k requested to merge feature/rpc_broadcast into pre_release_v2

Description

This MR refactoring reviewed and improved the CLI API for accessing BEC Widgets GUI instance. The refactoring also includes dock_areas and docks. This needs to be tested together with

Related Issues

closes #428

Type of Change

  • dynamic namespace for dock_areas on gui.
  • dynamic namespace for docks on gui.bec.
  • dynamic namespace for widgets on gui.bec.my_dock_area.
  • direct mapping of widget namespace on gui.bec.elements.
  • renamed methods, cleaned up the namespace for GUI, DockAreas and Docks
  • new method gui.connect_to_gui_server(gui_id:str) allows to connect to another GUIServer, and use the CLI to interact with it.
  • There is also now a binding for all available widgets via gui.available_widgets.

Below is a snippet of the implementation

image

Potential side effects

All methods should be checked, I tried my best playing around.

Additional Comments

Definition of Done

  • Add tests
  • Clean up code
  • Cherry pick **kwargs update for widgets.
  • Documentation is up-to-date. (should we add the sketch to the docs, or rather not?)
Edited by appel_c

Merge request reports

Loading