refactor: extract sub-components from oversized route/feature files #1150
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/agent-hooks#1150
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
As a developer, I want large route and feature files broken into focused sub-components, so that files are readable and changes are isolated.
Files exceeding threshold (> ~800 lines with extractable sub-components)
src/routes/onboarding.tsxsrc/features/agents/sections.tsxsrc/routes/agents.roster.tsxsrc/routes/settings.agent-types.tsxsrc/features/agent-config/skills-tab.tsxsrc/features/agent-config/agent-db-skills-tab.tsxAcceptance criteria
Refactor
onboarding.tsxextracted tosrc/features/onboarding/steps/directorysections.tsxsplit into one file per section undersrc/features/agents/sections/agents.roster.tsxdetail panels extracted tosrc/features/agents/roster/settings.agent-types.tsxform logic extracted to composable hooks or sub-componentsskills-tab.tsx/agent-db-skills-tab.tsxde-duplicated into a common modulejust qapassesTests
Out of scope
🧹 janitor: this ticket has been idle-assigned since 2026-05-14T17:21:53.000Z. Re-dispatching.
🦵 @charles kicked the queue — re-running implement on @code-lead.