Skip to content

Commit a73177a

Browse files
refactor(spa): split DetailPage/ListPage into focused modules (#657)
Behavior-preserving refactor. Move DetailPage's inner components into one-per-file modules under apps/web/src/pages/detail/ and lift ListPage's pure helpers into apps/web/src/pages/list/helpers.ts. The page components keep their original paths and named exports; no runtime behavior, props, or rendered output changed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 93db281 commit a73177a

12 files changed

Lines changed: 931 additions & 871 deletions

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

12+
- **Split DetailPage/ListPage into focused modules (no behavior change)
13+
(#657).** Extracted the inner components of `DetailPage.tsx`
14+
(`DetailValue`, `FieldsetSection`, `ObjectActionButton`, `EditForm`,
15+
`CustomViewsMenu`, `DeleteButton`, `CollapsedEmptyInline`,
16+
`InlineSection`) into one-per-file modules under
17+
`apps/web/src/pages/detail/`, and lifted `ListPage.tsx`'s `capitalize` /
18+
`emptyLabel` helpers into `apps/web/src/pages/list/helpers.ts`. The page
19+
components keep their original paths + named exports; runtime behavior,
20+
props, and rendered output are unchanged.
1221
- **Python lint stack consolidated onto Ruff (#651, #652).** Removed Black,
1322
standalone isort, and flake8 entirely (their `[tool.*]` config, dev
1423
dependencies, pre-commit hooks, and `scripts/lint.sh` steps). Ruff now owns

0 commit comments

Comments
 (0)