Spike, not the final UI: it answers whether flare-ui can drive Alkane OS's on-box pages, and what it costs. What works: - schema/alkane-bb.json authors the sidebar as data (3 sections, 14 tabs); - src/bin/ui-spike.rs renders it through flare_ui::nav + flare_ui::shell, so the unified sidebar, ordering and surface filtering come from the schema rather than from hand-written HTML; - the render uses the shared bf- design tokens, the same ones the rest of the suite uses. Size, measured rather than assumed (armv7, release, stripped): ui-baseline 323 KiB (maud + serde_json, no flare-ui) ui-spike 771 KiB (flare-ui + wschema + sha2) marginal 448 KiB Vendoring: third-party/flare-ui is the full v0.2.9 tree pinned in flare-ui/flare-ui.lock (a partial archive does not compile, since the crate include_str!s assets from dash-editor/). vendor/ is re-generated as a cargo directory source with the new registry dependencies (maud, sha2, typenum, digest, generic-array, block-buffer, crypto-common, cfg-if, etc.) so the build still works offline. third-party/README.md records how to re-pin.
91 lines
2.2 KiB
Plaintext
91 lines
2.2 KiB
Plaintext
error: just an item error
|
|
= note: see an item
|
|
--> tests/stable/errors.rs:5:16
|
|
|
|
|
5 | error: just an item error,
|
|
| ^^^^
|
|
|
|
error: [help] I can help with that
|
|
--> tests/stable/errors.rs:7:15
|
|
|
|
|
7 | help: I can help with that,
|
|
| ^
|
|
|
|
error: just an expression error item context
|
|
= note: see an exp
|
|
= warning: kind of weird
|
|
--> tests/stable/errors.rs:11:16
|
|
|
|
|
11 | error: just an expression error item context,
|
|
| ^^^^
|
|
|
|
error: [help] I can help with that
|
|
--> tests/stable/errors.rs:14:15
|
|
|
|
|
14 | help: I can help with that,
|
|
| ^
|
|
|
|
error: just an expression error expr content
|
|
= warning: oh no
|
|
--> tests/stable/errors.rs:18:16
|
|
|
|
|
18 | error: just an expression error expr content,
|
|
| ^^^^
|
|
|
|
error: this is an item error message
|
|
--> tests/stable/errors.rs:24:12
|
|
|
|
|
24 | error: this is an item error message,
|
|
| ^^^^
|
|
|
|
error: this is an error message
|
|
= note: but it has a note
|
|
--> tests/stable/errors.rs:28:12
|
|
|
|
|
28 | error: this is an error message,
|
|
| ^^^^
|
|
|
|
error: hello
|
|
--> tests/stable/errors.rs:33:12
|
|
|
|
|
33 | error: hello,
|
|
| ^^^^^
|
|
|
|
error: [warning] just wanted to warn you
|
|
--> tests/stable/errors.rs:34:14
|
|
|
|
|
34 | warning: just wanted to warn you,
|
|
| ^^^^
|
|
|
|
error: [note] just jotting things down
|
|
= help: please help on that note
|
|
= note: notes on notes
|
|
--> tests/stable/errors.rs:35:11
|
|
|
|
|
35 | note: just jotting things down,
|
|
| ^^^^
|
|
|
|
error: [warning] hello not found
|
|
= note: just a note to say hi
|
|
= help: its a good idea to say hello
|
|
--> tests/stable/errors.rs:41:14
|
|
|
|
|
41 | warning: hello not found,
|
|
| ^^^^^
|
|
|
|
error: unknown diagnostic kind
|
|
= help: expected one of: 'error', 'warning', 'note', 'help'
|
|
= note: or their _ versions
|
|
--> tests/stable/errors.rs:47:5
|
|
|
|
|
47 | hello: hello,
|
|
| ^^^^^
|
|
|
|
error: [help] this is standalone help
|
|
= note: but we add things to it
|
|
= help: like more help
|
|
--> tests/stable/errors.rs:51:11
|
|
|
|
|
51 | help: this is standalone help,
|
|
| ^^^^
|