From 3356525028160482ee062ff3d3fa161b421d4c78 Mon Sep 17 00:00:00 2001 From: Prashant Sridharan <914007+CoolAssPuppy@users.noreply.github.com> Date: Mon, 18 May 2026 21:45:07 +0100 Subject: [PATCH] Fix event linking behavior (#46083) ## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? 1. Removed the upcoming Figma webinar and postponed it until later 2. Fixed the event linking behavior for MDX events on the page. MDX events should link to the MDX page, not the CTA. ## Summary by CodeRabbit * **Updates** * Event links now intelligently route based on event configuration: external event URLs open in new tabs when available, while default events navigate to internal event detail pages within the application * This provides event organizers with flexible options for directing attendees to external event platforms or internal event information pages * Event entries updated to support new link routing functionality [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46083?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) --- ...026-05-26-fully-operational-figma-make.mdx | 43 ------------------- apps/www/components/Events/new/EventList.tsx | 6 +-- apps/www/lib/events.ts | 4 +- 3 files changed, 5 insertions(+), 48 deletions(-) delete mode 100644 apps/www/_events/2026-05-26-fully-operational-figma-make.mdx diff --git a/apps/www/_events/2026-05-26-fully-operational-figma-make.mdx b/apps/www/_events/2026-05-26-fully-operational-figma-make.mdx deleted file mode 100644 index bf1b2a5234f..00000000000 --- a/apps/www/_events/2026-05-26-fully-operational-figma-make.mdx +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: 'Fully Operational: Building Production-Ready Apps with Figma Make + Supabase' -meta_title: 'Fully Operational: Building Production-Ready Apps with Figma Make + Supabase' -subtitle: >- - Pair Figma Make with Supabase to go from AI prototype to production-ready - application -meta_description: >- - See how to pair Figma Make with Supabase to turn AI prototypes into production - apps with authentication, persistent data, and row-level security. -type: webinar -onDemand: false -date: '2026-05-26T14:00:00.000-07:00' -timezone: America/Los_Angeles -duration: 45 mins -categories: - - webinar -main_cta: - url: '#' - target: _blank - label: Register now - disabled: true - disabled_label: Registration opens soon -speakers: 'gerardo_estaba,samantha_lee' -hosts: - - name: Supabase - avatar_url: 'https://github.com/supabase.png' -description: >- - See how to take AI prototypes from demo to production with Figma Make and - Supabase. ---- - -AI prototypes get you from zero to demo fast. But what happens when you want real users? Most AI-generated apps hit a wall the moment you need authentication, persistent data, or row-level security. - -In this 45-minute session, Gerardo Estaba, Solutions Architect at Supabase, and Samantha Lee, Designer Advocate at Figma, walk through what it takes to go from a working prototype to a production-ready application. You'll see how to pair Figma Make, Figma's native AI tool for turning ideas into working prototypes, with Supabase's backend to build apps that are secure, scalable, and ready for real user feedback. - -### What you'll learn - -- Where database-backed AI prototypes bring value -- How to add authentication and row-level security without rewriting your app -- How Figma Make and Supabase work together end to end -- A live build from design to deployed, with a production-grade app - -Join us live to participate in the Q&A afterwards. Can't make it to the event? We'll send you a link to the recording. diff --git a/apps/www/components/Events/new/EventList.tsx b/apps/www/components/Events/new/EventList.tsx index 2bfd6dcea53..f850bb50bbd 100644 --- a/apps/www/components/Events/new/EventList.tsx +++ b/apps/www/components/Events/new/EventList.tsx @@ -73,9 +73,9 @@ export function EventList() { {event.url && ( diff --git a/apps/www/lib/events.ts b/apps/www/lib/events.ts index 107e701903d..6114c73b223 100644 --- a/apps/www/lib/events.ts +++ b/apps/www/lib/events.ts @@ -239,8 +239,8 @@ export const getMdxEvents = (): SupabaseEvent[] => { const isExternalCta = /^https?:\/\//i.test(rawCtaUrl) const safeExternalCta = isExternalCta && isSafeHttpUrl(rawCtaUrl) ? rawCtaUrl : '' const internalPath = `/events/${slug}` - const href = safeExternalCta || internalPath - const target = safeExternalCta ? '_blank' : '_self' + const href = data.disable_page_build ? safeExternalCta || internalPath : internalPath + const target = data.disable_page_build && safeExternalCta ? '_blank' : '_self' return { slug,