Skip to content

ENG-2049 Refactor publishNodesToGroup to use the crossAppNodeSchema#1244

Open
maparent wants to merge 2 commits into
mainfrom
eng-2049-refactor-publishnodestogroup-to-use-the-crossappnodeschema
Open

ENG-2049 Refactor publishNodesToGroup to use the crossAppNodeSchema#1244
maparent wants to merge 2 commits into
mainfrom
eng-2049-refactor-publishnodestogroup-to-use-the-crossappnodeschema

Conversation

@maparent

@maparent maparent commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

@linear-code

linear-code Bot commented Jul 22, 2026

Copy link
Copy Markdown

ENG-2049

@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
discourse-graph Skipped Skipped Jul 23, 2026 9:43pm

Request Review

@supabase

supabase Bot commented Jul 22, 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 ↗︎.

@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 1 potential issue.

View 1 additional finding in Devin Review.

Open in Devin Review

Comment thread apps/roam/src/utils/roamToCrossAppConverters.ts
Comment thread apps/roam/src/utils/publishNodesToGroups.ts Outdated
Comment thread apps/roam/src/utils/roamToCrossAppConverters.ts Outdated
@maparent
maparent force-pushed the eng-2049-refactor-publishnodestogroup-to-use-the-crossappnodeschema branch from ebba3ac to 0744f8f Compare July 23, 2026 01:29
@maparent
maparent requested a review from mdroidian July 23, 2026 01:37
Comment thread apps/roam/src/utils/publishNodesToGroups.ts Outdated
Comment thread apps/roam/src/utils/publishNodesToGroups.ts Outdated
groupIds: string[];
publishNodes: PublishNode[];
}): Promise<PublishNodesResult> => {
const nodes = await publishNodesToCrossApp(publishNodes);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

which will also rename this to nodeUidWithTypeToCrossApp

Comment thread apps/roam/src/utils/roamToCrossAppConverters.ts Outdated
@maparent
maparent force-pushed the eng-2049-refactor-publishnodestogroup-to-use-the-crossappnodeschema branch from 0744f8f to 3c097e7 Compare July 23, 2026 20:52
Base automatically changed from eng-2059-refactor-existing-roam-to-crossapp-converter-into-its-own to main July 23, 2026 20:55
@maparent
maparent force-pushed the eng-2049-refactor-publishnodestogroup-to-use-the-crossappnodeschema branch from 3c097e7 to 51ca3bc Compare July 23, 2026 20:58
@maparent
maparent force-pushed the eng-2049-refactor-publishnodestogroup-to-use-the-crossappnodeschema branch from 51ca3bc to dc87ee0 Compare July 23, 2026 21:01
@maparent
maparent requested a review from mdroidian July 23, 2026 21:01

@mdroidian mdroidian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's fix the CI then we can merge

Comment thread apps/roam/src/utils/publishNodesToGroups.ts Outdated
Comment thread apps/roam/src/components/Export.tsx Outdated
spaceId: context.spaceId,
groupIds: selectedGroupIds,
nodes: publishableNodes,
publishNodes: publishableNodes,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this could probably stay as nodes

client,
spaceId,
groupIds,
publishNodes,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this could probably just be nodes

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.

Using nodeUids; using nodes interferes with naming inside the function, and I think nodes is giving the misleading impression that there is more information than there is.
Could use nodeUidsWithType if you find it clearer; I find it needlessly verbose.

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.

If you're ok with that name it's otherwise ready to merge

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