Skip to content

refactor(search): tighten debounce and pagination contracts - #4270

Open
ansmonjol wants to merge 2 commits into
mainfrom
fix/slop-06
Open

ansmonjol wants to merge 2 commits into
mainfrom
fix/slop-06

Conversation

@ansmonjol

@ansmonjol ansmonjol commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Check selected-value membership directly when combobox options change, avoiding a full deletion diff while preserving free-form values.

Require a string handler from the search hook and express its minimum spinner duration in milliseconds. Share pagination cache-key construction across the two named policies to remove duplication while retaining their existing append and replace behavior.

Exercise list search entry and clearing to ensure each page resets to page 1 before forwarding the input.

@ansmonjol
ansmonjol marked this pull request as ready for review September 7, 2026 13:21
@sonarqubecloud

sonarqubecloud Bot commented Sep 7, 2026

Copy link
Copy Markdown

@lago-claude-ai-agent

Copy link
Copy Markdown
Contributor

Automated pre-review (advisory, not a required check) — verdict: PASS · CI green

PASS — The tightened debounce contract is consistent across callers, paginated searches reset before execution, and the ComboBox and Apollo helper refactors preserve their edge-case behavior. Coverage exercises normalization, cancellation/loading timing, removed and free-form options, cache policies, and list search/reset call sites; no blocking findings.

@ansmonjol ansmonjol self-assigned this Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant