#361 — Fix pagination approach in static widgets

Repo: Twill-AI/facade State: closed | Status: done Assignee: meliascosta, sparsh-twillpayments

Created: 2025-06-04 · Updated: 2025-06-17

Description

Originated from: https://twill-network.slack.com/archives/C078KS0R05B/p1749000435171929

See new “idColumn” addition in: https://twillpayments.atlassian.net/wiki/spaces/TD/pages/319946763/Flexible+widgets#JSON-META-SCHEMA-for-filters

AC:

  • “pagination.idColumn” field is provided for all widgets by /widgets/static API.

Based on discussion here: https://twill-network.slack.com/archives/C078KS0R05B/p1749552860523969 the new requirement is as follows:

  • Remove the afterId and beforeId logic in the schema
  • Introduce a page in the pagination section of the schema
  • Use the page to offset data in the schema.

Notes

Add implementation notes, blockers, and context here

Add wikilinks to related people, meetings, or other tickets