feat: compact leadership dashboard layout
This commit is contained in:
1 parent
3ed3af1feb
commit
f11aa6416b
6 files changed
+625
-290
No files matched your search
@@ -219,16 +219,17 @@ test('operator UI exposes role-aware accounts, executive drill-through, original
|
||||
assert.match(index, /value="team_lead">组长/);
|
||||
assert.match(index, /id="operationsDashboardFilters"/);
|
||||
assert.match(index, /id="operationsDashboardBusiness"/);
|
||||
assert.match(index, /id="operationsDashboardDays"/);
|
||||
assert.match(index, /id="operationsDashboardBusinesses"/);
|
||||
assert.match(index, /平台运行全景/);
|
||||
assert.match(index, /任务规模、人员贡献、业务分布/);
|
||||
assert.match(index, /输入人员、原始指令或最终结果/);
|
||||
assert.match(index, /任务类型排名/);
|
||||
assert.match(index, /员工操作任务排名/);
|
||||
assert.match(index, /员工名称/);
|
||||
assert.match(index, /class="operations-dashboard-table"/);
|
||||
assert.match(index, /员工名称、原始输入或最终输出/);
|
||||
assert.match(index, /id="operationsDashboardRangePresets"/);
|
||||
assert.match(index, /id="operationsDashboardRefresh"/);
|
||||
assert.match(index, /从原始输入到最终输出/);
|
||||
assert.match(index, /任务操作明细/);
|
||||
assert.match(index, /id="operationsDashboardDetail"/);
|
||||
assert.doesNotMatch(index, /OPERATIONS OVERVIEW|BUSINESS TRACE|指令操作历史/);
|
||||
assert.doesNotMatch(index, /平台运行全景|operations-dashboard-hero|OPERATIONS OVERVIEW|BUSINESS TRACE|指令操作历史/);
|
||||
assert.match(index, /id="historyArchiveInput"/);
|
||||
assert.match(app, /authUser\?\.role === 'admin'/);
|
||||
assert.match(app, /crypto\.randomUUID/);
|
||||
@@ -242,8 +243,8 @@ test('operator UI exposes role-aware accounts, executive drill-through, original
|
||||
assert.match(app, /\/api\/operations-dashboard\/tasks\/\$\{encodeURIComponent\(taskId\)\}/);
|
||||
assert.match(app, /business_route_id/);
|
||||
assert.match(app, /data-operations-status|dataset\.operationsStatus/);
|
||||
assert.match(app, /data-operations-day|dataset\.operationsDay/);
|
||||
assert.match(app, /data-operations-business|dataset\.operationsBusiness/);
|
||||
assert.doesNotMatch(app, /完成率|operationsDashboardCompletionRate|operationsDashboardDays/);
|
||||
assert.match(app, /function operationsDashboardReadableResult/);
|
||||
assert.match(app, /function operationsDashboardReadableInput/);
|
||||
assert.match(app, /原始输入/);
|
||||
|
||||
@@ -1225,8 +1225,8 @@ test('operator page has a login gate and uses the durable task API', async () =>
|
||||
const inpage = await readFile(new URL('../../chrome-extension/ltjt-order-assistant/inpage.js', import.meta.url), 'utf8');
|
||||
assert.match(index, /id="loginPanel"/);
|
||||
assert.match(index, /id="workbench"[^>]*hidden/);
|
||||
assert.match(index, /styles\.css\?v=20260901-business-authorization-1/);
|
||||
assert.match(index, /app\.js\?v=20260901-business-authorization-1/);
|
||||
assert.match(index, /styles\.css\?v=20260902-compact-dashboard-1/);
|
||||
assert.match(index, /app\.js\?v=20260902-compact-dashboard-1/);
|
||||
assert.match(index, /id="statusDetailsPopover"/);
|
||||
assert.match(index, /id="statusDetailsRefresh"/);
|
||||
assert.match(app, /apiRequest\(`\/api\/tasks\?\$\{params\.toString\(\)\}`/);
|
||||
|
||||
Reference in new issue
Block a user