Data browser screen for MADSci TUI.
Provides datapoint browsing with filtering by label and data type, a type-aware detail panel for selected datapoints, and preview information for JSON, file, and object storage types.
Classes¶
DataBrowserScreen(**kwargs: Any)Screen showing data browser with type-aware detail display.
Initialize the screen.
Ancestors (in MRO)¶
madsci.client.cli.tui.mixins.ActionBarMixin
madsci.client.cli.tui.mixins.AutoRefreshMixin
madsci.client.cli.tui.mixins.ServiceURLMixin
textual.screen.Screen
typing.Generic
textual.widget.Widget
textual.dom.DOMNode
textual.message_pump.MessagePump
Class variables¶
BINDINGS: ClassVar[list[BindingType]]:can_focus:can_focus_children:Methods¶
action_go_back(self) ‑> NoneGo back to the dashboard.
action_refresh(self) ‑> NoneRefresh data.
compose(self) ‑> Iterable[textual.widget.Widget]Compose the data browser screen layout.
on_data_table_row_selected(self, event: DataTable.RowSelected) ‑> NoneHandle row selection in the data table.
Args: event: The row selected event.
on_filter_bar_filter_changed(self, event: FilterBar.FilterChanged) ‑> NoneHandle filter changes from the FilterBar.
Args: event: The filter changed event with search and filters.
on_mount(self) ‑> NoneHandle screen mount - set up table and load data.
refresh_data(self) ‑> NoneRefresh datapoint data from the data manager.