Skip to content

Add pagination to webhook deliveries table#2520

Draft
everettbu wants to merge 2 commits into
masterfrom
dnywh/chore/add-pagination-to-webhook-table
Draft

Add pagination to webhook deliveries table#2520
everettbu wants to merge 2 commits into
masterfrom
dnywh/chore/add-pagination-to-webhook-table

Conversation

@everettbu

@everettbu everettbu commented Mar 17, 2026

Copy link
Copy Markdown

Mirror of supabase/supabase#43847
Original author: dnywh


What kind of change does this PR introduce?

Feature

What is the current behavior?

The webhook endpoint details view shows all mock deliveries in a single table without pagination or sortable columns, which makes it a poor fit for the Data Table direction this surface will need once real server-backed pagination and filtering land.

What is the new behavior?

Moves the deliveries table onto TanStack table state, adds sortable column headers, keeps the existing delivery search, and preserves simple previous/next pagination controls at the bottom. The mock deliveries are also expanded so pagination and sorting can be exercised in both organization and project flows.

Additional context

This keeps the view on the Data Table path now, so swapping client-side pagination for manual/server pagination later is a smaller follow-up instead of another structural rewrite.

Verification:

  • pnpm --filter studio exec vitest run components/interfaces/Platform/Webhooks/PlatformWebhooksEndpointDetails.test.tsx --coverage.enabled=false
  • pnpm typecheck

@github-actions

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results

passed  157 passed
skipped  5 skipped

Details

stats  162 tests across 20 suites
duration  2 minutes, 21 seconds
commit  1681c2c

Skipped tests

Features › assistant.spec.ts › AI Assistant › Can send a message to the assistant and receive a response
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants