From 4cb0730875733a7c1cad5fbf258df23903629cb3 Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Tue, 11 Aug 2026 19:19:38 -0700 Subject: [PATCH] feat: point the feedback email footer at the Dev Center MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The footer told developers to turn feedback off via a puter.apps.update one-liner, but the toggle lives in the Dev Center app settings — and Dev Center is where apps get feedback enabled by default in the first place. Reword it to 'manage it in the Dev Center' with a link built from config.origin (like app_link) so it holds on self-hosted deployments. --- src/backend/clients/email/templates.ts | 6 +++--- src/backend/services/feedback/AppFeedbackService.ts | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/backend/clients/email/templates.ts b/src/backend/clients/email/templates.ts index fc135d391..861517662 100644 --- a/src/backend/clients/email/templates.ts +++ b/src/backend/clients/email/templates.ts @@ -88,9 +88,9 @@ The Puter Team
{{{nl2br message}}}
{{#if sender_email}}

Just reply to this email to respond to them directly.

{{/if}}

-You're receiving this because user feedback is enabled for your app. To stop -receiving these emails, turn off feedback for the app (e.g. -puter.apps.update({ name: '{{app_name}}', feedbackEnabled: false })). +You're receiving this because feedback is enabled for +{{app_title}} — manage it in the +Dev Center under your app's settings.

Best,
The Puter Team diff --git a/src/backend/services/feedback/AppFeedbackService.ts b/src/backend/services/feedback/AppFeedbackService.ts index 0bd179a14..df3249c69 100644 --- a/src/backend/services/feedback/AppFeedbackService.ts +++ b/src/backend/services/feedback/AppFeedbackService.ts @@ -343,6 +343,10 @@ export class AppFeedbackService extends PuterService { ), app_name: String(app.name), app_link: `${this.config.origin}/app/${encodeURIComponent(String(app.name))}`, + // The footer's "manage it" pointer — built from + // config.origin like app_link so it holds on self-hosted + // deployments. + dev_center_link: `${this.config.origin}/app/dev-center`, message, }, senderEmail ? { replyTo: senderEmail } : {},