3.6 KiB
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. Read the cleanup execution contract. Implementation and validated commits were authorized after planning; scheduling and completion evidence live in the manifest.
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.
- Verified — CL-F10: Those destinations currently render Coming Soon placeholders. apps/stock/web-app/src/app/App.tsx:34.
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.tsapps/stock/web-app/src/app/App.tsxapps/stock/web-app/README.mddocs/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
- The primary menu contains no links to pages that only say Coming Soon.
- Existing placeholder URLs remain explicit and safe to open; working deep links and authentication boundaries remain unchanged.
- Implemented run/experiment analytics, research-agent access and paper-review pages remain discoverable.
- 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.
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.