Skip to content

OBEE-34: automerge binder in FE - #1401

Closed
tslil-topos wants to merge 1 commit into
instance_1from
tslil/automerge_binder
Closed

OBEE-34: automerge binder in FE#1401
tslil-topos wants to merge 1 commit into
instance_1from
tslil/automerge_binder

Conversation

@tslil-topos

Copy link
Copy Markdown
Collaborator

Implement an automerge store in the FE operating on refId. This doesn't make the connection to actual backend documents yet, and given that the functionality here is implemented in terms of frontend/src/api/types.ts: Api the test follows the convention of mocking this api.

I was not sure what to do with versions or servers, this seemed reasonable to me but it's possible that some missing knowledge would give a better codepath here.

32             if (ref.version !== null) {
33                 return {
34                     tag: "Err",
35                     content: [{ message: "Versioned document references are not supported." }],
36                 };
37             }
38             if (ref.server && ref.server !== api.serverHost) {
39                 return {
40                     tag: "Err",
41                     content: [
42                         { message: `Cannot resolve a document from server "${ref.server}".` },
43                     ],
44                 };
45             }

@tslil-topos tslil-topos self-assigned this Aug 18, 2026
@github-actions

Copy link
Copy Markdown

Notion Integration

@tslil-topos tslil-topos added enhancement New feature or request frontend TypeScript frontend and Rust-wasm integrations labels Aug 18, 2026
@kasbah

kasbah commented Aug 18, 2026

Copy link
Copy Markdown
Member

We are starting to overlap work now with my #1372

I had linked you this in another discussion before:
https://github.com/ToposInstitute/CatColab/pull/1372/changes#diff-197d2d2d6e8b325763aa0dd5f0f2a69374573abe32ee58d2304dfacf337bb6d2R40-R118

@tslil-topos

Copy link
Copy Markdown
Collaborator Author

kaspar has already done this!

@tslil-topos
tslil-topos deleted the tslil/automerge_binder branch August 18, 2026 11:56
An error occurred while trying to automatically change base from instance_1 to main August 18, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend TypeScript frontend and Rust-wasm integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants