"""SDLC 82 lane J Projects popup (S82-T83). `ROWS` includes the AppView popup and Projects-page mounts through `COMBINE_ROWS`. """ ROWS = [ ("S82-T83 the Projects popup is a centered dialog that traps focus through the shared overlay layer", "customer-grid/OverlaySurface.tsx", r"export function useOverlayLayer\(", "apps/amazon-profit/Projects.tsx", r"useOverlayLayer\(\{ panelRef, onDismiss: onClose, trapFocus: true, restoreFocus: true"), ("S82-T83 the centered popup portals to the body, so no Grid clip hides it", "customer-grid/OverlaySurface.tsx", r"export function BodyPortal\(", "apps/amazon-profit/Projects.tsx", r"\s*
\{\s*" r"if \(event\.target === event\.currentTarget\) event\.preventDefault\(\);\s*\}\}>"), ("S82-T83 a Projects list row opens that project's detail", "apps/amazon-profit/Projects.tsx", r"function ProjectDetail\(\{ id, canEdit: mayEdit, onChanged, onDeleted \}", "apps/amazon-profit/Projects.tsx", r"view\.kind === \"detail\"\s*\? \(`/search\?q="), ("S82-T83 detail edits require both list and detail edit rights", "apps/amazon-profit/Projects.tsx", r"const canEdit = mayEdit && detail\.canEdit;", "apps/amazon-profit/Projects.tsx", r")?\) =>\s*write\(`/\$\{enc\(id\)\}`, "PATCH", change', # S84 lane E passes the edited Setup fields through the same PATCH write. "apps/amazon-profit/Projects.tsx", r'
]*className="lp-proj-detail\b[^"]*"[^>]*onSubmit=\{save\}'), ] # The mounts are required even when a component still exports its producer. COMBINE_ROWS = [ ("S82-T83 Command Center declares the projects door in its seam cell renderers", "apps/amazon-profit/Projects.tsx", r"export function ProjectsPopup\(", "apps/amazon-profit/AppView.tsx", r"projects: \{ button: true, activate: row => setProjects\(projectsTargetFromRow\(table, row\)\)"), ("S82-T83 Command Center renders the Projects popup", "apps/amazon-profit/Projects.tsx", r"export function ProjectsPopup\(", "apps/amazon-profit/AppView.tsx", r"