Editor: view-scoped Extract-to-Dataset for inline and self-defined data

This commit is contained in:
2026-06-29 02:08:59 +03:00
parent 8cad80f738
commit 6656811b8e
16 changed files with 910 additions and 180 deletions
+4 -1
View File
@@ -75,7 +75,10 @@ export interface ModalConfig {
component: ComponentType<any>; // the body rendered inside the shell
/** Initialize transient modal state when it opens. `arg` carries an
* optional sub-target (e.g. a dataset id for chartBuilder/extract). */
* optional sub-target (e.g. a dataset id for chartBuilder/datasets). OMIT
* when a service seeds the store *before* `openModal` — Extract is seeded by
* `services/extract-action` from the editor cursor, and an `init` here would
* re-read and clobber that view-scoped capture. */
init?: (arg?: string) => void;
/** Serializable snapshot of in-progress edits, used to detect unsaved