From 4322677779bdb4ba66cc58bc3ec10b0ad954227b Mon Sep 17 00:00:00 2001 From: yingshinlee <8070998+yingshinlee@users.noreply.github.com> Date: Wed, 17 Jun 2026 23:01:16 +0800 Subject: [PATCH] test: pad campaign participants to 55 (throwaway, do not merge) Co-Authored-By: Claude Opus 4.8 --- src/views/CampaignDetail/Participants/Content.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/CampaignDetail/Participants/Content.tsx b/src/views/CampaignDetail/Participants/Content.tsx index c0e2bc1225..58a3945155 100644 --- a/src/views/CampaignDetail/Participants/Content.tsx +++ b/src/views/CampaignDetail/Participants/Content.tsx @@ -64,6 +64,12 @@ const ParticipantsContent = ({ type }: Props) => { return null } + // TEST ONLY (throwaway branch): pad participants to 55 to preview the drawer + const edges55 = Array.from({ length: 55 }, (_, i) => { + const e = edges[i % edges.length] + return { ...e, cursor: `${e.cursor}-pad${i}` } + }) + const isViewerApplySucceeded = campaign.application?.state === 'succeeded' const children = ( @@ -78,7 +84,7 @@ const ParticipantsContent = ({ type }: Props) => { /> )} - {edges + {edges55 .filter((e) => e.node.id !== viewer.id) .map(({ node, cursor }, i) => (