Skip to content

fix: [combobox] filter items by inputValue and defaultInputValue - #967

Merged
Shreyag02 merged 3 commits into
mainfrom
fix/combobox-input-value
Oct 19, 2026
Merged

Shreyag02 merged 3 commits into
mainfrom
fix/combobox-input-value

Conversation

@Shreyag02

@Shreyag02 Shreyag02 commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
apsara Ready Ready Preview Oct 19, 2026 5:12am UTC

@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f79fc814-c403-40fc-9669-7ad5f6655937
📥 Commits

Reviewing files that changed from the base of the PR and between c39712f and a795a59.

📒 Files selected for processing: 17
  • packages/react/components/code-block/__tests__/code-block.test.tsx
  • packages/react/components/code-block/code-block-language-select.tsx
  • packages/react/components/code-block/code-block-root.tsx
  • packages/react/components/color-picker/__tests__/color-picker.test.tsx
  • packages/react/components/color-picker/color-picker-root.tsx
  • packages/react/components/combobox/__tests__/combobox.test.tsx
  • packages/react/components/combobox/combobox-root.tsx
  • packages/react/components/command/command-root.tsx
  • packages/react/components/context-menu/__tests__/context-menu.test.tsx
  • packages/react/components/context-menu/context-menu-root.tsx
  • packages/react/components/data-view/data-view.tsx
  • packages/react/components/menu/__tests__/menu.test.tsx
  • packages/react/components/menu/menu-root.tsx
  • packages/react/components/select/__tests__/select.test.tsx
  • packages/react/components/select/select-root.tsx
  • packages/react/components/sidebar/sidebar-group.tsx
  • packages/react/components/sidebar/sidebar-root.tsx

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

React components now use useControlled to manage controlled and default values across input, selection, menu, sidebar, and view state. Code block collapsed state now defaults to true. Added tests cover controlled updates, default values, callbacks, filtering, and rendered state.

Suggested reviewers: rohanchkrabrty

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to a795a

Controlled and default Combobox input values now drive filtering. No actionable issue remains before merge.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 17 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly identifies the primary change: Combobox filtering now uses inputValue and defaultInputValue.
Description check Passed The description directly explains the Combobox filtering tests and the useControlled-based source fix.
  • Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 1
⚔️ Resolve merge conflicts: 💡
  • Resolve merge conflict in branch fix/combobox-input-value
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Shreyag02
Shreyag02 added this pull request to stack #969 October 11, 2026 19:44
@pkg-pr-new

pkg-pr-new Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/@raystack/apsara@967

commit: 2e9630b

@Shreyag02 Shreyag02 self-assigned this Oct 11, 2026
@Shreyag02
Shreyag02 removed this pull request from stack #969 October 11, 2026 19:46
@Shreyag02
Shreyag02 added this pull request to stack #970 October 11, 2026 19:48
Base automatically changed from refactor/use-controlled to main October 19, 2026 04:31
# Conflicts:
#	packages/react/components/color-picker/color-picker-root.tsx
#	packages/react/components/combobox/combobox-root.tsx
#	packages/react/components/command/command-root.tsx
#	packages/react/components/select/select-root.tsx
@Shreyag02
Shreyag02 merged commit c12ac2f into main Oct 19, 2026
9 checks passed
@Shreyag02
Shreyag02 deleted the fix/combobox-input-value branch October 19, 2026 05:13

This branch was successfully deployed

1 active deployment
Preview — 2e9630b5 Deployed Oct 19, 2026 by vercel[bot]
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.

2 participants