Skip to content

Rollback bloated automated UI panels - #32

Merged
RayLi-Muye merged 1 commit into
mainfrom
codex/31-layout-rollback
Jun 19, 2026
Merged

RayLi-Muye merged 1 commit into
mainfrom
codex/31-layout-rollback

Conversation

@RayLi-Muye

Copy link
Copy Markdown
Owner

Closes #31

Scope

  • Removes the recent heavy simulated-learning UI panels from rendered layouts:
    • Home market brief panel
    • Wallet performance recap, learning insights, trade journal, and simulated activity/reset panel
    • Watchlist compare panel
    • Instrument position summary panel
    • Instrument position sizing coach panel
  • Deletes the now-unrendered panel component files to keep the frontend codebase lean.
  • Removes unused panel-facing hook exports/imports from use-demo-portfolio so the app module no longer pulls those helper paths into the frontend bundle.
  • Updates README and web smoke expectations to match the leaner layout.

Preserved

  • README/About product positioning from Clarify simulated trading README and About #30.
  • Product/domain docs and ADR/governance docs.
  • Simulated trading domain contract, demo trading service, order preview guardrails, virtual ledger behavior, and domain checks.
  • Core mock trade flow: buy/sell preview, insufficient-funds guardrail, oversell guardrail, portfolio update, wallet deposit/transfer.

Validation

  • npm run typecheck
  • npm run check:market-data
  • npm run check:simulated-trading
  • git diff --check
  • npm run export:web
  • npm run verify:web-demo

Notes

  • This is a normal revert-style PR, not a destructive history reset.
  • Local web export page sizes dropped on the affected routes after removing the panels.

Risk / Rollback

  • Risk: some recently added educational UI is no longer visible.
  • Rollback: revert this PR if the owner decides to selectively reintroduce a smaller redesigned panel later.

@vercel

vercel Bot commented Jun 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
demo-trading Ready Ready Preview, Comment Jun 19, 2026 5:25pm

@RayLi-Muye
RayLi-Muye merged commit fcf6ca1 into main Jun 19, 2026
3 checks passed
@RayLi-Muye
RayLi-Muye deleted the codex/31-layout-rollback branch June 19, 2026 17:26

This branch was successfully deployed

1 active deployment
Preview — 5e206688 Deployed Jun 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rollback bloated simulated trading UI panels

1 participant