Repository navigation
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| Security | 4 critical 2 high |
🟢 Metrics 78 complexity
Metric Results Complexity 78
TIP This summary will be updated as you push new changes.
More templates
algoliasearch-helper
instantsearch-ui-components
instantsearch.css
instantsearch.js
react-instantsearch
react-instantsearch-core
react-instantsearch-nextjs
react-instantsearch-router-nextjs
vue-instantsearch
commit: |
|
Size Change: 0 B Total Size: 1.04 MB ℹ️ View Unchanged
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds cross-flavor common tests for the
compareconnector /useCompareand thecompareBarwidget, for InstantSearch.js and React InstantSearch. Vue has no compare flavor, so both suites are registered there as skipped, the same wayPromptSuggestionsandFilterSuggestionsare.tests/common/widgets/compare-bar/: theCompareBar widget common testssuite. The setup mounts the bar, a siblingcompareconsumer that renders a toggle button per product, and achaton the same index.tests/common/connectors/compare/: theCompare connector common testssuite, driven through a custom render that exposes the render state.Result
name,title,objectID); count text; compare button disabled belowminItemswith the hint; limit hint atmaxItems; custom translations; clicking Compare opens the chat and sends the__ALGOLIA_COMPARISON_<id>__placeholder withselected_products/comparison_configuration_idturn context and thex-algolia-referer: compareheader; disabled button and missing chat send nothing.minItems/maxItemsvalidation errors, add/remove/toggle/clear, duplicate and over-limit no-ops,canAddItems/canCompare, andcompare()belowminItems, without aconfigurationIdand without a chat.yarn jest common-widgets common-connectors,yarn lint:changedandyarn type-checkpass.🤖 Generated with Claude Code