tech-debt: Refactor legacy delete-button and common-button patterns #319
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
Legacy button patterns need modernization.
Locations
web_src/js/features/common-button.ts:21-22- do not use this method in new code / all legacy delete-button should be refactoredweb_src/js/features/common-button.ts:171- add more supports like checkboxweb_src/js/features/common-button.ts:173- should be more strict, only handle div/span/pweb_src/js/features/common-page.ts:132- GLOBAL-INIT-MULTIPLE-FUNCTIONSweb_src/js/modules/observer.ts:46- GLOBAL-INIT-MULTIPLE-FUNCTIONSAction Required
Replace legacy delete-button class usage with modern patterns. Support multiple init functions in global observer.
Created by Claude Opus 4.6