fix: keep tape date visible and finish dual-review shell polish

Give the overview date its own class so mobile cannot hide it, keep mentor
subtitles fully readable, and align sentiment table header tokens.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
MS-01-Codex
2026-08-20 02:31:52 +08:00
co-authored by Cursor multica-agent
parent bb67085dd4
commit df45638edd
6 changed files with 39 additions and 18 deletions
+7 -7
View File
@@ -370,9 +370,9 @@
} }
], ],
"css_layers": [ "css_layers": [
"/shared/tokens.css?v=20260820-1", "/shared/tokens.css?v=20260820-2",
"/shared/base.css?v=20260806-1", "/shared/base.css?v=20260806-1",
"/shared/shell.css?v=20260820-1", "/shared/shell.css?v=20260820-2",
"/shared/auth.css?v=20260806-1", "/shared/auth.css?v=20260806-1",
"/shared/components/controls.css?v=20260820-1", "/shared/components/controls.css?v=20260820-1",
"/shared/components/navigation.css?v=20260820-1", "/shared/components/navigation.css?v=20260820-1",
@@ -381,7 +381,7 @@
"/shared/components/dialogs.css?v=20260806-1", "/shared/components/dialogs.css?v=20260806-1",
"/shared/components/feedback.css?v=20260806-1", "/shared/components/feedback.css?v=20260806-1",
"/pages/market/foundation.css?v=20260806-1", "/pages/market/foundation.css?v=20260806-1",
"/pages/sentiment/foundation.css?v=20260820-1", "/pages/sentiment/foundation.css?v=20260820-2",
"/pages/pools/foundation.css?v=20260820-1", "/pages/pools/foundation.css?v=20260820-1",
"/pages/ladder/foundation.css?v=20260806-1", "/pages/ladder/foundation.css?v=20260806-1",
"/pages/rotation/foundation.css?v=20260806-1", "/pages/rotation/foundation.css?v=20260806-1",
@@ -390,7 +390,7 @@
"/pages/popularity/foundation.css?v=20260806-1", "/pages/popularity/foundation.css?v=20260806-1",
"/pages/dragon-tiger/foundation.css?v=20260806-1", "/pages/dragon-tiger/foundation.css?v=20260806-1",
"/pages/screener/foundation.css?v=20260806-2", "/pages/screener/foundation.css?v=20260806-2",
"/pages/mentor/foundation.css?v=20260820-1", "/pages/mentor/foundation.css?v=20260820-2",
"/pages/heaven/foundation.css?v=20260806-2", "/pages/heaven/foundation.css?v=20260806-2",
"/pages/review/foundation.css?v=20260806-1" "/pages/review/foundation.css?v=20260806-1"
], ],
@@ -451,8 +451,8 @@
}, },
{ {
"path": "frontend/shared/shell.css", "path": "frontend/shared/shell.css",
"bytes": 62110, "bytes": 62384,
"lines": 3706 "lines": 3718
}, },
{ {
"path": "backend/features/heaven/engine.py", "path": "backend/features/heaven/engine.py",
@@ -461,7 +461,7 @@
}, },
{ {
"path": "frontend/index.html", "path": "frontend/index.html",
"bytes": 47039, "bytes": 47056,
"lines": 646 "lines": 646
}, },
{ {
+5 -5
View File
@@ -17,9 +17,9 @@
document.documentElement.style.colorScheme = theme; document.documentElement.style.colorScheme = theme;
})(); })();
</script> </script>
<link rel="stylesheet" href="/shared/tokens.css?v=20260820-1"> <link rel="stylesheet" href="/shared/tokens.css?v=20260820-2">
<link rel="stylesheet" href="/shared/base.css?v=20260806-1"> <link rel="stylesheet" href="/shared/base.css?v=20260806-1">
<link rel="stylesheet" href="/shared/shell.css?v=20260820-1"> <link rel="stylesheet" href="/shared/shell.css?v=20260820-2">
<link rel="stylesheet" href="/shared/auth.css?v=20260806-1"> <link rel="stylesheet" href="/shared/auth.css?v=20260806-1">
<link rel="stylesheet" href="/shared/components/controls.css?v=20260820-1"> <link rel="stylesheet" href="/shared/components/controls.css?v=20260820-1">
<link rel="stylesheet" href="/shared/components/navigation.css?v=20260820-1"> <link rel="stylesheet" href="/shared/components/navigation.css?v=20260820-1">
@@ -28,7 +28,7 @@
<link rel="stylesheet" href="/shared/components/dialogs.css?v=20260806-1"> <link rel="stylesheet" href="/shared/components/dialogs.css?v=20260806-1">
<link rel="stylesheet" href="/shared/components/feedback.css?v=20260806-1"> <link rel="stylesheet" href="/shared/components/feedback.css?v=20260806-1">
<link rel="stylesheet" href="/pages/market/foundation.css?v=20260806-1"> <link rel="stylesheet" href="/pages/market/foundation.css?v=20260806-1">
<link rel="stylesheet" href="/pages/sentiment/foundation.css?v=20260820-1"> <link rel="stylesheet" href="/pages/sentiment/foundation.css?v=20260820-2">
<link rel="stylesheet" href="/pages/pools/foundation.css?v=20260820-1"> <link rel="stylesheet" href="/pages/pools/foundation.css?v=20260820-1">
<link rel="stylesheet" href="/pages/ladder/foundation.css?v=20260806-1"> <link rel="stylesheet" href="/pages/ladder/foundation.css?v=20260806-1">
<link rel="stylesheet" href="/pages/rotation/foundation.css?v=20260806-1"> <link rel="stylesheet" href="/pages/rotation/foundation.css?v=20260806-1">
@@ -37,7 +37,7 @@
<link rel="stylesheet" href="/pages/popularity/foundation.css?v=20260806-1"> <link rel="stylesheet" href="/pages/popularity/foundation.css?v=20260806-1">
<link rel="stylesheet" href="/pages/dragon-tiger/foundation.css?v=20260806-1"> <link rel="stylesheet" href="/pages/dragon-tiger/foundation.css?v=20260806-1">
<link rel="stylesheet" href="/pages/screener/foundation.css?v=20260806-2"> <link rel="stylesheet" href="/pages/screener/foundation.css?v=20260806-2">
<link rel="stylesheet" href="/pages/mentor/foundation.css?v=20260820-1"> <link rel="stylesheet" href="/pages/mentor/foundation.css?v=20260820-2">
<link rel="stylesheet" href="/pages/heaven/foundation.css?v=20260806-2"> <link rel="stylesheet" href="/pages/heaven/foundation.css?v=20260806-2">
<link rel="stylesheet" href="/pages/review/foundation.css?v=20260806-1"> <link rel="stylesheet" href="/pages/review/foundation.css?v=20260806-1">
</head> </head>
@@ -115,7 +115,7 @@
<div class="tape-detail-item market-item"><span>炸板</span><strong id="detailBroken" class="warning">--</strong></div> <div class="tape-detail-item market-item"><span>炸板</span><strong id="detailBroken" class="warning">--</strong></div>
<div class="tape-detail-item market-item"><span>封板率</span><strong id="detailSealRate">--</strong></div> <div class="tape-detail-item market-item"><span>封板率</span><strong id="detailSealRate">--</strong></div>
<div class="tape-detail-item market-item"><span>两市成交</span><strong id="tapeAmount">--</strong></div> <div class="tape-detail-item market-item"><span>两市成交</span><strong id="tapeAmount">--</strong></div>
<div class="tape-detail-item market-item"><span>数据日期</span><strong id="dataDateMetric" class="metric-value small">--</strong></div> <div class="tape-detail-item tape-detail-date market-item"><span>数据日期</span><strong id="dataDateMetric" class="metric-value small">--</strong></div>
</div> </div>
</section> </section>
+2 -1
View File
@@ -1,8 +1,9 @@
/* Canonical CSS owner: mentor. Historical layers consolidated 2026-08-02. */ /* Canonical CSS owner: mentor. Historical layers consolidated 2026-08-02. */
body[data-active-view="mentorView"] .app-page-context { body[data-active-view="mentorView"] .app-page-context {
max-width: 420px; max-width: 560px;
min-width: 180px; min-width: 180px;
overflow: visible;
} }
body[data-active-view="mentorView"] .app-page-context span { body[data-active-view="mentorView"] .app-page-context span {
+11 -5
View File
@@ -218,7 +218,11 @@
.sentiment-history-table thead th { .sentiment-history-table thead th {
border-bottom-color: rgb(216, 224, 230); border-bottom-color: rgb(216, 224, 230);
font-size: 11.5px; height: 36px;
font-size: var(--fs-caption);
font-weight: 600;
} }
.sentiment-history-table .sentiment-history-groups th { .sentiment-history-table .sentiment-history-groups th {
@@ -1307,19 +1311,21 @@
.redesigned-sentiment-view .sentiment-history-table td, .redesigned-sentiment-view .sentiment-history-table td,
.redesigned-sentiment-view .sentiment-history-table th { .redesigned-sentiment-view .sentiment-history-table th {
height: auto; height: 40px;
padding: 8px 10px; padding: 0 10px;
border-bottom: 1px solid var(--r2-line-soft); border-bottom: 1px solid var(--r2-line-soft);
} }
.redesigned-sentiment-view .sentiment-history-table thead th { .redesigned-sentiment-view .sentiment-history-table thead th {
height: 36px;
background: var(--table-header); background: var(--table-header);
color: var(--r2-sub); color: var(--text-2);
font-size: 12px; font-size: var(--fs-caption);
font-weight: 600; font-weight: 600;
} }
+12
View File
@@ -3428,6 +3428,12 @@ body.sidebar-collapsed .status-bar {
background: var(--hover); background: var(--hover);
} }
.tape-detail-date,
.overview-strip[data-overview-expanded="true"] .tape-detail-date {
display: flex;
flex-direction: column;
}
.tape-detail-item span { .tape-detail-item span {
color: var(--text-3); color: var(--text-3);
font-size: var(--fs-aux); font-size: var(--fs-aux);
@@ -3613,6 +3619,12 @@ body.sidebar-collapsed .status-bar {
top: calc(var(--mobile-header-height) + 1px); top: calc(var(--mobile-header-height) + 1px);
grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-columns: repeat(2, minmax(0, 1fr));
} }
.tape-detail-date,
.overview-strip[data-overview-expanded="true"] .tape-detail-date {
display: flex;
flex-direction: column;
}
} }
@media (max-width: 767px) { @media (max-width: 767px) {
+2
View File
@@ -3201,6 +3201,8 @@ test("merged header keeps date, detail fields and 13 pool columns after dual-rev
await expect(page.locator("#tapeLimitDown")).toBeVisible(); await expect(page.locator("#tapeLimitDown")).toBeVisible();
await expect(page.locator("#detailBroken")).toBeVisible(); await expect(page.locator("#detailBroken")).toBeVisible();
await expect(page.locator("#dataDateMetric")).toBeVisible(); await expect(page.locator("#dataDateMetric")).toBeVisible();
await expect(page.locator(".tape-detail-date")).toBeVisible();
expect(await page.locator("#dataDateMetric").evaluate((node) => Boolean(node.closest(".metric-wide")))).toBe(false);
await page.keyboard.press("Escape"); await page.keyboard.press("Escape");
await page.setViewportSize({ width: 1600, height: 1000 }); await page.setViewportSize({ width: 1600, height: 1000 });