Skip to content

spec(PowerSearch): the sheet's value-only matches follow incremental search results - #14185

Merged
imdreamrunner merged 1 commit into
mainfrom
spec/powersearch-sheet-incremental-search
Dec 2, 2026
Merged

imdreamrunner merged 1 commit into
mainfrom
spec/powersearch-sheet-incremental-search

Conversation

@imdreamrunner

@imdreamrunner imdreamrunner commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Stack: #14185 -> #14170

This pull request is the bottom of the stack, on main, records only. #14159 (the package-internal opening query) and #14163 (value-only matches in the typeahead) are merged. #14170, the sheet path, implements this record and sits on top of it.

Exact decision needed

How the touch sheets list results that only a search source can give, starting with Add filter's value-only matches. The engineering owner decided on 2026-12-01: every list in the sheets follows incremental search results (spec:AST-092), the model the popover's typeahead already follows.

Existing authority searched

Decision

  • FR18: every list in the sheets follows spec:AST-092. The rows the flow holds show at once, so every list that waits on no source shows as it does today. Source rows join the same list below the rows shown when the source answers (FR2). A stale answer is dropped (FR4). While a query waits on a source, no "No filters match your search" or "No results found" shows (FR5). Such a query announces its count once, at settle (FR8). AR6's rules for a sheet that is covered or closed with its body retained stay.
  • FR30: Add filter's content search lists search-source rows as FR28 calls the sources (the same 150 ms hold, one call per distinct source) and as FR29 orders and bounds them: fields that need no source first, then search-source fields, in config order, at most three per field, and a "More" row only when a field has more. A search-source field with no match lists no row. No "More" row stands in for source rows. Later rows display after every row shown, so nothing moves under a finger (FR2), and a shown row keeps its element (FR7). A people field's "More" row still opens the Tokenizer's own sheet on the typed text (DEC-8, 2026-11-17), which PowerSearch now renders itself rather than through a Tokenizer that opens its sheet at mount; other fields' "More" rows open the value step, as before. Enter still commits the content-search row, also while rows are pending.
  • FR13: "No results found" shows for a query that settles with no suggestion.
  • AR7: in the sheet, later rows take neither focus nor the scroll position (FR6). While a query waits on a source, the content search is busy, with its loading indicator and its busy start announced once (spec:AST-086/FR8). Such a query announces its count once, at settle, inside the open sheet. A query that waits on no source announces no count, as the sheet's other suggestions do not.
  • AV7: where later rows join and the busy indicator are constants in both presentations.
  • DEC-8: the sheet lists source rows too, under incremental search results (decider line dated 2026-12-01).
  • DEC-9 (new): the sheets' lists follow incremental search results.
  • Representative states and the verification map follow: the sheet row's cases and failure signal now test the source rows, the pending state, the single announcement and the stale answer. FR18 stays verified for the lists the flow holds, with an implementation gap for lists that wait on a source. FR30 stays an implementation gap until feat(PowerSearch): list value-only matches in the sheet's content search #14170 lands.

Rejected alternatives

  • Keeping the sheet's lists synchronous: a phone then shows a different and misleading result for the same query, without the matches only a source finds (DEC-9).
  • A "More" row in place of a search-source field's source rows: it implies hidden matches the sheet never looked for (DEC-8).

Claim scope and non-goals

  • No change to the popover presentation, to FR27–FR29's rows, or to the value step's editors, which own their own pending states.
  • No count announcement for sheet queries that wait on no source.
  • spec:AST-092 keeps no list of consumers (its non-goals name PowerSearch's value editors), so it is not edited.

Evidence and implementation relationship

The implementation is #14170, reworked on this record: it reuses #14163's value-only source path (the same deferred module and hold) in the sheet, drops the stand-in "More" row, and adds sheet tests for rows merging below, no empty state while pending, one announcement, "More" only past three, the people "More" row, and a stale answer dropped.

Writing rubric results

Record touched: component:PowerSearch (FR13, FR18, FR30, AR7, AV7, DEC-8, new DEC-9, representative states, verification map).

  • R1 narration: none; the rule that FR18 used to carry appears only as DEC-9's rejected alternative, in the present tense.
  • R2 research in the record: none.
  • R3 evidence naming a change: none; the verification row names the sheet tests, not a pull request.
  • R4 rejected alternatives over one line or outside a decision: two, each one line inside DEC-8 or DEC-9.
  • R5 pull request or issue references remaining: none.
  • R6 ruled open questions still listing options: none.
  • R7 project status (build status or work order): FR18's and FR30's status cells name the implementation gap, as the template's status column asks; no work order.

Scope

Components: PowerSearch

  • This PR contains specification records only.
  • It records observable behavior and preserves equivalent internal implementations.
  • Any named internal mechanism is intentionally public, names its dependent caller/system, and explains why an equivalent implementation would not satisfy the contract. (None named.)
  • Verification states the evidence layer and failure signal without prescribing CI job/workflow topology.
  • It records one intentional durable decision, not a rescue for a separable tagalong.
  • The canonical knowledge owner, affected current claims, and overlapping open work are named; any ownership collision is resolved or called out for human decision.
  • Adjacent API, visual, accessibility, composition, and implementation facts remain outside scope unless this exact decision depends on them.
  • Public text and artifacts contain no internal Meta context.

Validation

  • pnpm check:knowledge
  • Prettier
  • git diff --check
  • pnpm review:pre (no findings)

…search results

The engineering owner decided on 2026-12-01 that every list in the
sheets follows incremental search results (spec:AST-092), as the
popover's typeahead does.

- FR18: the rows the flow holds show at once, and source rows join
  below them when the source answers. No empty-result message shows
  while a query waits on a source, and the count is announced once,
  at settle. AR6's rules for a covered or retained sheet stay.
- FR30: Add filter's content search lists search-source rows, ordered
  and bounded as FR29 states, with a "More" row only when a field has
  more. No "More" row stands in for source rows. A people field's
  "More" row still opens the Tokenizer's own sheet on the typed text,
  which PowerSearch now renders itself.
- FR13, AR7, AV7, the representative states and the verification map
  follow. DEC-8 gains the sheet's source rows, and DEC-9 records the
  model with its rejected alternative.

FR30 stays an implementation gap until the sheet lists the rows.
@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Dec 2, 2026 9:03pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 2, 2026
@astracat-bot

astracat-bot Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Dec 2, 2026, 9:01 PM UTC

@imdreamrunner

Copy link
Copy Markdown
Contributor Author

/approve-spec 3c286ed

@github-actions github-actions Bot added the needs:design-review Affects visuals — Design should review label Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 23e5f6b

Storybook · Sandbox · built from this PR's head

Current run: Heavy CI deferred: runs when review passes and before merge. Lint, typecheck and any path-filtered checks ran on this push.


Generated by PR Enrichment workflow | View current CI run

@imdreamrunner

Copy link
Copy Markdown
Contributor Author

/approve-spec 592ab59

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request is reviewed as part of its stack; see the review on #14170.

Automated review (maintainer link)

@imdreamrunner

Copy link
Copy Markdown
Contributor Author

/approve-spec d84c218

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request is reviewed as part of its stack; see the review on #14170.

Automated review (maintainer link)

@imdreamrunner
imdreamrunner force-pushed the spec/powersearch-sheet-incremental-search branch from d84c218 to 7ff6d4d Compare December 2, 2026 05:31
@imdreamrunner

Copy link
Copy Markdown
Contributor Author

/approve-spec 7ff6d4d

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request is reviewed as part of its stack; see the review on #14170.

Automated review (maintainer link)

@imdreamrunner
imdreamrunner force-pushed the spec/powersearch-sheet-incremental-search branch from 7ff6d4d to 9f7da51 Compare December 2, 2026 07:31
@imdreamrunner

Copy link
Copy Markdown
Contributor Author

/approve-spec 9f7da51

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request is reviewed as part of its stack; see the review on #14170.

Automated review (maintainer link)

@imdreamrunner

Copy link
Copy Markdown
Contributor Author

/approve-spec 9f7da51

@imdreamrunner
imdreamrunner force-pushed the spec/powersearch-sheet-incremental-search branch from 9f7da51 to 23e5f6b Compare December 2, 2026 19:57
@imdreamrunner

Copy link
Copy Markdown
Contributor Author

/approve-spec 23e5f6b

@github-actions github-actions Bot removed the needs:design-review Affects visuals — Design should review label Dec 2, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request is reviewed as part of its stack; see the review on #14170.

Automated review (maintainer link)

@imdreamrunner

Copy link
Copy Markdown
Contributor Author

/approve-spec 97838ff

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request is reviewed as part of its stack; see the review on #14170.

Automated review (maintainer link)

@imdreamrunner
imdreamrunner merged commit 35e92a8 into main Dec 2, 2026
82 checks passed
@github-actions
github-actions Bot deleted the spec/powersearch-sheet-incremental-search branch December 3, 2026 06:09

This branch was successfully deployed

1 active deployment
Preview — 97838ff2 Deployed Dec 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant