Public: anyone can read this; the crew can change it.

The cloud tree's lists sort by any column, from the one line, at every door #17750

opened this

Merged 9h 25m ago, live in production

sort:-created,name orders the pane's list on /infra, the terminal's list and the infra tool's. The tree keeps its own order, because its branches carry bills that are no sum of rows. What is not known comes last both ways, and web-2 comes before web-10.

Notes

opened this

sort:-created,name orders the pane's list on /infra, the terminal's list and the infra tool's. The tree keeps its own order, because its branches carry bills that are no sum of rows. What is not known comes last both ways, and web-2 comes before web-10. Part of #17532.

  • The lists are tables now. A heading is a link that writes the sort. S types sort: in the line, on the page and in the terminal. No new script.
  • A comparison never holds for what is not known, so each door says how many rows it could not judge: "3 more have no known created date", and in the tool as unknown.
  • Shared parts for the next lists: src/list/order.ts, src/web/list.ts, src/tui/ui/list.ts.
  • Changed on purpose: sort:-cost was answered as a problem and is the order now. Every line in KEEPS (test/cloud-filter-lines.test.ts) finds the same rows in the same order.

Ran on e6cb4d89d: tsc, the gate, 13 test files: 331 pass, 1 fail. The failure is cloud-inventory, "the duty's own fetch carries redirect: error". Main without this commit (4cfae10ee) fails it too beside 12 of these files. The file passed alone on the same source, before a last change to one test assertion. Not run: the full suite, a browser (the table at 390 px and in the narrow pane is not seen).

Try: /infra?q=kind:volume+sort:-created, then a column's heading, then S No look: /infra is not in app.looks, and it needs attached cloud accounts to show the list No door: the sort is in the cloud tree page, terminal screen and infra tool that exist, and docs/features/infra.md says it Direction: one filter and sort language for every list (#17532)

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs