diff --git a/docs/qa/platform-checklist/areas/dashboards.json b/docs/qa/platform-checklist/areas/dashboards.json index 3a4a21b2c11..c51cb4cd932 100644 --- a/docs/qa/platform-checklist/areas/dashboards.json +++ b/docs/qa/platform-checklist/areas/dashboards.json @@ -198,7 +198,7 @@ "title": "Report drill-through scopes the drilled list to the exact bucket range", "since": "v16", "status": "active", - "revision": 2, + "revision": 3, "priority": "P2", "surface": "browser", "personas": [ @@ -218,7 +218,7 @@ "capture the drill request for the month click, including its date bounds", "count the rows in each drilled list (page through if paginated) and compare to the bucket's aggregate", "click a cell in showcase_status_priority_matrix (status × priority) and verify the drilled list is scoped by BOTH dimensions", - "screenshot the drill drawer each time (drill opens in-place as a drawer by default — chart.zod.ts drill target enum drawer|dialog|navigate)" + "screenshot the drill dialog each time (on a desktop a report or dataset-widget drill opens a centred, non-modal dialog over the standard list, its conditions as labelled chips — objectstack#36256, objectstack#36461; ReportView.tsx and DatasetWidget.tsx pass target \"dialog\", whatever chart.zod.ts's drill target default reads)" ], "acceptance": [ { @@ -246,10 +246,10 @@ "evidence": "the two counts" }, { - "clause": "the drilled list opens in the drawer (default drill target) with the clicked category as its heading context", + "clause": "the drilled list opens in a centred dialog (not a side drawer; nothing behind it dimmed or blurred) with the clicked category as its heading context and the drill's conditions as labelled filter chips on the list's toolbar (objectstack#36256, objectstack#36461)", "oracle": "screenshot", - "verify": "drawer screenshot shows the drilled records and a heading matching the clicked bucket's label", - "evidence": "drawer screenshot" + "verify": "at 1280×800 the dialog screenshot shows the drilled records, a heading matching the clicked bucket's label and a chip naming the clicked bucket's condition; the dialog is the centred one (ui/packages/plugin-dashboard/src/DrillDownDrawer.tsx's target 'dialog' branch, data-testid drill-down-dialog), not a full-height side sheet", + "evidence": "dialog screenshot" } ], "negative": [ @@ -262,7 +262,7 @@ "source": [ "#3358 §3", "#3415", - "packages/spec/src/ui/chart.zod.ts (drill semantics: derived filter from clicked category, target enum, drawer default)", + "packages/spec/src/ui/chart.zod.ts (drill semantics: derived filter from clicked category, target enum; its drawer default is not what the report and dataset-widget drills open, see objectstack#36256)", "packages/spec/src/ui/dashboard.zod.ts (ADR-0021 dataset-bound drill derives target+filter from the dataset row)", "examples/app-showcase/src/ui/reports/index.ts (drilldown: true on all four reports)" ], @@ -278,6 +278,12 @@ "date": "2026-08-07", "change": "expanded to deep-test contract: concrete steps, multi-clause acceptance, negatives, variants", "ref": "claude/platform-test-checklist-ocwugl" + }, + { + "revision": 3, + "date": "2026-11-24", + "change": "steps[6], the clause acceptance[4] and the chart.zod.ts source line follow #36256 and #36461: on a desktop a report or dataset-widget drill opens a centred, non-modal dialog over the standard list with the drill's conditions as labelled chips, not the side drawer the clause read (milestone acceptance #37022 found the dialog on main 305fe60e; ReportView.tsx and DatasetWidget.tsx pass target 'dialog', DrillDownDrawer.tsx draws it). The source line no longer names chart.zod.ts's drawer default as what this drill opens", + "ref": "#37035" } ] }, @@ -1382,10 +1388,10 @@ }, { "id": "dashboards.report-measure-drill-scope", - "title": "A report drill lists exactly the records its measure counted: the dataset answer names each measure's drill scope, a derived measure gets none, and the drawer and its Open in list carry the scope with the bucket", + "title": "A report drill lists exactly the records its measure counted: the dataset answer names each measure's drill scope, a derived measure gets none, and the drill dialog and its Open in list carry the scope with the bucket", "since": "v18.4", "status": "active", - "revision": 1, + "revision": 2, "priority": "P2", "surface": "mixed", "personas": [ @@ -1402,8 +1408,8 @@ "steps": [ "POST /api/v1/analytics/dataset/query { datasetName: 'showcase_task_metrics', selection: { dimensions: ['status'], measures: ['task_count', 'est_hours', 'done_count', 'done_rate'] } }; read the answer's drillScopes", "open the report Hours by Status (Summary) in the console; click the row of a status S that holds a task with no estimate", - "read the drawer's record request and count; then GET /api/v1/data/showcase_task with filter status = S, and again with estimate_hours not null", - "click the drawer's Open in list; read the URL and the list's count" + "read the drill dialog's record request and count; then GET /api/v1/data/showcase_task with filter status = S, and again with estimate_hours not null", + "click the drill dialog's Open in list; read the URL and the list's count" ], "acceptance": [ { @@ -1413,20 +1419,20 @@ "evidence": "the answer body" }, { - "clause": "the drawer lists the bucket AND the measure scope, so its count matches the number clicked", + "clause": "the drill dialog (the centred dialog over the standard list, objectstack#36256 and objectstack#36461, not the side drawer) lists the bucket AND the measure scope, so its count matches the number clicked", "oracle": "network", - "verify": "the drawer's record request filters status = S and estimate_hours $null false; its count equals the second read (status S with an estimate set), which is lower than the status-only read (ui/packages/plugin-report/src/measureDrillScope.ts#scopeDrillFilter, ui/packages/plugin-report/src/DatasetReportRenderer.tsx#DatasetReportRenderer)", - "evidence": "the drawer request, its count and the two reads" + "verify": "the drill dialog's record request filters status = S and estimate_hours $null false; its count equals the second read (status S with an estimate set), which is lower than the status-only read (ui/packages/plugin-report/src/measureDrillScope.ts#scopeDrillFilter, ui/packages/plugin-report/src/DatasetReportRenderer.tsx#DatasetReportRenderer)", + "evidence": "the dialog's request, its count and the two reads" }, { "clause": "Open in list carries the same scope, because the list route can write it exactly", "oracle": "dom", - "verify": "the list URL is /apps//showcase_task/data with filter[status]=S and filter[estimate_hours][null]=false, and the list shows the drawer's count (ui/packages/app-shell/src/views/useOpenRecordList.ts#drillRecordListFilter)", + "verify": "the list URL is /apps//showcase_task/data with filter[status]=S and filter[estimate_hours][null]=false, and the list shows the dialog's count (ui/packages/app-shell/src/views/useOpenRecordList.ts#drillRecordListFilter)", "evidence": "the URL and the list count" } ], "negative": [ - "a drawer or list that shows every task of status S, the estimate-less one included, is a FAIL: it lists a superset of what the measure summed", + "a drill dialog or list that shows every task of status S, the estimate-less one included, is a FAIL: it lists a superset of what the measure summed", "a drill offered on a derived measure is a FAIL: no single record set is behind its number" ], "traps": [ @@ -1451,6 +1457,12 @@ "date": "2026-11-10", "change": "initial — the per-measure drill scope on report drills and Open in list (#30651, #30735). Scoped sweep #32270 (epic #32022 M4, the zero-citation close-out), read from source at 60b99f8f; no live run made", "ref": "#32270" + }, + { + "revision": 2, + "date": "2026-11-24", + "change": "the title, steps[2] and [3], the clauses acceptance[1] and acceptance[2] and negative[0] follow #36256 and #36461: the report drill opens a centred dialog over the standard list with labelled chips, not the drawer they read (milestone acceptance #37022 on main 305fe60e; ReportView.tsx passes target 'dialog'). What the dialog must list, the bucket AND the measure scope, is unchanged", + "ref": "#37035" } ] }, diff --git a/docs/qa/platform-checklist/areas/records-forms.json b/docs/qa/platform-checklist/areas/records-forms.json index 1d520a2a58c..fa71f4d16c0 100644 --- a/docs/qa/platform-checklist/areas/records-forms.json +++ b/docs/qa/platform-checklist/areas/records-forms.json @@ -627,7 +627,7 @@ "title": "List-view capability matrix: filter, search, sort, pagination, saved views, inline edit, export, visualization switcher, bulk/row actions, conditional formatting", "since": "v15", "status": "active", - "revision": 15, + "revision": 16, "priority": "P1", "surface": "browser", "personas": [ @@ -667,7 +667,7 @@ "open the visualization switcher on All Tasks; enumerate the offered types; switch through each", "on bulk_actions, select rows that are NOT done and run showcase_mark_done (per-record) — its visible gate, has(record.done) && record.done != true, judges each selected row, so a done row in the selection drops Mark Done from the selection actions the floating selection bar shows (since #35678 one bar floats at the bottom centre of the list and the view bar does not change on selection; over three actions the rest are under 「更多」), or, over a mixed selection, the confirm reports the done rows not eligible and skipped (QA run #27438); either way the dispatch count stops matching the selection — and showcase_recalc_selection (aggregate — ONE dispatch: an api-type action, which the console sends through the action door, POST /api/v1/actions/showcase_task/showcase_recalc_selection with body {params:{_selectedIds:[…]}}; the server forwards those params flat to the action's own target /api/v1/apps/showcase/recalc in-process, buildApiActionRequest in packages/runtime/src/action-execution.ts, so the browser's network log shows the door request and no /recalc request); on legacy_row_actions confirm both named row actions resolve to live menu entries", "on Field Zoo, confirm the conditionalFormatting row highlight applies to Specimen — Full (f_lookup set) and not Specimen — Minimal", - "at 1280×800 on a zh-CN session, read the list frame on All Tasks, then on its kanban view: a 44px page bar with the object's icon and name (objectstack#36113), ended by the shell's button group where it is on; under it a 40px view bar with ONE switcher trigger reading type icon → view name → record count → caret, and 「视图设置」 on the left, and the search icon, 「导入 / 导出」 (import and each export format), 「+ 新建任务」 and ⋮ (description, favorite) last on the right; under it a 40px condition row that is always drawn — dashed 「排序」 and 「筛选」 while no condition is set, one 「按 X 排序」 chip (with +N) and the filter chips once set — so the table's header does not move when a condition is set or reset; on the grid a 36px header and 36px rows at 13px (objectstack#36048); and, on a view whose columns declare a `summary`, each total under its own column with 「计数 N」 leftmost and no doubled colon. The kanban view draws the same three rows (objectstack#35548, objectstack#36113; the count beside the view name returns, after objectstack#34603 removed it)", + "at 1280×800 on a zh-CN session, read the list frame on All Tasks, then on its kanban view: a 44px page bar with the object's icon and name (objectstack#36113), ended by the shell's button group where it is on; under it a 40px view bar with ONE switcher trigger reading type icon → view name → record count → caret, and 「视图设置」 on the left, and the search icon, 「导入 / 导出」 (import and each export format), 「+ 新建任务」 and ⋮ (description, favorite) last on the right; under it a 40px condition row that is always drawn — dashed 「排序」 and 「筛选」 while no condition is set, one 「按 X 排序」 chip (with +N) and the filter chips once set — so the table's header does not move when a condition is set or reset; on the grid a 36px header and 36px rows (objectstack#36048), the header labels at 12px and the cells and bar buttons at 14px (objectstack#36047's two-tier type scale); and, on a view whose columns declare a `summary`, each total under its own column with 「计数 N」 leftmost and no doubled colon. The kanban view draws the same three rows (objectstack#35548, objectstack#36113; the count beside the view name returns, after objectstack#34603 removed it)", "at 1280×800 with the sidebar open, read the left edges of the list page on All Tasks (a list whose columns fit) and on a list that scrolls sideways (stage one by showing every field of showcase_task through 视图设置 → 添加列): the page bar's object icon, the view switcher's icon, the header's select-all box, each row's checkbox and the footer's record count each start 16px from the main area's left; the selection column is 40px on both lists and stays 40px, pinned at the left, after scrolling to the far right and back; no row shows a number and each row's checkbox shows without a hover; the view bar's last control, ⋮, ends its icon 16px from the right; at 375 wide no leading item sits closer than 12px to the left (objectstack#35663)" ], "acceptance": [ @@ -732,9 +732,9 @@ "evidence": "menu screenshot + dispatch traces" }, { - "clause": "the list frame holds its geometry: page bar 44 (the object's icon and name), view bar 40, condition row 40 and always drawn (the header's top does not move when a condition is set or reset), header 36, rows 36, 13px on the header, the cells and the bar buttons, the table header's top at 172px and the first data row top at or above 212px under the 48px shell bar, the switcher read type icon → name → count → caret, every column total's right edge on its column's (±1px), no doubled colon in the summary row, and the kanban view under the same three rows", + "clause": "the list frame holds its geometry: page bar 44 (the object's icon and name), view bar 40, condition row 40 and always drawn (the header's top does not move when a condition is set or reset), header 36, rows 36, 12px on the header labels and 14px on the cells and the bar buttons (objectstack#36047's two tiers: body 14, labels and section headings 12), the table header's top at 172px and the first data row top at or above 212px under the 48px shell bar, the switcher read type icon → name → count → caret, every column total's right edge on its column's (±1px), no doubled colon in the summary row, and the kanban view under the same three rows", "oracle": "dom", - "verify": "read getBoundingClientRect and the computed font size of each part at 1280×800 zh-CN (the geometry and order halves are pinned by ui/e2e/list-frame-geometry-35548.spec.ts over the real class strings; the kanban half by ui/packages/plugin-list/src/__tests__/ListView.viewBarLeading-35548.test.tsx); the summary half needs a view whose columns declare `summary`, which task.view.ts does not, so stage one in the showcase's customization pair as negative[0] does", + "verify": "read getBoundingClientRect and the computed font size of each part at 1280×800 zh-CN (the geometry, order and font-size halves are pinned by ui/e2e/list-frame-geometry-35548.spec.ts over the real class strings compiled onto a transcribed element tree, not the live page, so the live reading is still driven by hand; the kanban half by ui/packages/plugin-list/src/__tests__/ListView.viewBarLeading-35548.test.tsx); the summary half needs a view whose columns declare `summary`, which task.view.ts does not, so stage one in the showcase's customization pair as negative[0] does", "evidence": "light and dark screenshots of the grid and the kanban, plus the measured heights" }, { @@ -840,7 +840,8 @@ }, { "revision": 13, "date": "2026-11-20", "change": "steps[6], [8], [10], [11] and the clauses acceptance[10] and acceptance[11] follow #35878: the list page draws two rows, not three. There is no page bar; the view bar leads with the object's icon and name, then the switcher and 「视图设置」 (was 「选项」), and ends with search, 「+ 新建」 and ⋮ last (#35678). The condition row is always drawn at 40px, so the frame clause reads condition row 40 where it read 'no condition row height', and the left-edge clause's first item is the view bar's object icon where it was the page bar's (the view icon no longer leads the bar). Filter N and Sort N left the bar for the condition row", "ref": "#35878" }, { "revision": 14, "date": "2026-11-21", "change": "steps[8] follows #35678: the selection actions are in one bar floating at the bottom centre of the list, and the view bar no longer changes on selection; what Mark Done's visible gate does is unchanged", "ref": "#35678" }, - { "revision": 15, "date": "2026-11-21", "change": "steps[6], [10], [11] and the clauses acceptance[10] and acceptance[11] follow #36113: the list page draws three rows again. A 44px page bar holds the object's icon and name (ended by the shell's button group where it is on); the view bar leads with the switcher and ends with search, 「导入 / 导出」, 「+ 新建{对象}」 and ⋮. Export is offered in 「导入 / 导出」 as well as the 视图设置 footer, so steps[6] reads two doors. The frame clause reads page bar 44, the table header at 172 and the first row at or above 212 where it read 'no page bar' and 168, and header 36 / rows 36 where it read 32 / 33 (#36048, which the clause had not caught up with); the kanban view sits under the same three rows. The left-edge clause's first items are the page bar's object icon and the view switcher's icon, where it read the view bar's object icon", "ref": "#36113" } + { "revision": 15, "date": "2026-11-21", "change": "steps[6], [10], [11] and the clauses acceptance[10] and acceptance[11] follow #36113: the list page draws three rows again. A 44px page bar holds the object's icon and name (ended by the shell's button group where it is on); the view bar leads with the switcher and ends with search, 「导入 / 导出」, 「+ 新建{对象}」 and ⋮. Export is offered in 「导入 / 导出」 as well as the 视图设置 footer, so steps[6] reads two doors. The frame clause reads page bar 44, the table header at 172 and the first row at or above 212 where it read 'no page bar' and 168, and header 36 / rows 36 where it read 32 / 33 (#36048, which the clause had not caught up with); the kanban view sits under the same three rows. The left-edge clause's first items are the page bar's object icon and the view switcher's icon, where it read the view bar's object icon", "ref": "#36113" }, + { "revision": 16, "date": "2026-11-24", "change": "steps[6] and the clause acceptance[10] follow #36047's two-tier type scale (closed 2026-11-21 on the maintainer's 「同意」: body 14, labels and section headings 12): the header labels read 12px and the cells and bar buttons 14px, where the clause read 13px on all three (milestone acceptance #37020 read 12 and 14 live on main 305fe60e; set by ui/packages/plugin-grid/src/ObjectGrid.tsx's header text-xs and ui/packages/plugin-list/src/listToolbarRow.ts's text-sm trigger). acceptance[10]'s verify now says the e2e pin compiles the real classes onto a transcribed element tree, not the live page. No header or row height in the item still reads 32 / 33 outside revision 15's history row", "ref": "#37035" } ] }, { diff --git a/ui/e2e/list-frame-geometry-35548.spec.ts b/ui/e2e/list-frame-geometry-35548.spec.ts index 67460117e5b..789132a9f9e 100644 --- a/ui/e2e/list-frame-geometry-35548.spec.ts +++ b/ui/e2e/list-frame-geometry-35548.spec.ts @@ -7,7 +7,8 @@ import { uiRoot } from '../scripts/ui-root.mjs'; /** * GEOMETRY pin for objectstack#35548 (epic #35547), as redrawn by - * objectstack#35878 (two rows): the list page's frame. + * objectstack#35878 (two rows) and objectstack#36113 (three rows again: a + * 44px page bar above the view bar): the list page's frame. * * view bar 40 (the object's name as the page's heading, the switcher and * View settings on the left; search, New and ⋮ on the right) · condition @@ -15,8 +16,7 @@ import { uiRoot } from '../scripts/ui-root.mjs'; * (objectstack#36048; 32 and 33 before it), 14px on the heading, the cells * and the bar buttons and 12px on the header (objectstack#36047), the view switcher as one trigger (type * icon → name → count → caret), and each column total under its own - * column, right edge on the column's right edge. No page bar is drawn - * above the view bar. A line of the row lines' colour and weight runs + * column, right edge on the column's right edge. A line of the row lines' colour and weight runs * between columns in the header, the rows and the footer row, and none * after the last cell, drawn as an inset shadow (objectstack#36048). * @@ -43,12 +43,17 @@ import { uiRoot } from '../scripts/ui-root.mjs'; * from those sources; icons are empty boxes of their declared size; `cn`'s * merge is replaced by Tailwind's own utility order (a later `px-3` beats an * earlier `p-4` there too). The assertions are heights, font sizes, order and - * edges, not pixels of glyphs. + * edges, not pixels of glyphs. So this file never opens the live app: it + * proves the real classes still compute to these sizes on a transcribed + * tree, not that the running Console draws them. The live reading is driven + * by hand (the checklist's records-forms.list-view-capabilities acceptance[10]). * * ## The live reading this was cut from * CRM 商机 at 1280×800 zh-CN, light and dark: top bar 48, page bar 44, view * bar 40, header 32, first data row top 164, rows 33, 13px throughout, totals - * on their columns' right edges. After objectstack#35878 (showcase tasks at + * on their columns' right edges (before objectstack#36048 and objectstack#36047; + * milestone acceptance objectstack#37020 read 12px on the header labels and + * 14px on the cells and bar buttons live on main 305fe60e). After objectstack#35878 (showcase tasks at * 1312, light and dark): top bar 48, view bar 40, condition row 40, the * header's top at 128 with and without a condition set. The kanban view draws the same two bars — * pinned in `ListView.viewBarLeading-35548.test.tsx`, where the bars are