Skip to content

ENG-1865 Publish Roam stored relations for shared nodes#1221

Draft
maparent wants to merge 1 commit into
eng-2049-refactor-publishnodestogroup-to-use-the-crossappnodeschemafrom
eng-1865-publish-roam-stored-relations-for-shared-nodes
Draft

ENG-1865 Publish Roam stored relations for shared nodes#1221
maparent wants to merge 1 commit into
eng-2049-refactor-publishnodestogroup-to-use-the-crossappnodeschemafrom
eng-1865-publish-roam-stored-relations-for-shared-nodes

Conversation

@maparent

@maparent maparent commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

https://linear.app/discourse-graphs/issue/ENG-1865/publish-roam-stored-relations-for-shared-nodes

Waiting for eng-1856 to work with relations to imported nodes; but functional otherwise.

One thing I expect to discuss: I put everything in one file, and it would be worth distributing code in various utility functions, and maybe breaking up the PR. We should discuss how to break it up, but I wanted to start from end-to-end functionality.

https://www.loom.com/share/74b4c5b9e750404e8ea1f59ace042492

@linear-code

linear-code Bot commented Jul 11, 2026

Copy link
Copy Markdown

ENG-1865

@supabase

supabase Bot commented Jul 11, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project zytfjzqyijgagqxrzbmz because there are no changes detected in packages/database/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
discourse-graph Ready Ready Preview, Comment Jul 23, 2026 10:04pm

Request Review

@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from df8bd66 to 7e9a33d Compare July 11, 2026 13:26
@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from 7e9a33d to e15e0eb Compare July 13, 2026 04:01
@maparent
maparent marked this pull request as ready for review July 13, 2026 14:44
devin-ai-integration[bot]

This comment was marked as resolved.

graphite-app[bot]

This comment was marked as resolved.

@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from e15e0eb to 9e93709 Compare July 13, 2026 14:53
@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from 9e93709 to 123104f Compare July 13, 2026 15:04
@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from 123104f to ae3123f Compare July 13, 2026 15:29
Omit<
Database["public"]["CompositeTypes"]["document_local_input"],
"author_inline"
"author_inline" | "contents"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"content" is of type unknown, so we get typescript errors when using the LocalDocumentDataInput explicitly (even though indirectly through LocalConceptDataInput, LocalContentDataInput.)
It is not used yet, so just removing from input type for now.
I guess this did not arise earlier because we were building objects, not using the type explicitly.

@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from ae3123f to f71e309 Compare July 13, 2026 15:51
@maparent
maparent marked this pull request as draft July 13, 2026 19:51
@maparent
maparent force-pushed the eng-2017-add-converter-for-crossapp-schemas-to-localconceptdatainput branch from c2ee00a to 1127f9a Compare July 15, 2026 18:49
@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from f71e309 to a96cd20 Compare July 15, 2026 19:06
@maparent
maparent changed the base branch from eng-2017-add-converter-for-crossapp-schemas-to-localconceptdatainput to eng-2018-add-converter-for-crossapprelation-schema-to July 15, 2026 19:07
@maparent
maparent marked this pull request as ready for review July 15, 2026 19:08

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 new potential issues.

View 1 additional finding in Devin Review.

Open in Devin Review

Comment thread apps/roam/src/utils/publishNodesToGroups.ts Outdated
Comment thread apps/roam/src/utils/publishNodesToGroups.ts Outdated
@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from a96cd20 to af01ede Compare July 15, 2026 19:14
@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from af01ede to abacebf Compare July 15, 2026 19:55
Comment thread apps/roam/src/utils/publishNodesToGroups.ts Outdated
@maparent
maparent requested review from mdroidian and removed request for mdroidian July 15, 2026 20:30
@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from 0bb9a97 to 3d229a1 Compare July 15, 2026 20:33
@maparent
maparent requested a review from mdroidian July 15, 2026 20:34
@maparent
maparent force-pushed the eng-2018-add-converter-for-crossapprelation-schema-to branch from 812992f to 4b2715d Compare July 17, 2026 12:43
Base automatically changed from eng-2018-add-converter-for-crossapprelation-schema-to to main July 17, 2026 12:43
@graphite-app

graphite-app Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

PR size/scope check

This PR is over our review-size guideline.

  • Recommended: ~200 lines changed
  • Acceptable limit: up to 400 lines when well-scoped/self-contained
  • Preferred file count: fewer than 5 files

Please split this into smaller PRs unless there is a clear reason the changes need to land together.

If keeping it as one PR, please add a brief justification covering:

  • What single problem this PR solves
  • Why the files/changes are coupled

@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from 3d229a1 to fc0d5ae Compare July 17, 2026 12:45
@mdroidian

Copy link
Copy Markdown
Member

My understanding from the last meeting is that this PR is will be refactored.

I'll move it to draft for now to reflect the status.

@mdroidian
mdroidian marked this pull request as draft July 19, 2026 20:39
@mdroidian
mdroidian removed their request for review July 19, 2026 20:39

Copy link
Copy Markdown
Member

MAP would like to base this on the upsert route ENG-2039

@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from fc0d5ae to 67a8985 Compare July 23, 2026 01:41
@maparent
maparent changed the base branch from main to eng-2049-refactor-publishnodestogroup-to-use-the-crossappnodeschema July 23, 2026 01:42
@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from 67a8985 to 7847d4c Compare July 23, 2026 16:05
@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from 7847d4c to a9b80ec Compare July 23, 2026 18:53
@maparent
maparent force-pushed the eng-2049-refactor-publishnodestogroup-to-use-the-crossappnodeschema branch 3 times, most recently from 51ca3bc to dc87ee0 Compare July 23, 2026 21:01
@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from a9b80ec to fdd0a3d Compare July 23, 2026 21:52
@maparent
maparent force-pushed the eng-1865-publish-roam-stored-relations-for-shared-nodes branch from fdd0a3d to 17a85f8 Compare July 23, 2026 22: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.

2 participants