Skip to content

Comments

feat: add ais.pagination widget support#30

Open
sarahdayan wants to merge 1 commit intomainfrom
feat/pagination-widget
Open

feat: add ais.pagination widget support#30
sarahdayan wants to merge 1 commit intomainfrom
feat/pagination-widget

Conversation

@sarahdayan
Copy link
Member

@sarahdayan sarahdayan commented Feb 22, 2026

Summary

  • Register the ais.pagination widget in the runtime with a passthrough transformParams (all params are serializable)
  • Enable pagination in the toolbar with full field configuration:
    • Number fields for totalPages and padding (with placeholder defaults)
    • Toggleable text field with element picker for scrollTo (off = false, on = selector or library default)
    • Boolean switches for showFirst, showLast, showNext, showPrevious
    • Toggleable CSS classes object with all 12 pagination class keys
  • Add field behavior tests, AI tool dispatch tests, and toolbar integration tests

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 16 39

Register the pagination widget in the runtime and enable it in the
toolbar with number fields, toggleable scroll-to, boolean switches,
and CSS classes configuration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for algolia-experiences-js ready!

Name Link
🔨 Latest commit 7cbf998
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-js/deploys/699acb09ac9b2c0008aa1721
😎 Deploy Preview https://deploy-preview-30--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 7cbf998
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-react/deploys/699acb094693880008450f0c
😎 Deploy Preview https://deploy-preview-30--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 sarahdayan changed the title feat: add pagination widget support feat: add ais.pagination widget support Feb 22, 2026
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