-
Notifications
You must be signed in to change notification settings - Fork 4
[Task] Extract layout side-effect controllers from layout.tsx #875
Copy link
Copy link
Closed
Labels
P2Medium priorityMedium priorityappApplication behavior and product flowsApplication behavior and product flowstaskNarrow execution, audit, spike, migration, tracking, or upstream follow-up workNarrow execution, audit, spike, migration, tracking, or upstream follow-up worktech-debtSupplemental cleanup, maintainability, architecture, test, or quality debt contextSupplemental cleanup, maintainability, architecture, test, or quality debt contextuiDesign system and user interfaceDesign system and user interface
Metadata
Metadata
Assignees
Labels
P2Medium priorityMedium priorityappApplication behavior and product flowsApplication behavior and product flowstaskNarrow execution, audit, spike, migration, tracking, or upstream follow-up workNarrow execution, audit, spike, migration, tracking, or upstream follow-up worktech-debtSupplemental cleanup, maintainability, architecture, test, or quality debt contextSupplemental cleanup, maintainability, architecture, test, or quality debt contextuiDesign system and user interfaceDesign system and user interface
Goal
Reduce the risk of
packages/app/src/pages/layout.tsxby extracting the first non-visual side-effect controller boundary into focused layout modules, without changing the visible shell, sidebar DOM, routing behavior, storage keys, copy, aria labels, or command IDs.This is a narrow execution slice under the broader frontend debt governance work. It is not a user-facing feature request.
Scope
In scope:
layout.tsxinto focused modules or hooks underpackages/app/src/pages/layout/.Out of scope:
PawworkSidebarcomponent split.Relevant files or context
Likely files:
packages/app/src/pages/layout.tsxpackages/app/src/pages/layout/*packages/app/src/pages/layout/*.test.tsxpackages/app/src/pages/layout/*.test.tspackages/app/e2e/sidebar*.spec.tsRelated issues:
Verification
git diffdoes not include unrelated UI copy, DOM structure, data attributes, aria labels, command IDs, or storage key changes.Execution mode
Investigate and propose a plan first. The split plan is posted as an issue comment; implementation should wait for explicit maintainer approval or assignment before opening a PR.