Skip to content

Migrate project & layer editing to Svelte (editors, native reorder, file ops, export) #217

Closed

Description

@CameronBrooks11

What

Migrate the project & layer-editing workflow to Svelte: the layer list with reorder, add/duplicate/delete; the Hoop / Helical / Skip editors; file operations with dirty-state prompting; and the export workflow.

Why

Moves the core editing loop into Svelte and removes the @hello-pangea/dnd dependency — the only DnD use is a constrained one-dimensional layer reorder.

Where

fiberpath_gui/src/components/layers/ (LayerStack.tsx 171, LayerRow.tsx 139), components/editors/ (HelicalLayerEditor.tsx 221, SkipLayerEditor.tsx, HoopLayerEditor.tsx), lib/fileOperations.ts (337, reused), lib/helicalValidation.ts (reused), components/dialogs/ExportConfirmationDialog.

Scope

  • Layer list + reorder via native pointer events + keyboard (test native before adding any DnD lib; drop @hello-pangea/dnd). If native reorder proves too costly for keyboard-accessible behavior, a small framework-neutral lib is acceptable with justification.
  • Add / duplicate / delete layers; inline layer-type picker.
  • Hoop / Helical / Skip editors to behavior parity, including the helical circuit-mismatch messaging.
  • File operations (new / open / save / save-as) with dirty-state prompting; export workflow.

Acceptance criteria

  • Layer reorder works via pointer and keyboard with no DnD library (or a justified small one).
  • All three editors reach validation parity (helical circuit-mismatch surfaced).
  • File ops + dirty prompt + export at parity; tests cover them.

Notes

Depends on #216. Natural touchpoint for #145 (pattern-parameter explainability) but #145 ships independently and is not required here. Part of #214.

Activity

  1. added
    gui
    on Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions