Overview
The collaborative editor (WorkflowLive.Collaborate) has been the default since late 2025, and the legacy editor (WorkflowLive.Edit) has been showing a deprecation banner. This issue tracks the work to fully remove the legacy editor.
Background
- The new collaborative editor lives at
/w/:id and is backed by Yjs CRDTs for real-time multi-user editing.
- The legacy editor lives at
/w/:id/legacy and is only reached when a user has prefer_legacy_editor: true in their preferences.
- A deprecation banner and "switch to new builder" button have been in place since v2.15.
Removal Checklist
1. Migrate remaining legacy-preference users
2. Remove the redirect hook
3. Remove legacy routes
4. Remove WorkflowLive.Edit
5. Remove the legacy frontend bundle
6. Remove the switch_to_legacy_editor channel handler
7. Remove URL conversion helpers
8. Remove legacy editor tests
Out of Scope
- Changes to the collaborative editor itself
- Worker or runtime changes
Overview
The collaborative editor (
WorkflowLive.Collaborate) has been the default since late 2025, and the legacy editor (WorkflowLive.Edit) has been showing a deprecation banner. This issue tracks the work to fully remove the legacy editor.Background
/w/:idand is backed by Yjs CRDTs for real-time multi-user editing./w/:id/legacyand is only reached when a user hasprefer_legacy_editor: truein their preferences.Removal Checklist
1. Migrate remaining legacy-preference users
prefer_legacy_editor: truefrom all users (mirrors the earlierclear_prefer_collaborative_editormigration)2. Remove the redirect hook
check_legacy_preferencehook inlib/lightning_web/hooks.ex(lines 142–164) that readsprefer_legacy_editorand redirects to/legacy3. Remove legacy routes
/w/new/legacyand/w/:id/legacyfromrouter.ex4. Remove
WorkflowLive.Editlib/lightning_web/live/workflow_live/edit.exdeprecated_warning/1component fromcomponents.ex5. Remove the legacy frontend bundle
/assets/js/workflow-editor/(old React workflow editor)/assets/js/editor/— if only used by legacy editor, delete it tooCollaborativeEditorPromoBannercomponent and its tests (no longer needed once legacy is gone)6. Remove the
switch_to_legacy_editorchannel handlerhandle_in("switch_to_legacy_editor", ...)clause inworkflow_channel.ex7. Remove URL conversion helpers
legacy_editor_url/2andcollaborative_editor_url/2fromlib/lightning_web/live/workflow_live/helpers.ex(only needed for cross-editor redirects)8. Remove legacy editor tests
test/lightning_web/live/workflow_live/editor_test.exs(~2,000 lines)/legacyroute references from other test files (e.g.new_workflow_component_test.exs,collaborate_test.exs)Out of Scope