Skip to content

refactor(web): decompose compose.js init() into 6 inner helpers#97

Merged
vnykmshr merged 1 commit into
mainfrom
feat/v3.18.0
May 19, 2026
Merged

refactor(web): decompose compose.js init() into 6 inner helpers#97
vnykmshr merged 1 commit into
mainfrom
feat/v3.18.0

Conversation

@vnykmshr
Copy link
Copy Markdown
Collaborator

Reframes audit row 3 (#87): the original "state machine" framing didn't fit the code (no central JS dispatcher; data-mode is dead). Real shape was a 455-line init() mixing 6 concerns. Hoists cross-section utilities to outer scope; each section becomes a named inner helper closing over the same AbortController signal. Zero behavior change. Drops the dead data-mode attr from .compose-form. Closes #87.

Drops dead `data-mode` attribute on .compose-form.
@vnykmshr
Copy link
Copy Markdown
Collaborator Author

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@vnykmshr vnykmshr merged commit e0689b3 into main May 19, 2026
6 checks passed
@vnykmshr vnykmshr deleted the feat/v3.18.0 branch May 19, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

audit-finding: compose flow accretion (1,041 lines)

1 participant