Skip to content

Conversation

@JonasJesus42
Copy link
Contributor

@JonasJesus42 JonasJesus42 commented Dec 18, 2025

What is this contribution about?

Describe your changes and why they're needed.

Screenshots/Demonstration

Add screenshots or a Loom video if your changes affect the UI.

Review Checklist

  • PR title is clear and descriptive
  • Changes are tested and working
  • Documentation is updated (if needed)
  • No breaking changes

Summary by cubic

Add server-side search to Store Discovery via MCP with debounced input, replacing client-side filtering. Searches the full registry and shows a clear “Searching...” state while typing.

  • New Features

    • Server-side search using a standard where expression on name, title, and description.
    • Debounced input with a “Searching...” indicator.
    • Query caching keyed by the debounced term.
    • Infinite scroll disabled during search; enabled otherwise.
  • Refactors

    • Removed client-side filtering; results now come directly from MCP.
    • Exported buildWhereExpression for reuse.
    • Improved empty states for “no items” vs “no search results.”

Written for commit 292b84e. Summary will update automatically on new commits.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 4 files

@JonasJesus42 JonasJesus42 changed the title Feature/store search via mcp [block saas] Feature/store search via mcp Dec 18, 2025
saas Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

What is it for??

@JonasJesus42 JonasJesus42 force-pushed the feature/store-search-via-mcp branch from e524f22 to 7595162 Compare December 18, 2025 19:26
- Use React 19 useDeferredValue for clean debouncing
- Pass where expression with standard binding schema to registry
- Export buildWhereExpression from use-collections.ts for reuse
- Search now works on full registry instead of only loaded items
@JonasJesus42 JonasJesus42 force-pushed the feature/store-search-via-mcp branch from 7595162 to 292b84e Compare December 18, 2025 19:27
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.

3 participants