feat: implement scan terminal mobile dashboard components and data management logic

This commit is contained in:
2569718930@qq.com
2026-05-17 15:32:47 +08:00
parent 04e0369255
commit 2d9aa576dd
11 changed files with 450 additions and 4 deletions
@@ -42,6 +42,12 @@ export function runTests() {
!shellPartsSource.includes('"monitor"') && !shellPartsSource.includes('"runway"'),
"scan terminal content views must not include market monitor or runway tabs",
);
assert(
shellPartsSource.includes('"city-list"') &&
dashboardSource.includes("scan-mobile-city-list-view") &&
dashboardSource.includes('setActiveView("city-list")'),
"mobile web should expose the lightweight city-list entry view",
);
assert(
!dashboardSource.includes('setActiveView("monitor")') &&
!dashboardSource.includes('setActiveView("runway")') &&