Expand description
Orbital History — composable audit timeline for Leptos.
Host applications own data fetch and domain models; Orbital owns presentation, formatting defaults, layout, slots, and render extensibility.
Modules§
- preview
- Preview catalog registration for orbital-history.
Structs§
- History
Attachment - Attachment metadata for markdown image dedup in history change bodies.
- History
Change Slot - Props for the
HistoryChangeSlotslot. - History
Change Slot Builder - Builder for
HistoryChangeSlotinstances. - History
Citation - Citation metadata for markdown
[^id]refs in history change bodies. - History
Context - Shared timeline context for leaf components.
- History
Empty View - Props for the
HistoryEmptyViewslot. - History
Empty View Builder - Builder for
HistoryEmptyViewinstances. - History
EndView - Props for the
HistoryEndViewslot. - History
EndView Builder - Builder for
HistoryEndViewinstances. - History
Entry - One audit-timeline row.
- History
Entry Slot - Props for the
HistoryEntrySlotslot. - History
Entry Slot Builder - Builder for
HistoryEntrySlotinstances. - History
Error View - Props for the
HistoryErrorViewslot. - History
Error View Builder - Builder for
HistoryErrorViewinstances. - History
Events - Interaction-only callbacks (no network inside the crate).
- History
Features - Opt-in / opt-out capabilities (runtime; not Cargo features).
- History
Fetch Params - Parameters passed to a server
HistoryPageFetcher. - History
Field Diff - One field change inside a multi-field card.
- History
Filter - Client-side filter over currently loaded history entries.
- History
Filter Actor Option - One selectable actor for filter chrome (
id+ display label). - History
Handle - Imperative handle for programmatic
HistoryTimelineactions. - History
Header - Props for the
HistoryHeaderslot. - History
Header Builder - Builder for
HistoryHeaderinstances. - History
Loading More View - Props for the
HistoryLoadingMoreViewslot. - History
Loading More View Builder - Builder for
HistoryLoadingMoreViewinstances. - History
Loading View - Props for the
HistoryLoadingViewslot. - History
Loading View Builder - Builder for
HistoryLoadingViewinstances. - History
Locale - User-facing strings and format templates for the history timeline.
- History
Markdown Render Options - Feature toggles for history markdown rendering.
- History
Mention - Mention metadata for
@[label](id)refs in markdown change bodies. - History
Pagination View - Props for the
HistoryPaginationViewslot. - History
Pagination View Builder - Builder for
HistoryPaginationViewinstances. - History
Relative Time Locale - Relative time formatting strings.
- History
Render Context - Context passed to history render callbacks.
- History
Renderers - Host render overrides. Slots win when both prop and slots are set.
- History
RowViewport - Visible index window with spacer padding heights.
- History
Serialized State - Serializable snapshot of timeline UI state for deep-linking and host persistence.
- History
Slots - Internal slot content consumed by the timeline.
Enums§
- History
Actor - Who performed the change.
- History
Change - Structured change payload for default formatting.
- History
Date Bucket - Relative date section for dividers (UTC calendar days).
- History
Group By - Group consecutive timeline entries for collapse UI.
- History
Layout - Timeline entry layout.
- History
List Item - Projected list item: section divider, unread divider, group header, or entry.
- History
Live Scroll Policy - Scroll behavior when live entries merge above server pages.
- History
Paging Mode - How Server sources load pages. Client always renders the full signal list.
- History
Sort - Client-side sort order (only when
HistoryFeatures::CLIENT_SORTis enabled). - History
Source - Data source: in-memory list or server page fetcher.
Constants§
- DEFAULT_
HISTORY_ ROW_ HEIGHT_ PX - Default row height estimate for history entry rows (px).
- DEFAULT_
HISTORY_ ROW_ OVERSCAN - Default overscan rows above/below the visible window.
- DEFAULT_
TRUNCATE_ LEN - Default max display length for substituted values.
- HISTORY_
VIRTUALIZE_ THRESHOLD - Minimum item count before virtualization activates.
Statics§
- HISTORYDATASOURCEDOC_
PREVIEW_ REGISTRATION - HISTORYDATEDIVIDERSDOC_
PREVIEW_ REGISTRATION - HISTORYEMBEDDOC_
PREVIEW_ REGISTRATION - HISTORYFILTERDOC_
PREVIEW_ REGISTRATION - HISTORYGROUPINGDOC_
PREVIEW_ REGISTRATION - HISTORYHANDLEDOC_
PREVIEW_ REGISTRATION - HISTORYLAYOUTDOC_
PREVIEW_ REGISTRATION - HISTORYLIVETRANSPORTDOC_
PREVIEW_ REGISTRATION - HISTORYLIVEUPDATEDOC_
PREVIEW_ REGISTRATION - HISTORYLOADINGDOC_
PREVIEW_ REGISTRATION - HISTORYLOCALIZATIONDOC_
PREVIEW_ REGISTRATION - HISTORYMARKDOWNDOC_
PREVIEW_ REGISTRATION - HISTORYMULTIDIFFDOC_
PREVIEW_ REGISTRATION - HISTORYPAGEDDOC_
PREVIEW_ REGISTRATION - HISTORYREFRESHDOC_
PREVIEW_ REGISTRATION - HISTORYRENDERERSDOC_
PREVIEW_ REGISTRATION - HISTORYSCROLLLOADDOC_
PREVIEW_ REGISTRATION - HISTORYSERVERFILTERDOC_
PREVIEW_ REGISTRATION - HISTORYSLOTSDOC_
PREVIEW_ REGISTRATION - HISTORYSORTDOC_
PREVIEW_ REGISTRATION - HISTORYTIMELINE_
PREVIEW_ REGISTRATION - HISTORYTIMEZONEBUCKETSDOC_
PREVIEW_ REGISTRATION - HISTORYTIMEZONEDISPLAYDOC_
PREVIEW_ REGISTRATION - HISTORYVIRTUALIZEDDOC_
PREVIEW_ REGISTRATION
Functions§
- History
Actor Label - Actor label: system text or user name / link.
- History
Change Card - Multi-field change card for
HistoryChange::FieldDiffs. - History
Change Line - Single-line formatted change summary (or markdown body when enabled).
- History
Data Source Doc - Client signal vs server page fetcher data sources.
- History
Date Divider - Relative date-bucket section header.
- History
Date Dividers Doc - Relative date-bucket dividers (Today / Yesterday / …).
- History
Default Empty View - Default empty-state message.
- History
Default EndView - Default end-of-list caption.
- History
Default Error View - Default error-state message.
- History
Default Filter Chrome - Default search input bound to the active filter (requires
HistoryFeatures::FILTER_CHROME). - History
Default Header - Default title header for the timeline.
- History
Default Loading More View - Default incremental loading footer.
- History
Default NoMatches View - Empty state when a filter is active but nothing matches.
- History
Default Pagination - Default page-number footer for Server +
HistoryPagingMode::Paged. - History
Default Sort Chrome - Default newest/oldest toggle (requires
HistoryFeatures::CLIENT_SORT+HistoryFeatures::SORT_CHROME). - History
Default Toolbar - Toolbar region with optional filter and sort chrome.
- History
Dialog - Generic dialog shell around
HistoryTimeline. - History
Embed Doc - Dialog embed via [
HistoryDialog] ormax_heighton the timeline. - History
Entry List - Render a list of history entries with optional sort, filter, date dividers, and virtualization.
- History
Entry Row - One history entry row (natural timeline or compact sentence layout).
- History
Entry RowSkeleton - One placeholder entry row for initial load.
- History
Filter Doc - Filter loaded entries via a controlled
filtersignal or built-in chrome. - History
Group Header - Collapsible group header for consecutive actor/kind runs.
- History
Grouping Doc - Collapse consecutive entries by actor or kind when
GROUP_COLLAPSEis enabled. - History
Handle Doc - Imperative handle for scroll-to-entry and scroll-to-top.
- History
Kind Entry Row - Standard entry chrome (timestamp, actor, spine) for custom
kind_viewsrenderers. - History
Layout Doc - Natural timeline (default) and compact inline sentence layout.
- History
Live Transport Doc - Host-owned live updates: no WS/SSE inside Orbital — wire your transport, push entries via hooks.
- History
Live Update Doc - Live updates without a transport protocol: Client prepend, Server
live_head, andprepend_live. - History
Loading Doc - Initial skeleton vs incremental footer loading.
- History
Localization Doc - English and French locale presets.
- History
Markdown Body - Read-only markdown body with citation click and mention hover card.
- History
Markdown Doc - Read-only markdown rendering for change bodies when
MARKDOWN_BODIESis enabled. - History
Multi Diff Doc - Multi-field change card for
HistoryChange::FieldDiffs. - History
Paged Doc - Server paged mode with footer page controls and optional pagination slot.
- History
Refresh Doc - Server refresh via [
HistoryHandle::refresh]. - History
Renderers Doc - Custom kind renderers with fallthrough to defaults.
- History
Scroll Load Doc - Load pages until an entry id is found (
scroll_to_entry_or_load). - History
Server Filter Doc - Server fetcher receives filter criteria when
SERVER_FILTERis enabled. - History
Slots Doc - Structural chrome slots for header, empty, and end states.
- History
Sort Doc - Client-side newest/oldest sort behind
CLIENT_SORT. - History
Timeline - Scrollable audit timeline from a client signal or server page fetcher.
- History
Timeline Skeleton - Full timeline skeleton for initial load.
- History
Timestamp - Compact timestamp for a history entry.
- History
Timezone Buckets Doc - Date-bucket dividers using a display timezone.
- History
Timezone Display Doc - Compact timestamps follow
display_timezone. - History
Unread Divider - Divider marking the boundary between read and unread entries.
- History
Virtualized Doc - Windowed rendering for long client lists when
VIRTUALIZEis enabled. - apply_
filter - Filter loaded entries by query / kind / actor id.
- apply_
sort - Sort entries by
changed_at(stable byidon ties). - attach_
row_ height_ observer - change_
view_ fn - Helper to build a change-view arc from a closure.
- compute_
history_ viewport - Compute which list item indices to render for a scroll position.
- compute_
variable_ viewport - Compute a visible window for variable-height list items.
- entry_
view_ fn - Helper to build an entry-view arc from a closure.
- format_
change - Format a change payload using locale templates.
- history_
date_ bucket - Assign a relative date bucket for
changed_atrelative tonow(UTC calendar days). - history_
date_ bucket_ in_ tz - Assign a relative date bucket using wall-clock calendar days in
tz. - history_
locale_ signal - Signal-backed locale for reactive language toggles.
- history_
styles - CSS for the history timeline shell and entry rows.
- insert_
unread_ divider - Insert an unread divider before the first unread entry in a projected list.
- is_
entry_ unread - Returns true when the entry is unread relative to
watermark. - list_
item_ cache_ key - Stable cache key for a list item.
- list_
item_ heights - Resolve heights for each list item, using cache or fallback estimate.
- merge_
live_ head - Prepend
liveentries abovefetched, dropping duplicates byid. - page_
fetcher - Wrap a legacy
PageRequest-only fetcher (ignores filter / sort). - project_
entry_ groups - Collapse consecutive entries sharing the same actor or kind.
- provide_
history_ context - render_
history_ markdown - Render a history change body as sanitized HTML (read-only).
- resolve_
history_ locale - Resolve locale from an optional override, falling back to English defaults.
- scroll_
offset_ for_ index - Cumulative offset to the top of
index(sum of prior item heights). - truncate_
display_ value - Truncate a display string with a Unicode ellipsis when over
max_len. - use_
history_ context - with_
date_ dividers - Project entries into a list with date-bucket dividers (newest-first input, UTC days).
- with_
date_ dividers_ in_ tz - Project entries into a list with date-bucket dividers in
tz. - with_
date_ dividers_ on_ list_ items - Insert date-bucket dividers into a projected list (entries and group headers).
- with_
unread_ divider - Insert an unread divider before the first unread entry when enabled.
Type Aliases§
- History
Change View - Change-region override inside default chrome. Return
Noneto fall through. - History
Entry View - Full-row override. Return
Noneto fall through. - History
Page Fetcher - Async fetcher for server-driven history pages.
- History
RowHeight Cache - Measured row heights keyed by entry id or divider sentinel.