Render linked SyncD Atomic tables with the upstream Google Keep view #83

Open
michielbdejong wants to merge 1 commit from michielbdejong/recursive-keep-view into codex/syncd-nextgraph-replica AGit

Render SyncD's OpenAPI-derived Atomic representation as linked tables and offer the upstream Google Keep view only for its supported Atomic Note class. The wrapper table keeps source-id as a string and source-json as a reference; nested objects and arrays retain their generated schemas and identities.

The adapter stores real typed RDF and publishes large snapshots using bounded content-document writes, followed by one root pointer/checkpoint update. A failed build preserves the previous active snapshot, retries reuse the pending document, and readers show received/expected resource counts while native sync catches up. Unchanged content is reused across source-only revision changes.

The unchanged Keep View 0.3.0 bundle from ontola/atomic-plugins and the pinned Atomic Store client run in a network-blocked iframe. The host provides dataset-scoped reads, queries, table notifications and app-local renderer registration; source rows and schemas are read-only. Provenance and checksums are in shared/syncd/vendor/source.json.

This companion targets the existing codex/syncd-nextgraph-replica trial branch. Upstream schema/projection and Keep View changes: https://github.com/ontola/atomic-plugins/pull/720. The linked Braid representation is opt-in; the raw representation remains supported.

Validation: all 86 unit/native-WASM tests, SyncD TypeScript checking and a production build passed. Native recovery tests cover interrupted publication and retry without replacing the previous pointer. A browser trial against the existing real SyncD Keep collection verified 111 notes and 803 checklist items, wrapper references, schema-based view availability, disabled edits, search, grid/list layouts and reload persistence. Private source data, credentials, profiles and screenshots are excluded from this PR.

Render SyncD's OpenAPI-derived Atomic representation as linked tables and offer the upstream Google Keep view only for its supported Atomic Note class. The wrapper table keeps source-id as a string and source-json as a reference; nested objects and arrays retain their generated schemas and identities. The adapter stores real typed RDF and publishes large snapshots using bounded content-document writes, followed by one root pointer/checkpoint update. A failed build preserves the previous active snapshot, retries reuse the pending document, and readers show received/expected resource counts while native sync catches up. Unchanged content is reused across source-only revision changes. The unchanged Keep View 0.3.0 bundle from ontola/atomic-plugins and the pinned Atomic Store client run in a network-blocked iframe. The host provides dataset-scoped reads, queries, table notifications and app-local renderer registration; source rows and schemas are read-only. Provenance and checksums are in shared/syncd/vendor/source.json. This companion targets the existing codex/syncd-nextgraph-replica trial branch. Upstream schema/projection and Keep View changes: https://github.com/ontola/atomic-plugins/pull/720. The linked Braid representation is opt-in; the raw representation remains supported. Validation: all 86 unit/native-WASM tests, SyncD TypeScript checking and a production build passed. Native recovery tests cover interrupted publication and retry without replacing the previous pointer. A browser trial against the existing real SyncD Keep collection verified 111 notes and 803 checklist items, wrapper references, schema-based view availability, disabled edits, search, grid/list layouts and reload persistence. Private source data, credentials, profiles and screenshots are excluded from this PR.
Import typed RDF in bounded native content documents and publish the completed pointer with its checkpoint. Offer the pinned Keep view by its Atomic Note class through a scoped read-only iframe host.

Codex-Session: codex://threads/01a19cc4-6c36-7ff3-a198-70a7e84cf1d7
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin +refs/pull/83/head:michielbdejong/recursive-keep-view
git switch michielbdejong/recursive-keep-view

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch codex/syncd-nextgraph-replica
git merge --no-ff michielbdejong/recursive-keep-view
git switch michielbdejong/recursive-keep-view
git rebase codex/syncd-nextgraph-replica
git switch codex/syncd-nextgraph-replica
git merge --ff-only michielbdejong/recursive-keep-view
git switch michielbdejong/recursive-keep-view
git rebase codex/syncd-nextgraph-replica
git switch codex/syncd-nextgraph-replica
git merge --no-ff michielbdejong/recursive-keep-view
git switch codex/syncd-nextgraph-replica
git merge --squash michielbdejong/recursive-keep-view
git switch codex/syncd-nextgraph-replica
git merge --ff-only michielbdejong/recursive-keep-view
git switch codex/syncd-nextgraph-replica
git merge michielbdejong/recursive-keep-view
git push origin codex/syncd-nextgraph-replica
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ELFA/database-apps!83
No description provided.