docs: plan cleanup and maintainability backlog
This commit is contained in:
parent
fbf2eb9e0c
commit
4ddffa6b67
19 changed files with 1743 additions and 7 deletions
72
docs/development/backlog/tasks/CL13.md
Normal file
72
docs/development/backlog/tasks/CL13.md
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
# CL13 — Hide placeholder navigation while preserving useful product routes
|
||||
|
||||
Parent epic: E10. Priority/severity: P2 / Low. Complexity: S. Specialization: React navigation and product clarity.
|
||||
|
||||
Scheduling metadata: [manifest](../manifest.json). Read the [cleanup execution contract](../../CLEANUP.md#execution-contract). This story defines planned work; implementation has not been requested.
|
||||
|
||||
## User story and outcome
|
||||
|
||||
As a user, I want navigation to lead to functioning workflows, so unfinished pages do not imply capabilities the product does not have.
|
||||
|
||||
Expected benefit: Immediately reduces misleading navigation without committing to a new AI research interface.
|
||||
|
||||
## Verified evidence
|
||||
|
||||
- **Verified — CL-F10:** Portfolio, Analytics and Settings are top-level navigation items. [apps/stock/web-app/src/lib/constants.ts:32](../../../../apps/stock/web-app/src/lib/constants.ts#L32).
|
||||
- **Verified — CL-F10:** Those destinations currently render Coming Soon placeholders. [apps/stock/web-app/src/app/App.tsx:34](../../../../apps/stock/web-app/src/app/App.tsx#L34).
|
||||
|
||||
## Implementation scope
|
||||
|
||||
- Remove placeholder destinations from primary navigation while keeping existing direct URLs readable with a clear unavailable message.
|
||||
- Keep working strategy, backtest, experiment, research, market-data, system and paper-review navigation intact.
|
||||
- Update current product documentation to match the visible menu and add focused route/navigation coverage.
|
||||
- Do not relabel completed backtest analytics as a new standalone Analytics capability.
|
||||
|
||||
Likely existing files/modules:
|
||||
|
||||
- `apps/stock/web-app/src/lib/constants.ts`
|
||||
- `apps/stock/web-app/src/app/App.tsx`
|
||||
- `apps/stock/web-app/README.md`
|
||||
- `docs/guide/README.md`
|
||||
|
||||
Proposed new files/modules (names may be adjusted within this scope):
|
||||
|
||||
- `test/integration/navigation.test.tsx`
|
||||
|
||||
## Exclusions
|
||||
|
||||
- No deletion of portfolio/analytics domain code or existing run/experiment analytics.
|
||||
- No redesign of Research around chat, MCP, notebooks or an unapproved product workflow; no deployment activation changes.
|
||||
|
||||
## Dependencies and ownership
|
||||
|
||||
Implementation prerequisites: None.
|
||||
|
||||
Write locks: `web-navigation`.
|
||||
|
||||
Parallel execution: Ready independently but lower priority than the first cleanup wave. Reserve route/navigation files against any concurrent product work.
|
||||
|
||||
## Acceptance criteria
|
||||
|
||||
1. The primary menu contains no links to pages that only say Coming Soon.
|
||||
2. Existing placeholder URLs remain explicit and safe to open; working deep links and authentication boundaries remain unchanged.
|
||||
3. Implemented run/experiment analytics, research-agent access and paper-review pages remain discoverable.
|
||||
4. Navigation tests cover desktop/mobile data sources or their shared navigation model and direct-route behavior.
|
||||
|
||||
## Mandatory verification
|
||||
|
||||
navigation.test.tsx is a proposed new test file. Test the shared navigation model and route output without provisioning application infrastructure.
|
||||
|
||||
```sh
|
||||
bun test test/integration/navigation.test.tsx
|
||||
bun test test/integration/canonical-workbench.test.tsx
|
||||
bun run typecheck
|
||||
```
|
||||
|
||||
Required regression cases: placeholder visibility, working link targets, retained deep links, authenticated routing and existing analytics access.
|
||||
|
||||
## Risks and definition of done
|
||||
|
||||
A menu cleanup can accidentally make a working capability inaccessible. Hide only verified placeholders and preserve existing route identities.
|
||||
|
||||
Done means the acceptance criteria and relevant checks pass, an independent review accepts the focused diff, and the integrator records exact test results and a commit/reference in the manifest. Preserve the compatibility and financial invariants in the cleanup execution contract.
|
||||
Loading…
Add table
Add a link
Reference in a new issue