tech-debt: Rewrite repo editor JS (messy logic, double-init bugs) #316
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The repo editor TypeScript code is acknowledged as a mess with multiple bugs.
Locations
web_src/js/features/repo-editor.ts:30- MARKUP-RENDER-CONTEXT: hacky patchesweb_src/js/features/repo-editor.ts:83- related logic is totally a mess, need complete rewriteweb_src/js/features/repo-editor.ts:194- not quite right, causes double-init (old bug)Action Required
Rewrite the repo editor initialization and rendering logic to eliminate double-init and hacky patches.
Created by Claude Opus 4.6