feat: introduce pattern-based collection nesting and entry creation #4
Loading…
Reference in a new issue
No description provided.
Delete branch "push-nmkvqlkxklmo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refactor
pmoconfigto replace fixed section depths with flexible path patterns, enabling nested collections and dynamic entry creation. Update the web UI to support these new structures, including specific styling for nested tables and cards.Collectionto use apatternfield instead ofsection, addingcreatablelabels for new entries andnestedcollections for hierarchy.NewFieldstruct and updateEntryViewwithchildrenfields to support nested data structures in the UI.Config::entriessignature to accept only a pattern slice, removing the depth argument and simplifying entry resolution logic.table.entries) and cards, supporting horizontal scrolling and specific field sizing.collection_create.rstests to verify nested entry creation, group/destination removal, and behavior of empty fields in multiroom configurations.src/webui/teststo use wildcard patterns (*) for device types and renderer, reflecting the new pattern-based API.submitlogic inwebui/mod.rsto handle parent entry cleanup when removing entries, preventing orphaned empty sections.creationandkeep_entrieshelpers insave.rsto manage new entry creation and retention of existing entries during save operations.Cargo.tomlandCargo.lock.api/0.3.0.txttoapi/0.3.1.txtto reflect updated API definitions for the new collection features.