dlt._workspace.helpers.dashboard.utils.home
Home page rendering helpers: workspace and pipeline home views.
header_controls
def header_controls(
dlt_profile_select: mo.ui.dropdown) -> Optional[List[mo.Html]]
Build profile-related header controls if profiles are enabled.
detect_dlt_hub
def detect_dlt_hub() -> bool
Check whether dlt.hub is available.
home_header_row
def home_header_row(dlt_profile_select: mo.ui.dropdown,
right_control: Any = None) -> mo.Html
Shared header row with logo, profile/workspace info and an optional right-hand control.
render_no_pipelines_home
def render_no_pipelines_home(
dlt_profile_select: mo.ui.dropdown) -> List[mo.Html]
Render a minimal landing shown when no pipelines are available to inspect.
The pipeline dropdown is omitted because there is nothing to select.
render_no_pipeline_selected_home
def render_no_pipeline_selected_home(
dlt_profile_select: mo.ui.dropdown,
dlt_pipeline_select: mo.ui.multiselect) -> List[mo.Html]
Render the landing shown when pipelines exist but none is selected.
The pipeline dropdown stays visible so the user can re-select a pipeline.
render_pipeline_header_row
def render_pipeline_header_row(dlt_pipeline_name: str,
dlt_profile_select: mo.ui.dropdown,
dlt_pipeline_select: mo.ui.multiselect,
buttons: List[mo.Html]) -> List[mo.Html]
Render the pipeline header row with logo, title, and action buttons.
render_pipeline_home
def render_pipeline_home(dlt_profile_select: mo.ui.dropdown,
dlt_pipeline: dlt.Pipeline,
dlt_pipeline_select: mo.ui.multiselect,
dlt_refresh_button: mo.ui.run_button,
dlt_pipeline_name: str) -> List[mo.Html]
Render the pipeline-level home view (pipeline selected or requested).