From 85ad66f1036e5ec17c3c85fcfb76e1a698078e88 Mon Sep 17 00:00:00 2001 From: louispaulb Date: Fri, 22 May 2026 10:58:33 -0400 Subject: [PATCH] feat(campaigns): one-click Giftbit admin lookup per recipient MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Manual workaround for redemption status until /gifts/{uuid} polling ships (task #25). The trailing path segment of the Giftbit shortlink is the lookup key for Giftbit's admin search: http://gft.link/4kpZMApLK4B → https://app.giftbit.com/app/rewards?search=4kpZMApLK4B Surfaced in three places: - Inventory page row: 🔗 button next to the copy-URL action - Campaign detail page recipient table: same button next to the Giftbit shortlink - CSV report: new giftbit_admin_url column for bulk audits in Excel (one click per row, no manual concat) Defensive: only renders if the trailing segment is ≥4 chars (avoids producing useless searches on malformed/test URLs). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.7 --- .../campaigns/pages/CampaignDetailPage.vue | 15 ++++++++++++++ .../campaigns/pages/GiftsInventoryPage.vue | 20 +++++++++++++++++++ services/targo-hub/lib/campaigns.js | 15 ++++++++++++-- 3 files changed, 48 insertions(+), 2 deletions(-) diff --git a/apps/ops/src/modules/campaigns/pages/CampaignDetailPage.vue b/apps/ops/src/modules/campaigns/pages/CampaignDetailPage.vue index c49ee03..4c25453 100644 --- a/apps/ops/src/modules/campaigns/pages/CampaignDetailPage.vue +++ b/apps/ops/src/modules/campaigns/pages/CampaignDetailPage.vue @@ -96,6 +96,11 @@ {{ shortLink(props.row.gift_url) }} + + Voir sur Giftbit admin (vérifier statut de redemption) +