feat(build): add concise render helper

Generate render(view) as the short page/fragment composition helper while keeping render_html(view) as an explicit compatibility alias, then move examples to the leaner happy path.

req: component/003

req: dx/006

req: view/001
This commit is contained in:
slhx agent
2026-06-01 23:09:34 +02:00
parent a8d4604da8
commit 0d4a643759
6 changed files with 28 additions and 25 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ mod tests {
// req: html_safety/002 req: view/001 req: test/005
#[test]
fn kanban_board_test_payload_is_rendered_by_a_hemplate_view() {
let html = super::ui::render_html(&empty_board());
let html = super::ui::render(&empty_board());
let document = Html::parse_fragment(html.as_str());
assert_eq!(document.select(&selector(".columns")).count(), 1);
}