Skip to content

Notion #8

Open
Open

Description

@michielbdejong

There was a Rust-based Notion plugin in ontola/atomic-server. Make sure this repo has a TS-based one using the standard reflector/syncables/devonian architecture

Activity

  1. michielbdejong commented on Sep 23, 2026

    @michielbdejong
    ContributorAuthor

    Hand-off for the next phase. The first slice landed in #66 (merge 345bc9e); this issue stays open.

    Done

    • A read-only Notion Devonian lens (currently devonian/platform-lenses/notion/). It projects Notion pages into typed values: title/rich_text as plain text, number, checkbox, url, email, phone_number, select, status and multi_select. Values are keyed by property id, so renaming a column doesn't change the key. Formatted rich text and archived pages are reported, not flattened or deleted.
    • integrations/notion/localthought.ts re-exports the lens and adds notionDataSourceQuery(), which builds one page of a data-source query for BrowserIntegrations.request().

    Remaining

    1. A resource and pagination overlay for Notion in overlays/ and the proxy catalog, so syncables can discover data sources and page through them generically. Notion's cursor goes in the POST body (start_cursor), not the query string.
    2. A two-way Devonian bridge, modelled on github-issues. Port the write logic from integrations/notion/model.ts, with logged writes, page-id identity, and a missing page treated as a conflict.
    3. Syncing table and board views, and property renames.
    4. A devonian-notion catalog entry, plus the setup screen on the atomic-server side. Note notion e2e: its [data-integration=notion] card was removed upstream (4bab16ee6) #68: the old [data-integration=notion] entry point is gone upstream.
    5. Deciding when to retire the sandbox plugin.ts. It is still the only path with two-way sync.

    Where to start: item 1, because the bridge depends on generic paging.

    Folder layout: plugins are strictly contained in their own folders. The lens will move from devonian/platform-lenses/notion/ into integrations/notion/ in a follow-up, so build the next phase there.

  2. michielbdejong commented on Oct 1, 2026

    @michielbdejong
    ContributorAuthor

    Picking this up: atomic-plugins oversight 34aa23 on the build VPS, through a worker subagent. Branch to follow.


    Generated by Claude Code

  3. michielbdejong commented on Oct 1, 2026

    @michielbdejong
    ContributorAuthor

    Audit at 96f81e0, plus PR #247 (notion 0.2.0):

    1. Overlay and proxy catalog: done. overlays/notion.com/2026-03-11/ covers auth, pagination (body cursor) and crud-causality. The drive app pages through it with syncables.
    2. Two-way: mostly done in notion 0.2.0: two-way edits after review; first sync on connect (#8) #247. The app finds edits on open (baseline on the row), compares three-way, reviews before send, and sends PATCH /v1/pages/{id}. A missing or archived page is a conflict. Still open: live evidence, and page creation (hand-added rows stay local, following Design: plugins sync into shared row classes, and plugin views work on any table of that class ("option 4") #177 Q6).
    3. View sync and property renames: open. Renames made in Notion are already followed, because columns are keyed by property id. Per Design: plugins sync into shared row classes, and plugin views work on any table of that class ("option 4") #177 Q9 (no custom browsing view), I suggest dropping view sync from this issue.
    4. Catalog entry and setup: done, in a different form. The notion entry installs the drive app, which connects through the host's consent bar. No host setup screen is needed.
    5. Retiring plugin.ts: open. It waits for live evidence of 0.2.0's writes. Nothing in the host runs the pilot today.

    Questions for Michiel go to #227.


    Generated by Claude Code

  4. added a commit that references this issue on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions