Skip to content

miro/sync: migrate to render plugin; remove buildDepthMap #68

@mindsocket

Description

@mindsocket

`buildDepthMap` in `src/integrations/miro/layout.ts` is currently marked DEPRECATED with a note about migration to the render plugin + SpaceGraph architecture. The function is still actively used by `layoutNewCards` → `miro/sync.ts`, so the comment is misleading.

Once miro sync is migrated to a render plugin (using `SpaceGraph` for traversal), `buildDepthMap` can be removed. Until then, the DEPRECATED comment should be dropped.

Acceptance criteria:

  • Migrate `miro/sync` to implement a `RenderHook` using `SpaceGraph`
  • Remove `buildDepthMap` (its logic is subsumed by `SpaceGraph.levels`)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions