diff --git a/docs/ui/UI_AUDIT.md b/docs/ui/UI_AUDIT.md new file mode 100644 index 0000000..8f7adf8 --- /dev/null +++ b/docs/ui/UI_AUDIT.md @@ -0,0 +1,238 @@ +# Trading Web UI Audit + +> **Last updated:** 2026-05-10 +> **Scope:** `learning_ai_invt_trdg/web/src` (~13,000 lines of UI code across views/tabs/components) +> **Method:** Pattern-based grep audit + manual inspection of fixed components + +This doc catalogs UI issues by **pattern** (so you fix root causes, not symptoms), tells you **which files are affected**, and recommends **concrete fixes**. + +--- + +## 1. Summary — what's the state of the codebase? + +| Metric | Count | Note | +|---|---|---| +| Files using `style={{...}}` inline blocks | 25 | A few have 50–72 blocks each — major drift source | +| `!important` declarations in `index.css` | 122 | Indicates repeated style-override fights | +| `