exlab_wizard.ui.components.breadcrumb#
Breadcrumb bar for the rebuilt main window.
GUI/Orchestrator Redesign §4.1 / §4.7 / decision 7A. Renders a path of
clickable segments derived from selected_node.
Functions
|
Render the breadcrumb row. |
|
Decompose a tree-node id into clickable segments. |
Classes
|
One clickable segment in the breadcrumb bar. |
- class exlab_wizard.ui.components.breadcrumb.BreadcrumbSegment(label, node_id)[source]#
Bases:
objectOne clickable segment in the breadcrumb bar.
- exlab_wizard.ui.components.breadcrumb.render_breadcrumb(*, selected_node, on_navigate=None)[source]#
Render the breadcrumb row. Pure render function.
Each segment is a clickable label; the callback receives the segment’s
node_idso the caller can re-emit selection through the standardon_select_nodehandler (Redesign §9.1).
- exlab_wizard.ui.components.breadcrumb.segments_from_node_id(selected_node)[source]#
Decompose a tree-node id into clickable segments.
Tree ids are slash-joined strings (
equip/proj/Runs/Run_...). The leading device label is conceptually the root; we don’t render it explicitly here. Returns a left-to-right list of segments where each segment’snode_idis the ancestor id needed to navigate to it.- Parameters:
- Return type: