fix: reconnect mentor page into the project shell

Remove the mentor immersive rules in shared/shell.css that hid the module
nav, header actions, market tape, overview strip and status bar while
mentorView was active, which made the page look like an independent site.
Mentor now stays inside the canonical 小白复盘 shell and owns its own
"问师 + 数据日期" title header inside #mentorView (B-92 content intact).

Also fix the shell's latent 1024px overflow: .main min-width 1080 now only
applies at >=1280, and the overview strip scrolls internally instead of
clipping its right side when it is wider than the content column.

Update the contract and e2e baselines to assert the shell stays visible
and usable on mentor, page switching leaves no residue, and add a
dedicated shell-integration e2e test.

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
MS-01-Codex
2026-08-18 17:19:03 +08:00
co-authored by multica-agent
parent 39b6f71443
commit e0cba74f8e
9 changed files with 125 additions and 116 deletions
+6 -6
View File
@@ -372,7 +372,7 @@
"css_layers": [
"/shared/tokens.css?v=20260818-2",
"/shared/base.css?v=20260806-1",
"/shared/shell.css?v=20260818-2",
"/shared/shell.css?v=20260818-3",
"/shared/auth.css?v=20260806-1",
"/shared/components/controls.css?v=20260806-1",
"/shared/components/navigation.css?v=20260806-1",
@@ -390,7 +390,7 @@
"/pages/popularity/foundation.css?v=20260806-1",
"/pages/dragon-tiger/foundation.css?v=20260806-1",
"/pages/screener/foundation.css?v=20260806-2",
"/pages/mentor/foundation.css?v=20260818-2",
"/pages/mentor/foundation.css?v=20260818-3",
"/pages/heaven/foundation.css?v=20260806-2",
"/pages/review/foundation.css?v=20260806-1"
],
@@ -451,8 +451,8 @@
},
{
"path": "frontend/shared/shell.css",
"bytes": 54781,
"lines": 3348
"bytes": 52879,
"lines": 3274
},
{
"path": "backend/features/heaven/engine.py",
@@ -606,8 +606,8 @@
},
{
"path": "frontend/pages/mentor/page.html",
"bytes": 8117,
"lines": 110
"bytes": 8357,
"lines": 116
},
{
"path": "backend/data/providers/tushare_daily.py",