Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/holger-ui

src/main.rs

// The app is wasm-only; `util` is pure and compiles (and unit-tests) on the
// native target too, so `cargo test` exercises the shared helpers without a
// browser harness.
// `admin` is the admin view's pure decisions (who is offered it, sizes in
// human units, lag and offsets in words); host-tested like `session`.
mod admin;
// `admin_queue` is the Queue and Admission panes' pure decisions (job words and
// times, used / limit and the pass-through rule); host-tested like `admin`.
mod admin_queue;
// `front_certs` is the Certificates pane's pure decisions (the front's words, the try-now
// button); host-tested like `admin`.
mod front_certs;
/// The administrator's switch for the public site: drawn only where the console's build has it,
/// and only in the metered bundle (the open bundle carries no switch).
#[cfg(feature = "metered")]
mod site_switch;
// `invites` is the Invites pane's pure decisions (status words, the step-up
// refusal, expiry in words) plus its fetches (wasm only).
mod invites;
#[cfg(target_arch = "wasm32")]
mod app;
#[cfg(target_arch = "wasm32")]
mod components;
#[cfg(target_arch = "wasm32")]
mod grpc;
#[cfg(target_arch = "wasm32")]
mod pages;
// `step_up` answers holger's step-up refusal in place (A28 M9): a fresh touch of the
// person's own key, then the refused call once more; host-tested, the touch itself wasm only.
mod step_up;
// `sync` is the Sync pane's rows (twins and downstreams, the server's state
// words, lag and last sync in words); host-tested like `admin`.
mod sync;
// `sync_board` is the upstream's sync board (H4's data, H6 draws it): per downstream the
// last sync applied, lag, invalidation reach and the alarm, the server's words; host-tested.
mod sync_board;
// The admin's first-import authorization (lanes HOL-CDS, HOL-NCSC): holger's door, said.
mod first_import;
// `overview` is the Overview's lines (lane HOL-UI-FIX): the estate's boxes, sources, storage
// and what needs action, from holger's answers; host-tested.
mod overview;
// `security` is the security workflow's pages (the intake queues, one
// artifact's evidence, the four buttons) as lines from holger's answers;
// host-tested against a mock server.
mod security;
// `depsets` is a pull's dependency set as one approval card (holger lane HOL-DEPSET-APPROVE),
// holger's words; host-tested, its two fetches wasm only.
mod depsets;
// `mine` is the buyer's pages (My repositories, My tokens) as lines from holger's
// answers; host-tested against a mock server.
mod mine;
// `purchase` is the paid half of them (My plan, the account's plan, its purchases), the
// same way. Only a metered console compiles it (A28 M13).
#[cfg(feature = "metered")]
mod purchase;
// `session` is pure but for its two fetches (wasm only); its decisions are
// host-tested like `util`'s.
mod session;
mod util;
#[cfg(target_arch = "wasm32")]
mod webio;

#[cfg(target_arch = "wasm32")]
fn main() {
    console_error_panic_hook::set_once();
    leptos::mount::mount_to_body(app::App);
}

#[cfg(not(target_arch = "wasm32"))]
fn main() {
    eprintln!("holger-ui-web is a wasm32 application — build with trunk");
}