Skip to content

Preserve imported Arc workspace items - #65

Open
Luo-hongyi wants to merge 1 commit into
Geek-1001:mainfrom
Luo-hongyi:codex/arc-import-batch-workspaces
Open

Preserve imported Arc workspace items#65
Luo-hongyi wants to merge 1 commit into
Geek-1001:mainfrom
Luo-hongyi:codex/arc-import-batch-workspaces

Conversation

@Luo-hongyi

@Luo-hongyi Luo-hongyi commented Jun 16, 2026

Copy link
Copy Markdown

Problem

Before this change, importing from Arc Browser could parse the Arc sidebar data but still fail to bring the imported workspaces and items into Arcmark correctly during the apply step.

Fix

This change preserves the imported node tree when creating each workspace during Arc import, instead of creating an empty workspace first and then re-adding nodes one by one.

Result

After this change, Arc import works correctly.

Verification

  • Before: Arc import did not successfully bring Arc data into Arcmark during import
  • After: Arc import succeeds with the fix applied
  • Tested with:
    • swift test --filter ModelTests.testCreateWorkspaceWithInitialItemsPersistsTree
    • swift test --filter ArcImportTests

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.

1 participant