tech-debt: Rewrite repo editor JS (messy logic, double-init bugs) #316

Open
opened 2026-05-31 14:19:29 +00:00 by jmiller · 0 comments
Owner

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 patches
  • web_src/js/features/repo-editor.ts:83 - related logic is totally a mess, need complete rewrite
  • web_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

## 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 patches - `web_src/js/features/repo-editor.ts:83` - related logic is totally a mess, need complete rewrite - `web_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*
jmiller added the tech-debtupstream labels 2026-05-31 14:19:29 +00:00
Sign in to join this conversation.
No labels tech-debt upstream
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#316