Skip to content

feat(Search): add BBBSearch component#39

Open
AtilaU19 wants to merge 1 commit into
bigbluebutton:developfrom
AtilaU19:task-35
Open

feat(Search): add BBBSearch component#39
AtilaU19 wants to merge 1 commit into
bigbluebutton:developfrom
AtilaU19:task-35

Conversation

@AtilaU19

Copy link
Copy Markdown

What does this PR do?

Implements the BBBSearch component.

Features:

  • Built-in debounce (configurable, defaults to 500ms)
  • Clear button that bypasses debounce for immediate feedback
  • Loading spinner via isLoading prop (mutually exclusive with clear button)
  • Supports both uncontrolled (default) and controlled modes
  • Uses type="search" for improved browser and accessibility semantics
  • Accessible: aria-label, role="searchbox", keyboard-friendly clear button
  • Styled with library design tokens (palette, sizing, typography)

Notes
BBBSearch is intentionally kept free of any GraphQL/Apollo dependency. Loading state is passed in via isLoading, allowing the caller to derive it from a subscription, a query, or any other async source. This keeps the component reusable outside the BBB core.

Closes Issue(s)

Closes #35

@AtilaU19 AtilaU19 changed the base branch from main to develop June 10, 2026 15:19
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.

Add BBBSearch component — follow-up to BBBInput

1 participant