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

The cloud tree's filter line is read by one language that every list can share #17735

opened this

Merged 9h 33m ago, live in production

src/list/line.ts reads a filter line into terms and problems. The cloud tree uses it on the web, in the terminal and in the infra tool; its own parser is deleted. New: quotes, ages and dates (created: 10,=20).

Notes

opened this

src/list/line.ts reads a filter line into terms and problems. The cloud tree uses it on the web, in the terminal and in the infra tool; its own parser is deleted. New: quotes, ages and dates (created:<7d), !web, and a sign per value (cost:>10,=20).

  • Every line in KEEPS of test/cloud-filter-lines.test.ts finds the same rows in the same order.
  • Each change of meaning is a row in DELIBERATE, with what it found before, and is in docs/features/infra.md.
  • The infra tool refuses a line that would hand it every row by mistake (cost:abc, a line past the limit) with invalid_filter, and names the smaller slips in problems.

Part of #17532.

Ran on the vxrail: 323 tests in 15 files (0 fail) and tsc before the commit, the gate on this head; only the commit text changed between. The edited tests failed on the old source. Not run: the full suite, a browser or phone width.

Try: /infra?q=!kind:volume+created:%3C30d, then /infra?q=cost:abc

🤖 Generated with Claude Code

Sign in to join this conversation.

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

Keyboard shortcuts

Docs