DraugnetUI v2.1.0
Full changelog: v2.0.0...v2.1.0
Highlights
This release adds the "Report via Template" page — a guided, event-template-driven
submission form that renders dynamically from a backend template definition — and
improves the CSV reporting page.
✨ Report via Template (template.html)
A new guided submission page that builds its form from a backend template rather than
a fixed layout:
- Template picker & render dispatch — searchable
GET /templatespicker, then
fetchesGET /templates/{uuid}and renders the definition element-by-element. - Element renderers for all element types:
section,text_block, andattribute_fieldobject_field(via/object_templates)tag_fieldandgalaxy_fieldpickers (taxonomy / galaxy-cluster backed)file_field(base64 upload) andevent_report(Markdown)
- Event-defaults panel — read-only/informational view of the template's
event_defaults, with a live{{date}} / {{now}} / {{user}} / {{field:id}}
info preview. - Slim metadata block — PAP / submitter / description, built inline on the page.
- Client-side validation, submit & token save — mandatory-field enforcement,
POST /share/template, and automatic token save to localStorage. - Theming — full light/dark parity for object instances.
📄 CSV reporting improvements
- Fixed date-field handling in CSV reports.
- Added type/category dropdowns (backed by a bundled
describeTypes.json).
📚 Documentation
- Documented the Report-via-Template page in
CLAUDE.md. - Added an operator UI end-to-end checklist for the template page.