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,
dlt_pipeline_select: mo.ui.multiselect) -> mo.Html
Shared header row with logo, profile/workspace info and pipeline select.
render_workspace_home
def render_workspace_home(dlt_profile_select: mo.ui.dropdown,
dlt_all_pipelines: List[TPipelineListItem],
dlt_pipeline_select: mo.ui.multiselect,
dlt_pipelines_dir: str,
dlt_config: DashboardConfiguration) -> List[mo.Html]
Render the workspace-level home view (no pipeline selected).
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_pipelines_dir: str,
dlt_refresh_button: mo.ui.run_button,
dlt_pipeline_name: str) -> List[mo.Html]
Render the pipeline-level home view (pipeline selected or requested).