You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7dcbb2e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(components): every list header opens the column menu; a Firefox-draggable sort handle
Under GridHeaderMenu a header that does not sort now opens the column menu
with Hide column alone, and its click still changes no sort. Hide column
moves focus to the header beside the hidden one. The sort builder's handle
is a span with role button and a tab stop, since Firefox starts no HTML5
drag from a button. The condition-row e2e spec drags a handle in a chip's
panel.
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/35876-list-header-menu-multi-sort.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ fix(plugin-list): a list's column header opens a menu and keeps a multi-level so
10
10
Clause-②: yes (widening)
11
11
Metadata-protocol: none
12
12
13
-
On a list page (the grid `ListView` draws), a click on a sortable column header no longer sorts at once. It opens the column menu: sort ascending, sort descending, hide the column. Enter, Space or ArrowDown on the focused header opens the same menu, the arrows move through it, Enter chooses, and Esc shuts it without touching the sort. With no sort or a single level, the column picked in the menu replaces the sort; with two levels or more it becomes the first level, the other levels keep their order after it, and a column already in the sort moves up with the picked direction. No level is dropped. The ↑1 / ↓2 marks on the headers are unchanged.
13
+
On a list page (the grid `ListView` draws), a click on a column header no longer sorts at once. It opens the column menu: sort ascending, sort descending, hide the column (a column that does not sort offers hide alone). Enter, Space or ArrowDown on the focused header opens the same menu, the arrows move through it, Enter chooses, and Esc shuts it without touching the sort. With no sort or a single level, the column picked in the menu replaces the sort; with two levels or more it becomes the first level, the other levels keep their order after it, and a column already in the sort moves up with the picked direction. No level is dropped. The ↑1 / ↓2 marks on the headers are unchanged.
14
14
15
15
A sort chip under the view bar no longer reverses its direction on a click: it opens every sort level in one panel. Each level row in the sort builder now has a handle; dragging it, or ArrowUp / ArrowDown on the focused handle, reorders the levels.
Copy file name to clipboardExpand all lines: ui/e2e/list-condition-row-35549.spec.ts
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -318,7 +318,7 @@ test.describe('list condition row under the view bar (objectstack#35549, objects
318
318
expect(awaitslotHeight(page)).toBe(0);
319
319
});
320
320
321
-
test('sort: Sort → Descending → Amount is three clicks; chips come before filter chips; a drag reorders; a header menu pick shows as a chip; Reset restores',async({ page })=>{
321
+
test('sort: Sort → Descending → Amount is three clicks; chips come before filter chips; a drag reorders; a handle in a chip panel reorders; a header menu pick shows as a chip; Reset restores',async({ page })=>{
322
322
test.setTimeout(120_000);
323
323
awaitmount(page);
324
324
awaitexpect.poll(()=>count(page)).toBe('12');
@@ -354,6 +354,15 @@ test.describe('list condition row under the view bar (objectstack#35549, objects
354
354
// a real drag: the second sort chip onto the first
0 commit comments