mirror of
https://github.com/hanzoai/frappe.git
synced 2026-11-09 14:28:40 +00:00
Replace useListView.serialize() with a reactive `snapshot` computed and defer all saving to the host: persist by watching it (`watch(view.snapshot, save)`), which covers filter, sort, and every column add/remove/resize. The library owns no ViewStorage/autosave/dirty (ADR-0007); it tops out at an identity-less View Snapshot, with restore() staying rich-only. QuickFilter: field edits are already live via v-model:fields, so the customize "Save" button only left edit mode. Relabel it "Done" and rename the @save emit to @done so it no longer pretends to persist. Also fix applyQuick to return the same array on an empty no-op, so clearing an already-empty input doesn't churn snapshot identity into a phantom autosave. Add ADR-0007, the View Snapshot glossary term, and rewrite the saving docs; rename serialize.test -> snapshot.test.