Skip to content

Replace remaining Element::<> builders with html! macro#11

Merged
dannywillems merged 1 commit intomainfrom
feat/ironhtml-macro-phase2
Feb 8, 2026
Merged

Replace remaining Element::<> builders with html! macro#11
dannywillems merged 1 commit intomainfrom
feat/ironhtml-macro-phase2

Conversation

@dannywillems
Copy link
Contributor

Summary

  • Convert all 29 Element::<X>::new() patterns to html! macro syntax across list.rs, detail.rs, and blog_admin.rs
  • Remove unused imports (Element, Form, Nav, Th, Tr) now resolved internally by the macro
  • Zero Element::< patterns remain in the oxide-sql crates

Test plan

  • cargo check -p oxide-admin --all-targets — clean, zero warnings
  • cargo test -p oxide-admin -p oxide-forms — 52/52 tests pass
  • cargo clippy -p oxide-admin -p oxide-forms --all-targets — clean
  • cargo fmt -- --check — clean

Convert all 29 Element::<X>::new() patterns to html! macro syntax
across list.rs, detail.rs, and blog_admin.rs. Remove unused imports
(Element, Form, Nav, Th, Tr) that are now resolved internally by
the macro.
@dannywillems dannywillems merged commit 0ee63d1 into main Feb 8, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant