Skip to main content

Crate fedimint_ui_common

Crate fedimint_ui_common 

Source

Modules§

assets
auth

Structs§

LoginInput
UiState
Generic state for both setup and dashboard UIs

Constants§

CONNECTIVITY_CHECK_ROUTE
LOGIN_ROUTE
ROOT_ROUTE

Functions§

check_tcp_connect 🔒
common_head
connectivity_check_handler
Handler that checks internet connectivity by attempting TCP connections to well-known anycast IPs and returns an HTML fragment. Manually checks auth cookie to avoid UserAuth extractor’s redirect, which would cause htmx to swap the entire login page into the widget.
connectivity_widget
Fixed-position div that loads the connectivity status fragment via htmx.
dashboard_layout
login_form_response
login_layout