Skip to content

views: triage source (untagged, query, saved view) and links without local ids (S6b of #3) - #40

Merged
thorwhalen merged 1 commit into
mainfrom
feat/3-saved-view-source
Dec 1, 2026
Merged

thorwhalen merged 1 commit into
mainfrom
feat/3-saved-view-source

Conversation

@thorwhalen

@thorwhalen thorwhalen commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Part of #3. The triage layout's source is untagged, { query: { filter } } or { savedView: id } (a saved view of this app). One resolver (resolveTriageSource, used by the model and by inlineSavedViews) follows a chain of saved views iteratively (a cycle is reported with its path, depth is capped, a resolver that throws is a problem, not a crash) and uses only the saved view's text filter. SavedViewRecordSchema is a saved view with a local id, kept out of SavedViewSchema. viewToLink refuses a lens naming a saved view by id and viewFromLink refuses a link that arrives naming one; the model's toSavedView keeps the reference (a local save) and toShareableView inlines only the text filter (no id, name or other key leaves). A broken source is shown, not reported as all filed. Independent adversarial review: 9 findings fixed test-first.

…ks never carry a local saved-view id (S6b of #3)
@thorwhalen
thorwhalen force-pushed the feat/3-saved-view-source branch from ed02055 to 87a4c02 Compare December 1, 2026 19:01
@thorwhalen
thorwhalen merged commit a07822c into main Dec 1, 2026
3 checks passed
@thorwhalen
thorwhalen deleted the feat/3-saved-view-source branch December 1, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant