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

nordisk/facett

facett-demo/.nornir/facett-demo.md

facett-demo — crate card

Reverse-engineered (from source — verify, don't trust the name)

Native ↔ wasm deck parity (the ONE documented divergence)

The deck (DemoState::new) and the LEGEND catalogue are built identically for native and wasm32 except for seven native-only korp caseworker-flow tabs. These are heavyweight case-management surfaces that belong to the full desktop caseworker app, not the lightweight wasm web demo, so both the deck vec![…] and their LEGEND entries are gated behind #[cfg(not(target_arch = "wasm32"))]:

tab (title) crate surface
Bygglov facett-gantt permit-case Gantt bar chart
Support facett-kanban support swimlane Kanban board
Frister facett-calendar deadline / frist month calendar
Notifications facett-toast case notification/toast queue
Anteckning facett-markdown Markdown case-note pane
Search facett-search query SearchBar
Attachments facett-file file / attachment list

So the deck is 72 facets natively (65 shared + these 7) and 65 on wasm (72 − 7). This is the only intentional native↔wasm divergence; every other tab is shared. The invariant is pinned by tests/pop_ran_list.rs:

To add a tab: shared → just add it to the deck + LEGEND (it flows to wasm automatically); native-only → gate it in both places in lib.rs AND add it to NATIVE_ONLY_TABS (+ the EXPECTED_NATIVE list in the parity test).

Fill in (one line each — only the human knows these)