From 27e84b3c93c9c1797436ea7aa2840f94584df4ee Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Mon, 2 Nov 2026 23:33:57 +0100 Subject: [PATCH] fix: show the app name and plugin name in a marketplace plugin's permissions --- .../admin/_pages/marketplace-detail.tsx | 2 +- app/api/admin/marketplace/[slug]/route.ts | 6 +++++- .../marketplace/__tests__/preview.test.ts | 21 +++++++++++++++++-- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/app/(main)/admin/_pages/marketplace-detail.tsx b/app/(main)/admin/_pages/marketplace-detail.tsx index db20ab2d1..9f528b80f 100644 --- a/app/(main)/admin/_pages/marketplace-detail.tsx +++ b/app/(main)/admin/_pages/marketplace-detail.tsx @@ -693,7 +693,7 @@ export function MarketplaceDetailPage({ slug }: { slug: string }) { title="Permissions" description={manifestPerms.length === 0 ? 'This plugin requests no permissions.' - : `What ${preview ? `v${preview.version}` : 'the plugin'} may do in each user's mailbox.`} + : `What ${ext.name}${preview ? ` ${preview.version}` : ''} may do in each user's mailbox.`} > {manifestPerms.length > 0 && (