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

The space view finds a body by name and flies to it #12758

shipped production is serving it opened this has it

Landed in pull #12783 · run

opened this

Intent. Owner: the space view is lacking information; with hundreds of bodies he needs to find one.

Acceptance.

Risks. viewJs serialises functions with toString: the new function must be self-contained or the client breaks silently (test the shipped string).

Suggested brief. mason (client script)

Not on the v1.0.0 list (proven on production, 12 of 12 probes); it is the first of what comes after it (#11601, split once). Every page change carries Looks: before/after.

Files: src/web/space_client.ts, src/web/space_view.ts, src/web/pages/space.ts, test/space-find.test.ts

commented

Reviewed pull #12783 at its head: ticked A search field (server-rendered, / focuses it) filters bodies by number or title substring, case-insensitive, over the rows already sent to the client.; Enter flies the view to the first match with the existing zoom glide and selects it (the same facts and link a tap shows); Esc clears.; The match function is a pure module-level function with a test (numbers, substrings, no match, 5,000 rows under 10 ms). No new request..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs