Logo
Explore Help
Sign In
jesus/TypeDialog
1
0
Fork 0
You've already forked TypeDialog
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
TypeDialog/examples/05-fragments/header.ncl

6 lines
287 B
Plaintext
Raw Normal View History

feat(forms): migrate all form definitions and configs to Nickel (.ncl) Replace all TOML form definitions in examples/ and config/ with type-checked Nickel equivalents. Update cli_loader to prefer .ncl (via nickel export) over .toml in config search order. TOML support retained as fallback — no breaking change. - El loader usa nickel export --format json + serde_json como puente — evita reimplementar un parser Nickel en Rust y aprovecha el binario ya existente. - El orden de búsqueda .ncl > .toml permite migración incremental: cualquier config vieja sigue funcionando sin tocarla. - Los contratos Nickel (| default, | String) en los configs sustituyen la validación que antes era implícita en el parsing TOML — el error llega antes (en nickel export) con mensajes más descriptivos.
2026-03-08 23:20:50 +00:00
{
elements = [
{ type = "header", name = "main_header", title = "✨ Form with Modular Sections", align = "center", border_top = true, border_top_char = "═", border_top_len = 60, border_bottom = true, border_bottom_char = "═", border_bottom_len = 60, margin_left = 0 },
],
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 20ms Template: 1ms
English
English Español
Licenses API