feat(ui): add htmx ui foundation#188
Open
angela-helios wants to merge 4 commits into
Open
Conversation
smunini
requested changes
Jul 3, 2026
smunini
left a comment
Contributor
There was a problem hiding this comment.
@angela-helios I would prefer to name the crate 'ui' on disk instead of 'web' and have the crate name be 'helios-ui' instead of 'helios-web' I think web is too much of a generic term.
Contributor
|
NIT should we update CLAUDE.md? @angela-helios @smunini @mauripunzueta |
doug-helios
reviewed
Jul 3, 2026
|
|
||
| # Compile-time, type-checked, auto-escaping templates (Jinja2-like). | ||
| # Markup lives in templates/, never in Rust source. | ||
| askama = "0.12" |
Contributor
There was a problem hiding this comment.
I believe this is outdated as there is 0.16.0 already available
doug-helios
approved these changes
Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a minimal HTMX-based UI foundation for HFS.
This introduces a new optional
helios-uicrate undercrates/ui, mounted by thehfsbinary when theuifeature is enabled. The UI currently exposes a small proof-of-concept page at/uithat displays the running HFS version, plus an HTMX-powered/ui/versionpartial refresh endpoint.The
headlessfeature path is also included so HFS can be built without compiling or mounting the UI.Changes
helios-uicrate for optional web UI codeuidefault feature tohelios-hfsheadlessfeature flag for no-UI builds/uiand/ui/versionfrom the HFS binary when UI is enabledTesting
cargo fmt --allcargo test -p helios-uicargo check -p helios-hfscargo check -p helios-hfs --no-default-features --features R4,sqlite,headless