Skip to content

Comments

feat: add ais.infiniteHits widget support#29

Open
sarahdayan wants to merge 3 commits intomainfrom
feat/infinite-hits-widget
Open

feat: add ais.infiniteHits widget support#29
sarahdayan wants to merge 3 commits intomainfrom
feat/infinite-hits-widget

Conversation

@sarahdayan
Copy link
Member

@sarahdayan sarahdayan commented Feb 22, 2026

Summary

  • Register infiniteHits in the runtime with passthrough transformParams (bucket 1 only: escapeHTML, showPrevious)
  • Add InfiniteHitsWidget to the ExperienceWidget type union
  • Enable ais.infiniteHits in the toolbar with description, field overrides (boolean switches + cssClasses object with disabledValue: undefined), labels, and descriptions
  • Add field behavior tests (infinite-hits.test.tsx), AI tool tests for discovery, add, and edit (boolean + cssClasses)
  • Update toolbar tests for enabled widget popover

Note

Partial prop support, only serializable props handled for now.

Note

This widget is index-dependent, meaning it will render differently (nested) when the index PRs are merged.

Capture d’écran 2026-02-22 à 11 15 37

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for algolia-experiences-js ready!

Name Link
🔨 Latest commit 8f3ea27
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-js/deploys/699ad76df8b04f0008fde600
😎 Deploy Preview https://deploy-preview-29--algolia-experiences-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for algolia-experiences-react ready!

Name Link
🔨 Latest commit 8f3ea27
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-react/deploys/699ad76d59f899000829febf
😎 Deploy Preview https://deploy-preview-29--algolia-experiences-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

sarahdayan and others added 2 commits February 22, 2026 10:53
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Change cssClasses from false to undefined with disabledValue: undefined
- Add field behavior tests (infinite-hits.test.tsx)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sarahdayan sarahdayan force-pushed the feat/infinite-hits-widget branch from 5d75cf3 to 1c80dbc Compare February 22, 2026 09:56
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant