typebot.io/apps
マーティンズJR b72a37438f
🐛 Fix Pexels video picker infinite loading loop (#2479)
The Pexels picker could repeatedly fetch the same/empty pages when
changing filters such as Square and scrolling to the bottom. This
happened because the intersection observer kept firing while the last
item stayed visible, pagination did not track whether more results were
available, and duplicated videos could be appended.

This patch:
- uses Pexels 1-based pagination
- tracks whether more videos are available from total_results
- prevents concurrent observer fetches
- resets pagination on search/filter changes
- deduplicates videos by id

before:


https://github.com/user-attachments/assets/f5ca5675-b958-41a7-a4b8-fc92a5576a89


after:


https://github.com/user-attachments/assets/590fc103-9dc9-4a85-b95e-3d1d9f9eefb6

---------

Co-authored-by: Baptiste Arnaud <baptiste@typebot.io>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 08:23:51 +02:00
..
builder 🐛 Fix Pexels video picker infinite loading loop (#2479) 2026-05-21 08:23:51 +02:00
docs Revert Google Sheets picker fixes (#2486, #2487) (#2488) 2026-05-12 17:12:31 +02:00
landing-page 🔒️ Upgrade vulnerable deps (ai v5, nodemailer v8, otel sdk-node 0.217) (#2491) 2026-05-19 16:30:36 +02:00
viewer 🔧 Hash API tokens (#2492) 2026-05-19 18:17:11 +02:00
workflows ♻️ Remove shared-primitives package 2026-03-25 10:43:35 +01:00