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.
1.9 KiB
1.9 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased
1.2.1 - 2021-03-03
Fixed
- Fixed a compile error on some nightly compiler versions.
1.2.0 - 2020-01-03
Fixed
- Fixed numeric values being truthy when zero, rather than when non-zero. (For real this time)
Added
- Allow numeric indexes to be used in paths, to index into JSON arrays.
1.1.0 - 2020-05-31
- Added
TinyTemplate::set_default_formatterwhich, for example, allows to dissable HTML-scaping
1.0.4 - 2020-04-25
Added
- Added
@rootkeyword which allows printing, branching on or iterating over the root context object. This is saves having to wrap simple context values in a struct.
1.0.3 - 2019-12-26
Fixed
- Fixed the @last keyword never evaluating to true
- Fixed numeric values being truthy when zero, rather than when non-zero.
1.0.2 - 2019-05-16
Fixed
- Fixed possible panic when compiling templates with escaped curly braces.
1.0.1 - 2019-01-19
Added
- Added support for older versions of Rust (back to 1.26).
1.0.0 - 2019-01-19
Added
- Initial release on Crates.io.