Skip to content

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

@vnykmshr

Description

@vnykmshr

Source: docs/audit-2026-05-frontend.md row 3
Severity: Medium
Location: compose.js (485) + compose-sheet.js (556) = 1,041 lines

State-machine cleanup: modes (page/article/AMA/edit/quick) branch on multiple data-* attrs (mode, type, link-url, banner, banner-path-form). Consider a single resolved-state read at sheet open, then mode-specific branches operate on that snapshot. Likely v3.17+ dedicated focus area.

Metadata

Metadata

Assignees

No one assigned

    Labels

    audit-findingItem filed from a /pb-think audit; targeted at a future cycle, not blocking current release

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions