Commit Graph
1414 Commits
Author SHA1 Message Date
Wen Bo XieandDanny White 28c2c2dd53 feat(www): add Launch Week 16 banner (#54511)
Add a dismissible bar above the www nav that promotes Launch Week 16
(December 7-11) and links to /launch-week. Hide the bar on /launch-week
pages. Hide it on /state-of-startups too because the fixed nav on that
page would cover it.

## Banner polish

Adds shared animated dot artwork, a link CTA, and responsive spacing and
alignment. Reduced-motion preferences keep the dots static. Studio uses
this artwork in the dependent #54512.

| After |
| --- |
| <img width="500" height="584" alt="31035"
src="https://github.com/user-attachments/assets/7ebad641-158e-47ea-a8be-3097ecc5c0ae"
/> |
| <img width="500" height="584" alt="18287"
src="https://github.com/user-attachments/assets/02c87481-1dbe-4576-afc0-bdc9f22fc893"
/> |
| <img width="995" height="584" alt="89244"
src="https://github.com/user-attachments/assets/aad4b608-71f1-484f-bbf4-54c725800f52"
/> |
| <img width="995" height="584" alt="99848"
src="https://github.com/user-attachments/assets/a8b50942-1ecd-4c63-91b3-a6b4847d8830"
/> |

## Review instructions

1. Open the www homepage on the preview in light and dark mode. Check
the centred desktop message, link hover, and close button.
2. At a phone width, check the left-aligned copy and artwork on the
right. Open the mobile menu and close it; the banner should return.
3. Dismiss the banner and reload. It should stay dismissed.

Validation: scoped ESLint, formatting, and ui-patterns typecheck pass.

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2026-12-03 10:48:20 +07:00
anthony lio b610d677c5 feat(www): lw16 launch week rewrite (#54315)
## Problem

- supabase.com/launch-week shows the lw15 page, and the lw16 card app
runs as a separate vercel app
- a forward rule for all of `/launch-week/*` also covers the www pages
of past launch weeks, and www does not add its security headers to
forwarded paths

## Solution

- moves the lw15 page to `/launch-week/15`
- adds rewrites that forward `/launch-week` and its other paths to the
lw16 card app at `launch-week-16.vercel.app/launch-week/`
- changes the root rule to target `/launch-week/` directly because www
removes the trailing slash and the app adds it, a loop otherwise
- keeps `/launch-week/7`, `/8`, `/15`, `/ticket` and `/tickets/*` on www
with the www security headers
- adds the launch week paths to the security header tests
- adds `/launch-week` to the paths that the redirect checks leave to
other apps

## Preview links

| Site | Live | Preview | Search for |
| ---- | ---- | ------- | ---------- |
| WWW | [/launch-week](https://supabase.com/launch-week) |
[/launch-week](https://zone-www-dot-com-git-antlio-lw16-launch-week-rewrite-supabase.vercel.app/launch-week)
| Claim your card |
| WWW | [/launch-week/15](https://supabase.com/launch-week/15) |
[/launch-week/15](https://zone-www-dot-com-git-antlio-lw16-launch-week-rewrite-supabase.vercel.app/launch-week/15)
| Launch Week 15 |

## Review instructions

1. run `pnpm --filter www exec vitest run lib/security-headers.test.ts`
and make sure that all tests pass
2. open the preview
[/launch-week](https://zone-www-dot-com-git-antlio-lw16-launch-week-rewrite-supabase.vercel.app/launch-week)
and make sure that the lw16 card page loads with no redirect loop
3. open the preview
[/launch-week/](https://zone-www-dot-com-git-antlio-lw16-launch-week-rewrite-supabase.vercel.app/launch-week/)
and make sure that www redirects it to `/launch-week` once

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-12-01 14:45:55 -06:00
Charis fd01db4691 feat(www): send pageview and global crash metrics on preview (#54425)
## Problem

Studio sends pageview and global crash counters to the frontend metrics
endpoint on non-production deployments (#54331), and docs is getting the
same in #54424. The marketing site sends neither.

## Solution

Port the same implementation to `apps/www`:

- **Gate**: the existing `IS_PREVIEW` constant (`NEXT_PUBLIC_VERCEL_ENV
=== 'preview'`). Nothing is sent in production or local dev.
- **Sender**: `lib/frontend-metrics.ts`, the same fire-and-forget
`text/plain` POST as Studio, tagged `app: 'www'`.
- **Pageview**: `usePageviewMetric` sends one count on hydration and on
each pathname change, and skips while the pathname is not yet available.
It is mounted once per router: through a small client component in
`app/layout.tsx`, and directly in `pages/_app.tsx`. A page is served by
only one router, so it is never mounted twice.
- **Crash**: `app/global-error.tsx` sends one `global_crash` per error
object. `pages/_error.tsx` sends one when the status code is unset or
5xx, so 404s and other 4xx responses are not counted.

No CSP change is needed because www does not set a
Content-Security-Policy. No turbo change is needed because the www build
env already passes `NEXT_PUBLIC_*`.

## Additional context

`app/global-error.tsx`, `pages/_error.tsx`, and
`lib/frontend-metrics.ts` use relative imports because the
`sentry-browser` vitest project, which renders the two error files, has
no path-alias resolution.

## Review instructions

1. Open the www preview deployment for this PR with the network tab
open.
2. Load an app-router page and a pages-router page. Confirm each sends
one POST to the metrics endpoint with `metric_name: "pageview"` and
`app: "www"`.
3. Navigate client-side and confirm one more POST per pathname change.
4. In `apps/www`, run `pnpm exec vitest run lib/frontend-metrics.test.ts
hooks/usePageviewMetric.test.tsx` and `pnpm exec vitest run --project
sentry-browser`.
2026-12-01 12:15:58 -05:00
Terry SuttonandClaude Sonnet 5.5 a934f2b8f5 feat(www): show paused notice on SupaSquad page instead of apply CTA (#53976)
Replaces the "Apply to Join SupaSquad" button on
/open-source/contributing/supasquad with an "Applications are currently
paused" callout linking to Discord, upcoming events, and GitHub.

- `CtaSection` gains an optional `notice` prop; buttons are now
optional.
- To reopen applications, remove `notice` and restore `primaryCta` in
`data/open-source/contributing/supasquad.tsx`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 13:23:05 -03:30
AnaandAna a2e41ea71b feat(www): add .NET client library to features page (#51919)
## 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?

- Adds a `Client Library - .NET` entry to `apps/www/data/features.tsx`,
next to the JavaScript, Flutter, Swift, and Python entries
- Adds a `CsharpIcon` to `apps/www/components/svg-icons.tsx`, reusing
the C# icon from the docs navigation

## What is the current behavior?

The features page has no entry for the .NET SDK, and
`/features/client-library-dotnet` returns 404.

## What is the new behavior?

- `/features/client-library-dotnet` describes the officially supported
.NET SDK: key benefits, when to use it, and how to get started
- The entry is marked General Availability and available on self-hosted,
and links to the C# reference docs

## Additional context

N/A

Co-authored-by: Ana <ana1337x@users.noreply.github.com>
2026-11-29 18:48:28 +00:00
Pamela Chia 01c6966c9b chore(telemetry): add skill rules and rename three events (#54188)
The telemetry skill had no rules for mistakes I keep flagging in
telemetry PR reviews, two of its sections repeated the rest of the file,
and its approved verb list held verbs that no event uses or that another
verb already covers. I added the rules, collapsed the repetition, cut
four verbs, and renamed the three events whose verb is outside the list.

**Changed:**
- **New tracking rules**: I added rules for dismiss and abandonment
events (a property must be able to differ at the call site), values
captured at submit time, `track()` on conditionally rendered elements,
debounced sends, events sent just before leaving the page, experiment
exposure, and org-level events. I also added a rule for actions that
change nothing: a bulk or menu action that changed nothing sends no
result event, and a count property reports only the items that changed.
The verify step now checks that case too.
- **Shorter skill**: I changed "Review Rules" and "Implementing New
Tracking" to link to the section that states each rule. I removed the
verification checklist because each item duplicated a rule stated above
it.
- **Approved verbs**: I removed `intended` and `converted` (no event
uses them) and `sent` and `moved` (one event each, both covered by
another verb), and defined `created` against `added`. The skill now says
the list is the authority. It used to say the list was derived from
`telemetry-constants.ts`, which still holds older events with other
verbs. I also stated when each verb fires: `clicked` and `submitted` in
the handler, the rest once the result has happened. I updated the verb
list in `.coderabbit.yaml` to match.
- **Event renames**: `www_subprocessor_updates_subscribed` is now
`www_subprocessor_updates_form_completed` (still sent after the
successful response, so it keeps counting completed subscriptions),
`realtime_inspector_broadcast_sent` is now
`realtime_inspector_broadcast_submitted`, and `home_section_rows_moved`
is now `home_section_rows_updated`. Nothing else in this repo references
the old names.

**Note:** after each app deploys, the renamed event is a new series, so
a chart that spans the change needs both names.

## To test

Tested on the PR preview:
- [ ] On www, open `/legal/customer-resources/subprocessor-list`, submit
the updates form with a test email, expect one `telemetry/event` request
whose `action` is `www_subprocessor_updates_form_completed`, and no
event after a failed submit.
- [x] In Studio, open a project's Realtime Inspector, join a channel,
send a broadcast message, expect one `telemetry/event` request whose
`action` is `realtime_inspector_broadcast_submitted`. Observed: one
request with that action and a 201 response, and no event after
canceling the modal.
- [x] In Studio, on the project home page, drag a section to a new
position, expect one `telemetry/event` request whose `action` is
`home_section_rows_updated` with `section_moved`, `old_position` and
`new_position`. Observed: one request per drag, with `section_moved:
"usage"`, `old_position: 1`, `new_position: 2`.

I checked the staging analytics project: both new Studio event names
showed up with matching counts, and neither old name did.

## Linear
- fixes GROWTH-1584
2026-11-27 17:43:25 +08:00
Alaister YoungandAlaister Young d6e4089b1a feat(common): add FrameworkProvider and remove next imports (#53905)
Introduces a lightweight `FrameworkProvider` React context in
`packages/common` (`Link`, `Image`, `pathname`, `asPath`, `isReady`,
`params`, `push`), wires it up in the consuming apps, and removes the
`next` dependency from `packages/common`.

**Added:**

- `FrameworkProvider`, `useFramework`, `FrameworkLink`, and
`FrameworkImage` in `packages/common/framework.tsx`, with plain HTML
defaults (`DefaultFrameworkLink` / `DefaultFrameworkImage`).
`useFramework().push` always exists and falls back to
`window.location.assign`
- App-level framework providers wiring `next/link`, `next/image`, and
router state in `www` (App + Pages routers), `docs`, `design-system`,
`learn`, and `ui-library`, and native TanStack Router bindings in
`studio` (`StudioFrameworkProvider`)
- `StudioFrameworkProvider` reuses the common defaults (its image only
applies the basePath) and reports `isReady` once the first route load
commits, so the first page view carries the final route after any
redirect
- Unit tests for `StudioFrameworkProvider` (`useParams`,
`FrameworkLink`, `FrameworkImage`, query/hash-only navigation,
`isReady`) and for `PageTelemetry` route-change sends and the
`TelemetryTagManager` consent gate

**Changed:**

- `common/hooks/useParams.ts`: read params from `useFramework()` instead
of `next/compat/router`
- `common/telemetry.tsx`: replace `next/script` in `TelemetryTagManager`
with `useEffect` script injection, and read route state from
`useFramework()` in `PageTelemetry`
- `common/MetaFavicons/app-router.ts`: drop type-only `Metadata` import
from `next`
- Moved `MetaFaviconsPagesRouter` to
`apps/www/components/MetaFaviconsPagesRouter.tsx` (its sole consumer)
- Studio: `toRoutePattern` and `applyBasePath` now live once in
`lib/internal-url.ts`, shared by the provider and the `compat/next`
shims
- `PageTelemetry` throws outside production when no `FrameworkProvider`
is mounted, since it would otherwise send only the landing pageview.
`useFramework()` itself still falls back to the defaults
- `ui-library`: renamed its code-sample framework context to
`FrameworkPreferenceProvider` / `useFrameworkPreference` so
`FrameworkProvider` only means the `common` one

**Removed:**

- `learn`'s unused copy of that context (`useCourse` had no callers)

- `next` from `packages/common/package.json` peerDependencies

App Router adapters set `asPath` to the pathname only, same as the
`usePathname`-based telemetry on master (reading search params at the
root would opt static pages out of static rendering).

## To test

- Run `packages/common` tests and typecheck, and `apps/studio`
`StudioFrameworkProvider` / `route-render` / `telemetry` tests
- Navigate between routes in Studio, Docs, and WWW and confirm page
telemetry fires once per navigation (and does not duplicate on hash-only
changes)
- Load Studio at `/` (which redirects) and confirm the first page event
has the final route
- Verify URL params (`useParams`) continue resolving route and search
params in Studio

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-11-25 20:13:22 +08:00
anthony lio d885fc7458 feat(www): shared account menu (#53666)
## Problem

- www keeps its own copy of the account menu items separate from the
shared top nav menu in kb and docs
- www header buttons stay hidden until auth loads and the mobile menu
shows no account links during that time
- on app router page such as the home page sign out does not reload the
page

## Solution

- moves the www desktop account menu onto the shared top nav menu so www
docs and kb show the same account items
- fixes "Command Menu" shortcut label to follow the platform, so windows
and linux readers see "Ctrl K"
- changes the header and the mobile menu to read the signed-in mark
while auth loads
- moves the mobile menu account links onto the shared mobile actions, so
www, docs and kb use one component
- changes the desktop "Sign in" links to open the sign-in page, so
desktop and mobile open the same page
- fixes sign out on app router pages so the page reloads after sign out
on every page

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions


1. visit
[homepage](https://zone-www-dot-com-git-antlio-fix-www-shared-account-menu-supabase.vercel.app/)
2. open the browser console, and run this snippet, which stores a fake
dashboard session with no real token:
   ```js
const user = { id: 'test', aud: 'authenticated', email:
'you@example.com', user_metadata: { avatar_url:
'https://github.com/supabase.png' } }
   const key = 'supabase.dashboard.auth.token'
localStorage.setItem(key, JSON.stringify({ access_token: 'a.b.c',
refresh_token: 'r', token_type: 'bearer', expires_in: 3600, expires_at:
Math.floor(Date.now() / 1000) + 3600, user }))
   localStorage.setItem(`${key}-user`, JSON.stringify({ user }))```
3. reload the page

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-24 16:08:54 +02:00
anthony lio 1a37362821 chore(billing): plan selection styling (#53841)
## Problem

- plan cards on the studio upgrade screen do not match recent plan cards
updates to the pricing page
- add-on illustrations on the pricing page sometimes show the light
image in dark mode
- spend cap bars on the pricing page flash when a user toggles the spend
cap


## Solution

- changes the upgrade screen plan cards to the pricing page design +
shows enterprise as a fourth column
- moves the lifted card style to the current plan of the organization +
gives it a neutral "current plan" badge
- moves the compare plans and pricing faq links below the plan cards +
removes the stagger animation on the cards
- changes the pricing page illustrations to pick the light or dark image
with css because the server render does not know the theme
- changes the spend cap animation to resize the bars instead of
remounting them
2026-11-24 18:04:01 +08:00
Alaister YoungandAlaister Young fcbdda8107 chore: migrate formatter from Prettier to oxfmt (#53835)
Migrate code formatting across the monorepo from Prettier to `oxfmt`
(`0.79.0`, pinned) for much faster formatting checks locally and in CI
while keeping code churn minimal (78 files total, 0.7% of the repo).

Studio's `@ianvs/prettier-plugin-sort-imports` ordering
(`<BUILTIN_MODULES>`, `<THIRD_PARTY_MODULES>`, blank line, then `@/` and
relative imports) is preserved via `oxfmt`'s native `sortImports`
override for `apps/studio/**/*.{js,jsx,ts,tsx}`.

### Performance (before vs after, uncached)

| Benchmark | Prettier (`3.8.x`) | oxfmt (`0.79.0`) | Speedup |
| --- | ---: | ---: | ---: |
| CI formatting step (`blacksmith-4vcpu-ubuntu-2404`, full repo) | `73s`
| **`7s`** | **~10×** |
| Local `apps/studio` JS/TS (`5,157` files) | `17.74s` | **`0.36s`** |
**~49×** |
| Local full monorepo (`11,131` files) | — | **`2.39s`** | — |

**Added:**

- `.oxfmtrc.jsonc` at repo root with Prettier-matching options,
`sortPackageJson: false`, the Studio `sortImports` override, and ignore
patterns migrated from `.prettierignore`
- `oxfmt` (`0.79.0` exact pin) in `pnpm-workspace.yaml` catalog and
workspace `devDependencies` / `dependencies`
- Shared `.agents/scripts/format_and_lint.sh` hook script and
`.agents/hooks.json` (used by both Claude Code and Antigravity)

**Changed:**

- Replaced `test:prettier` with `format:check` and switched `format` in
root `package.json` to `oxfmt`
- Updated `packages/api-types` (`codegen`,
`verify-production-types.mjs`), `apps/design-system` (`build:registry`),
`apps/docs` (`CodeSample.ts`, `generate-sitemap.ts`, `next.config.mjs`,
`spec/Makefile`), `apps/www` (`generate-sitemap.mjs`), and
`packages/build-icons` (`generateIconFiles.mjs`) from Prettier to
`oxfmt`
- Updated `.github/workflows/prettier.yml` (keeping the `format` job ID
intact), `.github/workflows/autofix_linters.yml`,
`.claude/settings.json`, `AGENTS.md`, `CONTRIBUTING.md`, and
`.github/copilot-instructions.md`
- Applied one-time `oxfmt` formatting pass in a separate commit (78
files: 30 `i18n/README.*.md` trailing spaces, 19 Studio files, 17 other
TS/TSX/generated types, 8 MD/MDX, 3 `package.json`, 2 example CSS files)

**Removed:**

- `prettier`, `@ianvs/prettier-plugin-sort-imports`, and
`prettier-plugin-sql-cst` from `devDependencies` (note: `.sql` files
were not part of the CI formatting glob; `eslint-config-prettier` is
kept for ESLint)
- `prettier.config.mjs`, `.prettierignore`, and
`.claude/scripts/format_and_lint.sh`

## To test

- Run `pnpm run format:check` and confirm it passes cleanly across all
matched files
- Run `pnpm --filter api-types test`, `pnpm --filter docs exec vitest
run features/directives/CodeSample.test.ts`, and `pnpm --filter www exec
vitest run generate-sitemap.test.ts`
- Edit an `apps/studio` file with out-of-order imports and run `pnpm run
format` to confirm builtin/third-party vs `@/`/relative grouping matches
prior behavior
- Check that the `Check Code Formatting` CI workflow passes on this PR

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-11-24 12:51:31 +08:00
Sean OliverandDanny White f9fd4a2a9f feat(www,docs,kb): show Do Not Sell or Share footer link to US visitors (#53490)
## Problem

US visitors need a "Do Not Sell or Share My Personal Information" footer
link, and no site reads the visitor's country
([GROWTH-1369](https://linear.app/supabase/issue/GROWTH-1369)).

## Solution

- The www proxy copies the `x-vercel-ip-country` header into a
`_sb_country` cookie, which the footers read client-side. Docs and kb
route through www, so that covers all three.
- US visitors and unknown countries see the opt-out label. Everyone else
keeps "Privacy Settings". Both open the same modal.
- The link sits on each footer's copyright line, and the label stays
hidden until the cookie is read.
- Out of scope: GPC
([GROWTH-1373](https://linear.app/supabase/issue/GROWTH-1373)) and modal
copy ([GROWTH-1370](https://linear.app/supabase/issue/GROWTH-1370)).
- Tests cover US, non-US, unknown countries, and the cookie write.
Screenshots used a hand-set cookie.

**www**

| | Before | US | DE |
|---|---|---|---|
| 375px | <img
src="https://github.com/user-attachments/assets/1bd8bcb8-6692-4fe9-90a0-5343b0364053"
width="200"> | <img
src="https://github.com/user-attachments/assets/0514a0bd-ad1c-4773-b889-de941f5466b5"
width="200"> | <img
src="https://github.com/user-attachments/assets/328ca1b4-9698-492e-8045-a15d884108f2"
width="200"> |
| 1440px | <img
src="https://github.com/user-attachments/assets/3cb3e7d7-62ab-4d34-841c-23d50d7d1cd5"
width="300"> | <img
src="https://github.com/user-attachments/assets/caf75b29-7286-404a-b1ea-7dfa5022912c"
width="300"> | <img
src="https://github.com/user-attachments/assets/2c067209-39cd-4ad8-9987-4f8763d70660"
width="300"> |

**docs**

| | Before | US | DE |
|---|---|---|---|
| 375px | <img
src="https://github.com/user-attachments/assets/37248b4a-436b-4d2d-b2d3-3966117abf9e"
width="200"> | <img
src="https://github.com/user-attachments/assets/0b109a0d-7618-46f8-ade0-8ba17e390b56"
width="200"> | <img
src="https://github.com/user-attachments/assets/0047b2b8-7047-40df-8d9c-09f51e538fa4"
width="200"> |
| 1440px | <img
src="https://github.com/user-attachments/assets/0a7d6a65-e964-43dc-911e-0ea033cb1e91"
width="300"> | <img
src="https://github.com/user-attachments/assets/27922348-661c-4246-b3fc-44ac054bd084"
width="300"> | <img
src="https://github.com/user-attachments/assets/30afb171-1023-43ff-b77e-89f341128377"
width="300"> |

**kb**

| | Before | US | DE |
|---|---|---|---|
| 375px | <img
src="https://github.com/user-attachments/assets/cd4fb8d1-8827-4b1a-8d13-c2a5d4f97378"
width="200"> | <img
src="https://github.com/user-attachments/assets/2706ae24-3df8-4149-9a51-75abb0456734"
width="200"> | <img
src="https://github.com/user-attachments/assets/7afb8731-b487-4e48-ae83-a3a6bde36bee"
width="200"> |
| 1440px | <img
src="https://github.com/user-attachments/assets/3b2bdc17-fee7-4ec0-bd24-d35a0367a6ca"
width="300"> | <img
src="https://github.com/user-attachments/assets/479b03e6-6890-4714-bbbb-ab122f46e786"
width="300"> | <img
src="https://github.com/user-attachments/assets/252f4e0f-5bcc-4b43-aeda-784df9f000ca"
width="300"> |

## Review instructions

1. From a US IP, click the footer link on the www preview. The modal
opens.
2. From a non-US IP, see "Privacy Settings".

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2026-11-20 16:44:17 +09:00
anthony lio b1d59e0ee8 feat(www): pricing (#53320)
## Problem

- pricing page shows checks in the bright brand green
- pro button sits lower than the other plan buttons, and each price sits
lower than its plan name
- compute slider has no step marks, so a reader cannot see the sizes
before a drag

## Solution

- changes the plan cards so names, prices and buttons line up, and the
pro card has the only green button
- replaces the bright green check circles with tinted checks and drawn
minus icons, so both icons pass contrast
- adds step marks and a hover preview to the compute slider, so the
badge and price show a size before the click
- adds a tab above the micro row in the compute table, so readers see
which size the plan credits cover
- fixes the spend cap chart, which showed the bars of both states on
toggle because css transitions changed the motion values

| before | after |
|
---------------------------------------------------------------------------
|
--------------------------------------------------------------------------
|
| <img width="2880" height="23304" alt="pricing-before"
src="https://github.com/user-attachments/assets/c42c7487-e0fb-4914-a210-844fe67015bd"
/> | <img width="2880" height="22958" alt="pricing"
src="https://github.com/user-attachments/assets/e2066006-f610-4c53-a5a7-94525966fefc"
/> |

## Preview links

| Site | Live | Preview |
| ---- |
------------------------------------------------------------------------------------
| --- |
| WWW | [/pricing](https://supabase.com/pricing) |
[/pricing](https://zone-www-dot-com-git-antlio-feat-www-pricing-supabase.vercel.app/pricing)
|

## Review instructions

1. visit
[/pricing](https://zone-www-dot-com-git-antlio-feat-www-pricing-supabase.vercel.app/pricing)
2026-11-20 07:54:40 +02:00
Kody JacksonandClaude Sonnet 5.5 647717417e chore(www) - Update 301 destinations to final resolution + fix some 404s (#53556)
## What

Updates links in `apps/www` that pointed at redirecting URLs so they
point at the final destination, and fixes a few broken links:

## Testing

- Every replacement destination was requested and returns 200 with no
further redirect
- Prettier passes on all changed files
- Content and data changes only, apart from the one-line `/vector` fix
in `MagnifiedProducts.tsx`

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:17:57 -06:00
5b6443862b feat(go): white background on aws-reinvent schedule page (#53438)
## What

Adds an optional `theme: 'light'` setting for go pages. When set, the
page switches the root theme to light (`data-theme="light"` on `<html>`,
restored on unmount) and renders on a white background, so the white
HubSpot meetings embed no longer contrasts with a dark page. Pages that
don't set it are unchanged.

The root element has to be switched because the semantic color tokens
are derived at `:root`, so a wrapper class alone leaves text
light-on-white.

Turns it on for `/go/aws-reinvent/schedule`. Also loads HubSpot's embed
script as a plain `<script>` tag right after the container (as in
HubSpot's snippet) instead of `next/script`, which loads after page
load.

Files changed:
- `packages/marketing/src/go/schemas.ts`: optional `theme` field on the
page schema
- `apps/www/components/Go/ForceLightTheme.tsx`: sets the light theme on
`<html>` while mounted
- `apps/www/components/Go/GoPageRenderer.tsx`: uses it when `theme` is
`'light'`
- `apps/www/_go/events/aws-reinvent-2026/schedule.tsx`: sets `theme:
'light'`, plain embed script tag

## Review instructions

Open `/go/aws-reinvent/schedule`: the page should be white with readable
text, and the HubSpot calendar should load below the Growth Leads cards.
Open another go page and confirm it is unchanged.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Wendie Cheung <wendie.cheung@supabase.io>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 15:45:02 +11:00
Anthony Lio 0ed90ae460 fix(ui): split button divider (#53258)
## Problem

- in dark mode split button shows a middle divider that is lighter and
heavier than the outer edge, and the design system
`button-split-dropdown` example has the same bug
- button edge is a translucent inset shadow over a translucent fill, so
the `-ml-px` overlap stacks two edges and two fills in one column
- light mode has the same defect on hover and with the menu open,
because the hover fill is translucent too

## Solution

- adds a `SplitButtonGroup` component to `ui`, so a split button has a
`role="group"` wrapper and one shared divider
- fixes the divider color in both themes, because only one button paints
the shared border column
- changes the shared column to follow the hovered button, so the divider
takes its edge color in a fixed place
- removes the press scale from buttons in the group, so no gap opens
between the two buttons
- changes the design system split button docs to `SplitButtonGroup`

| before | after |
| -------|------|
| <img width="428" height="219" alt="image"
src="https://github.com/user-attachments/assets/4cbc5dc9-3575-4eef-83b9-a6141796ccc8"
/> | <img width="428" height="219" alt="image"
src="https://github.com/user-attachments/assets/9c5b283d-e6bd-428a-bee1-7f59249aeb83"
/> |
| <img width="428" height="219" alt="image"
src="https://github.com/user-attachments/assets/046338f9-6dfd-4c32-8e33-30c1b0f84715"
/> | <img width="428" height="219" alt="image"
src="https://github.com/user-attachments/assets/c79e1c7a-e1ac-4682-a898-1a36c6b028fc"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. open the
[/design-system/docs/components/button](https://design-system-git-antlio-fix-split-button-divider-supabase.vercel.app/design-system/docs/components/button#split-with-dropdown)
preview in dark mode, and zoom in on the split example
2. make sure that the divider has the same color and weight as the outer
edge
3. hover the primary action, and make sure that the divider takes its
edge color and stays in the same place
4. hover the chevron and open the menu, and make sure that the divider
takes the chevron edge color
5. switch to light mode, and repeat steps 2 to 4
6. press and hold the primary action, and make sure that it does not
shrink
7. tab to the chevron, and make sure that the focus ring shows on all
four sides and that Enter opens the menu
8. open the
[/design-system/docs/fragments/admonition](https://design-system-git-antlio-fix-split-button-divider-supabase.vercel.app/design-system/docs/fragments/admonition#split-button-with-dropdown)
preview at a narrow width, and make sure that the split fills the row
with one divider
9. open the
[/dashboard/project/\_/settings/log-drains](https://studio-git-antlio-fix-split-button-divider-supabase.vercel.app/dashboard/project/_/settings/log-drains)
preview, and make sure that the `primary` split looks the same as on
master


## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-12 09:17:27 +02:00
Kody Jackson 3f03e5b0d5 chore(www) - refactor faqs on /partners, /compute, and /pricing to avoid JS + add in LD-JSON entries (#53270)
## Problem

faqs on /partners, /compute, and /pricing use JS, making them invisible
to search / LLM crawlers.

## Solution

Moves them to detail > summary elements in a shared component.

## Preview links

-
[/partners](https://zone-www-dot-lh2wp7c6i-supabase.vercel.app/partners)
- [/compute](https://zone-www-dot-lh2wp7c6i-supabase.vercel.app/compute)
- [/pricing](https://zone-www-dot-lh2wp7c6i-supabase.vercel.app/pricing)

## JSON-LD validation

-
[/partners](https://validator.schema.org/#url=https%3A%2F%2Fzone-www-dot-lh2wp7c6i-supabase.vercel.app%2Fpartners)
-
[/compute](https://validator.schema.org/#url=https%3A%2F%2Fzone-www-dot-lh2wp7c6i-supabase.vercel.app%2Fcompute)
-
[/pricing](https://validator.schema.org/#url=https%3A%2F%2Fzone-www-dot-lh2wp7c6i-supabase.vercel.app%2Fpricing)
2026-11-11 09:59:53 -06:00
Kody Jackson e0816d183d chore(www) - tweaks for conversion on products / feature pages (#53173)
## Problem

Low conversion rate for high SEO traffic pages (`/database`,
`/features/sql-editor`, etc).

## Solution

- For product pages, changing the button variant for `Start your
project` to be `primary`, more visually eye-catching. This is the
primary human CTA for the page, so should stand out more.
- For `feature` pages, adding a manually specified line delimiter where
we can inject a CTA button. Again, these are the primary purpose of the
page for human readers, `hey, go try out this thing`, so we should
optimize for this a bit more. We'd likely want to take a different
approach if we apply this to _all_ feature pages, but this seems fine
for an initial test here.

Also, while I was in here, added a bunch of empty `blogURL` values for
feature pages.

## Preview links

### product pages


https://zone-www-dot-com-git-kody-devrel-822-sql-editor-8236e1-supabase.vercel.app/database
<img width="1219" height="541" alt="Image"
src="https://github.com/user-attachments/assets/67708db7-615f-4bba-aeeb-8647222ea2f3"
/>

### feature pages


https://zone-www-dot-com-git-kody-devrel-822-sql-editor-8236e1-supabase.vercel.app/features/sql-editor

<img width="1219" height="968" alt="Image"
src="https://github.com/user-attachments/assets/bbf69d91-0316-47c8-a279-a5d41131f830"
/>
2026-11-10 08:13:03 -06:00
Anthony Lio c7baea1eb3 feat(ui): unify mobile nav (#52410)
## Problem

- follow up pr #52177 to reuse in home + www new mobile menu

## Solution

- adds `MobileNavToggle` to `ui-patterns` and uses it in docs, kb and
www, so the three apps share one same shake shack burger
- fixes Escape on www, because the closed desktop dropdowns marked each
Escape as handled, so the drawer now checks focus
- changes the top bar to find its active group during render, so the
active tab shows on the first frame
- changes the drawer on docs pages without a sidebar to open on their
group, so troubleshooting opens on Resources

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

Provide a clear numbered procedure that the PR reviewer can walk
through.

1. open from mobile `/docs` and open menu
2. make sure that the drawer opens below the header with the section
picker and the sign in buttons
3. make sure that the page behind the drawer does not scroll
4. press Escape, and make sure that the drawer closes and focus returns
to the burger
5. open `docs/guides/database/overview`, and make sure that the drawer
still shows the group links above the sidebar nav
6. open `/`, open the menu
7. click a link in the drawer, and make sure that the drawer closes

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-05 14:03:44 +02:00
Pamela Chia aad17d2ee2 fix: server-render /open-source repos and library docs code (#52655)
Two page templates still served their main content only after JavaScript
ran, so crawlers that don't run it never saw it. The /open-source repo
cards came from a GitHub fetch in a `useEffect`. The library docs
install command and the default code view on the client pages were
`dynamic(..., { ssr: false })`.

**Changed:**
- **/open-source repo cards render in the HTML**: I added
`getStaticProps` with hourly ISR that fetches the org repos once, keeps
only the repos the tabs list, and seeds `Repos`. Any failure (non-2xx,
timeout, unexpected body) falls back to `null`, which keeps today's
client fetch, and that result is cached for 60s so a rate-limited
regeneration heals quickly. I made counts format as `en-US` until
hydration so non-US browsers don't hit a hydration mismatch, and I
switched the star sort to a consistent comparator so ties hydrate in the
same order in every engine.
- **Library docs install command renders on the server**: I made the
app's `useLocalStorage` read storage in a layout effect instead of the
`useState` initializer, so `Command` no longer needs `ssr: false`.
Returning users who picked another package manager see npm until
hydration, then their choice, where before the box was empty until then.
- **Library docs code shows instead of "Loading code preview..."**: I
kept `CodeBlock` client-only because it reads the resolved theme, and I
changed its loading fallback to render the selected file's code in a
plain `<pre>`.

**Note:** the GitHub fetch is unauthenticated, since the www project has
no general-purpose GitHub token. If regeneration keeps getting
rate-limited, adding a read-only token to the www env is a few-line
follow-up.

## To test
Tested on the PR previews, compared with prod:
- [x] `curl -sL` /open-source with a Chrome user agent and strip
`<script>`, `<style>` and `<template>`: supabase, supabase-js,
supavisor, postgres and postgres-meta appear with their descriptions
(prod has no repo cards).
- [x] `curl -sL` /open-source and read the `__NEXT_DATA__` JSON: every
name in `repos` appears in the page's tabs.
- [x] On /open-source with the browser language set to German: the
Database tab shows the same cards in the same order as prod, counts use
German separators after load, the browser makes no GitHub API request,
and the console shows no hydration error.
- [x] Switch to the Auth and Other tabs: the same cards as prod. Repos
with equal star counts can appear in a different order.
- [x] `curl -sL` /library/docs/nextjs/client the same way:
`createBrowserClient` is present in a plain `<pre>` (prod shows "Loading
code preview...").
- [x] `curl -sL` a block page such as
/library/docs/nextjs/password-based-auth: the `npx shadcn@latest add`
command is present (prod has none).
- [x] On a block page, pick pnpm in the install command and reload: pnpm
stays selected, with no hydration error.
- [x] On /library/docs/nextjs/client after load, in light and dark
theme: the highlighted code block matches prod, with line numbers.
- [x] No hydration warnings in the console on any of these pages.

## Linear
- part of GROWTH-1416
2026-11-03 20:48:08 +08:00
b2e8cb07a4 fix: horizontal overflow on /solutions/no-code mobile view (#47913)
## Problem
Prompt cards on /solutions/no-code caused horizontal page scroll on
mobile. Flex/grid children don't shrink below content size by default,
so long card titles and content pushed cards past the viewport width.

## Fix
Added `min-w-0` to the card container and title in
`TwoColumnsSection.tsx` so cards respect their grid/flex track width
instead of growing with content.

## Screenshots
| Before | After |
|--------|-------|
| <img
src="https://github.com/user-attachments/assets/069fa434-c202-4761-ab25-0eaf5f71b434"
width="300" /> | <img
src="https://github.com/user-attachments/assets/2478bd84-1361-46e9-a076-4148b0c38706"
width="300" /> |

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved code snippet layout in two-column sections by allowing the
snippet container to shrink within its column. This helps prevent the
container from forcing the surrounding layout wider when space is
limited, keeping the section more consistent across narrow and wider
layouts.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: hallidayo <22655069+Hallidayo@users.noreply.github.com>
Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-11-03 18:49:25 +08:00
Zammad NasirandNik Richers cf822303b8 fix: footer social links open in new tab with security attributes (#45362)
## 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?

Bug fix

---

## What is the current behavior?

Footer social links (X, GitHub, Discord, YouTube, TikTok, Instagram)
open in the same tab, navigating users away from the Supabase website.

Issue: https://github.com/supabase/supabase/issues/45342

---

## What is the new behavior?

Footer social links now open in a new tab while keeping the Supabase
website open.

Added:

* `target="_blank"`
* `rel="noopener noreferrer"`

to all external social links in the footer.

---

## Additional context

This change improves:

* User experience (users don’t lose their current page)
* Security (prevents reverse tabnabbing via `window.opener`)

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-11-03 18:48:22 +08:00
Pamela Chia 315447c4f9 fix: server-render FAQ answers and library catalog (#52644)
Four pages served their main content only after JavaScript ran, so
crawlers that don't run it never saw that content. The FAQ answers on
/pricing, /compute and /partners were missing because the accordion
unmounts closed panels. The /library catalog was missing because
`LibraryOverview` read `?category=` with `useSearchParams`, which makes
Next client-render everything up to the nearest Suspense boundary on a
static route.

**Changed:**
- **FAQ answers render in the HTML, collapsed**: I added `FaqAnswer`,
which keeps each panel mounted (`forceMount`) and collapses it with a
grid-rows transition, and I replaced `AccordionContent` with it at the
three FAQ call sites. Open and close keep the same 150ms ease-out
motion. The panel turns `invisible` 150ms after closing, so closed
answers are not tabbable and not listed as regions, as before.
- **The /library catalog renders in the static HTML**: I moved the
`useSearchParams` read into a small `CategoryFromUrl` child that renders
nothing, under its own `<Suspense fallback={null}>`, and removed the
page-level `<Suspense>`. The child passes the category up to
`LibraryOverview` state in a layout effect, so category clicks, header
navigation to `/`, and back and forward still update the filter before
paint.

**Note:** the shared `ui` `AccordionContent` is unchanged for other
apps. The FAQ height transition sits on an inner element because Radix
sets `transition-duration: 0s` on the content node while it measures it.
On a hard load of a `/library?category=X` link (the kb FAQs link to
`?category=Authentication`), the catalog shows All until the client
applies X. Before this change the page was empty in that window.
Avoiding it means rendering the page per request.

## To test
I tested on the PR previews:
- [x] `curl -sL` /pricing with a Chrome user agent and strip `<script>`,
`<style>` and `<template>`: all 11 FAQ answers are present (prod has
none). Same for /compute (7) and /partners (5).
- [x] On /pricing, /compute and /partners, open and close a FAQ: it
slides open and closed as on prod (about 150ms each way), and the answer
stays visible while it collapses.
- [x] Open two FAQs on /pricing: both stay open.
- [x] With every FAQ closed, press Tab from a question: focus skips the
links inside closed answers. Once that FAQ is open, Tab focuses the
link.
- [x] With reduced motion enabled, open and close a FAQ: both happen
instantly.
- [x] `curl -sL` /library the same way: "Building blocks for your next
backend", all 19 block titles and the canonical link are present. The
only `<!--$!-->` is the empty `CategoryFromUrl` slot, a sibling before
the heading.
- [x] On /library, click a category: the list filters and the URL gains
`?category=`. Click "Browse all blocks" in the header: All is selected
again and every block shows.
- [x] Open `/library?category=Authentication` directly: the list ends up
filtered. Click a block, then go back: the filter is still applied.
- [x] No hydration, `useSearchParams` or Suspense warnings in the
console on any of these pages.
- [x] Compare preview with prod at 1440px and 390px wide on /pricing,
/compute, /partners and /library: FAQ row heights, spacing and
open-answer heights match prod to the pixel, nothing is clipped, and the
/library catalog and `?category=Authentication` view render the same as
prod.

## Linear
- part of GROWTH-1416
2026-11-02 23:51:46 +08:00
Pamela Chia d2d0a9ec8e fix(www): server-render the /events list (#52637)
`/events` showed skeletons until a client-side request to the Luma
events API finished, so the raw HTML had no upcoming events and every
category count read zero. I moved the Luma fetch to the server next to
the Notion and MDX loaders, so the HTML now includes the event list, and
I set the page to revalidate every 5 minutes.

**Changed:**
- **Event list in the HTML**: I built `getLumaEvents` on the upstream
fetch from `/api-v2/luma-events`, which I made shareable and gave a 10 s
timeout, with the same public-only filter and mapping the client used. I
removed the client fetch, the loading state and both skeletons.
- **Luma failures**: on a missing API key, an upstream error or a
timeout, `getLumaEvents` returns no Luma events and reports the error to
Sentry, the same soft fallback the Notion loader uses, so neither the
build nor a regeneration can fail on Luma.
- **Dates without hydration mismatches**: I format each event's date and
time in the event's own time zone on the server and the first client
render (banner times carry the zone name, and the banner always shows
the year). After hydration the page switches to the visitor's time zone,
as before.

**Note:** before JavaScript loads, visitors now see event-local times
labeled with their zone where they used to see skeletons. If Luma is
down during a regeneration, the page shows no Luma events until the next
successful regeneration.

## To test

Tested on the PR preview:
- [x] Fetch `<preview-url>/api-v2/luma-events?after=<now>`, then fetch
`<preview-url>/events` with a Chrome user agent, strip `<script>`,
`<style>` and `<template>` elements and React's `<!-- -->` separators:
expect every returned event name in the HTML, `All (N)` equal to the
number of event cards (`h3.leading-snug`), and no `animate-pulse`
skeletons (5/5 names, `All (5)` with 5 cards, 0 skeletons; a 6 PM Denver
event groups under its own local date)
- [x] Open `/events` in a browser outside UTC: expect no hydration
errors in the console, banner times in local time without a zone label,
and no request to `/api-v2/luma-events` (Asia/Singapore: none of either)
- [x] Click a category filter, then All; search for a title word, then
clear it; toggle On-demand: expect the list to narrow and restore as
before, and the banner to hide on On-demand

## Linear
- part of GROWTH-1416
2026-11-02 21:48:56 +08:00
Anthony Lio 6a421fe296 feat(kb): updates glyph lines (#52389)
## Problem

- make kb warp hero consistent with recent `GlyphLines` usage in `www`
for favor over grain mask usage for consistency purpose

## Solution

- replaces the grain lines on the kb heroes and topic covers with lines
that spell the page title and description
- changes all lines to one opaque border color, so overlapping glyphs do
not get brighter
- adds a surface cell behind each glyph, so lines that cross stay
readable
- changes the draw-in animations to start when the glyphs first paint,
so the reader sees them
- changes the canvases to redraw at the pinch zoom resolution, so zoomed
text stays sharp
- removes the grain mask and the animations that nothing uses now

| state | preview |
| -------|------|
| before | <img width="1701" height="670" alt="image"
src="https://github.com/user-attachments/assets/9c8de3d3-c3cb-4d7e-ad8c-aedc36f8f911"
/> |
| after | <img width="1701" height="670" alt="image"
src="https://github.com/user-attachments/assets/0be46a5f-6024-4f76-b600-99a86090cc2c"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. run `pnpm dev:kb` and open `/kb`
2. open `/kb/topics/auth` and make sure that the grid, the frame lines
and the shapes draw in after the

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-29 06:46:36 +02:00
Anthony Lio 9eaae4cd2c feat(www): brand page (#52295)
## Problem

- a person or an agent cannot link one logo file or pick the file for a
light or a dark background as the brand assets page has one preview
image and two zip downloads only
- `apps/www/lib/json-ld.ts` sets `Organization.logo` to the open graph
banner instead of a logo file

## Solution

- [proposal] Brand Assets -> Brand Guidelines
- [proposal] `/brand-assets` -> `/brand`
- adds the official logos as separate svg and png files in
`/brand-assets/`, with a catalog that tells the background that each
file is for
- show each file on its background, with copy and download actions
- adds `/brand.md` and a "Copy agent prompt" button, so an agent can
read which file to use for each background
- adds a "Copy wordmark" item to the nav logo menu, which copies the
wordmark file for the site theme
- changes `Organization.logo` from the open graph banner to the wordmark
png

`brand assets page`
| before | after |
| -------|------|
| <img width="1637" height="901" alt="image"
src="https://github.com/user-attachments/assets/6b5361c8-0995-4e61-bc29-b5a7ccab7d69"
/> | <img width="1637" height="901" alt="image"
src="https://github.com/user-attachments/assets/0f65ab36-d6f2-427e-8973-eb559139cf8e"
/> |

`logo right click`
| before | after |
| -------|------|
| <img width="676" height="362" alt="image"
src="https://github.com/user-attachments/assets/5abde373-8a37-4ab8-8193-fb7112b97104"
/> | <img width="676" height="362" alt="image"
src="https://github.com/user-attachments/assets/ef5d0724-6a91-4af7-8e9d-59025a9eba87"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. run `pnpm dev:www` and open `http://localhost:3000/brand-assets`
2. in the gallery, copy and download one file of each group, and make
sure that each file opens
3. click "Copy agent prompt", and make sure that the copied text names
`https://supabase.com/brand-assets.md`
4. open `http://localhost:3000/brand-assets.md`, and make sure that it
links each svg and png file
5. right-click the nav logo, hover "Copy logo" and "Copy wordmark", and
make sure that the frame moves to the part that each item copies
6. click "Copy wordmark" in the light theme and in the dark theme, and
make sure that the pasted svg has black and then white lettering
7. run `pnpm --filter www exec vitest run data/brand-assets.test.ts`,
and make sure that the tests pass

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-29 09:57:35 +11:00
Alexis Aguilar d1dcb57bdf feat(www): use the shared AiTools component on www pages (#52186)
## Problem

Docs guides, docs troubleshooting pages, and knowledge base guides
render the shared `AiTools` component from `ui-patterns`. The marketing
site renders its own copy of the same actions in `MarkdownActions`, with
the same styles and links. A change to one doesn't reach the other.

Resolves
[DOCS-1505](https://linear.app/supabase/issue/DOCS-1505/use-the-shared-aitools-component-on-www-pages).

## Solution

Blog posts, customer stories, event pages, changelog entries, and
pricing render `AiTools` through a www wrapper, and `MarkdownActions` is
deleted. The wrapper sends `copy_as_markdown_clicked` and
`ask_ai_clicked` with each page's type, as `MarkdownActions` did.

- **Prefer on Google:** blog posts show the Prefer on Google link
through `AiTools`, and clicks send `preferred_source_clicked`. #52026
proposed adding the link through `MarkdownActions`. This PR adds it
through `AiTools` instead, and #52026 is closed. The link's URL is a
shared constant in `markdown-affordance.ts`, which the docs wrapper also
uses.
- **Horizontal layout:** `AiTools` has an `orientation` prop. Pricing
uses it to keep the actions in a row under the hero. The design system's
AI Tools page documents it.
- **Headings:** `AiTools` adds an "AI tools" heading:
  - Blog posts style it like the sidebar's On this page label.
- Pricing, customer stories, and event pages hide it visually, so they
look as they do on the live site. Screen readers still announce it as
the section's label.
- Changelog entries give AI tools its own sidebar section, like Change
type and Products. The Links section appears only when an entry links to
a GitHub discussion.

The changelog index keeps `ChangelogLlmMarkdownButton`. It's a split
button in the header toolbar, and `AiTools` is a list of links built for
sidebars.

## Preview links

Compare the before and afters (since there's a lot of examples here,
links are less visually busy than images in this case):

| Site | Live | Preview |
| ------------- |
--------------------------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| WWW |
[/blog/give-your-supabase-app-its-own-mcp-server](https://supabase.com/blog/give-your-supabase-app-its-own-mcp-server)
|
[/blog/give-your-supabase-app-its-own-mcp-server](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/blog/give-your-supabase-app-its-own-mcp-server)
|
| WWW | [/pricing](https://supabase.com/pricing) |
[/pricing](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/pricing)
|
| WWW | [/customers/berriai](https://supabase.com/customers/berriai) |
[/customers/berriai](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/customers/berriai)
|
| WWW |
[/events/agency-webinar-ai-prototyping-production](https://supabase.com/events/agency-webinar-ai-prototyping-production)
|
[/events/agency-webinar-ai-prototyping-production](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/events/agency-webinar-ai-prototyping-production)
|
| WWW |
[/changelog/cbc-tls-ciphers-deprecated](https://supabase.com/changelog/cbc-tls-ciphers-deprecated)
|
[/changelog/cbc-tls-ciphers-deprecated](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/changelog/cbc-tls-ciphers-deprecated)
|
| WWW |
[/changelog/17817-pgbouncer-and-ipv4-deprecation](https://supabase.com/changelog/17817-pgbouncer-and-ipv4-deprecation)
|
[/changelog/17817-pgbouncer-and-ipv4-deprecation](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/changelog/17817-pgbouncer-and-ipv4-deprecation)
|
| Design system |
[/design-system/docs/fragments/ai-tools](https://supabase.com/design-system/docs/fragments/ai-tools)
|
[/design-system/docs/fragments/ai-tools](https://design-system-git-alexisa-docs-1505-supabase.vercel.app/design-system/docs/fragments/ai-tools)
|

## Review instructions

1. Open each live and preview link side by side.
2. On pricing, check that the actions sit in the same row under the
hero.
3. On the blog post, check that the "AI tools" heading matches the On
this page label.
4. On the blog post, check that Prefer on Google appears in the sidebar
and at the end of the post on mobile.
5. On both changelog entries, check that AI tools has its own sidebar
section. Links appears only on the pgbouncer entry, which links to a
GitHub discussion.
6. On each page, click Copy as Markdown, Ask ChatGPT, and Ask Claude. On
the blog post, also click Prefer on Google. In the browser's network
tab, check that each telemetry request includes the page's `pageType`.
7. On the design system page, check the Horizontal layout example.

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-27 18:35:40 -04:00
Kody Jackson 08504ae26a fix(www) - remove duplicate h1 entries (#52341)
## Problem

Dupe H1 entries across several pages

## Solution

For blogs, remove the `#` or move to `##`.

For others, adjust the templating logic to avoid rendering multiple.

## Preview links

### Design system

[previous](https://supabase.com/design-system/docs)

<img width="1328" height="832" alt="image"
src="https://github.com/user-attachments/assets/95abab7f-acba-4935-83f7-4f980a7379ce"
/>


[new](https://design-system-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/design-system)
<img width="1328" height="795" alt="image"
src="https://github.com/user-attachments/assets/98c3f377-ee47-48bc-b3de-f7677824f1df"
/>

### www


| Area | Page | Before (production) | After (preview) | h1 count before
→ expected after |
|---|---|---|---|---|
| CTA form (Solutions) | AI Builders |
https://supabase.com/solutions/ai-builders |
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/solutions/ai-builders
| 2 → 1 |
| CTA form (Solutions) | Agencies |
https://supabase.com/solutions/agencies |
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/solutions/agencies
| 2 → 1 |
| CTA form (Enterprise) | Enterprise |
https://supabase.com/solutions/enterprise |
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/solutions/enterprise
| 2 → 1 |
| Changelog | Declarative Schema Management (pg-delta) |
https://supabase.com/changelog/44938-public-alpha-declarative-schema-management-with-pg-delta
|
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/changelog/44938-public-alpha-declarative-schema-management-with-pg-delta
| 2 → 1 |
| Changelog | Queue table operations |
https://supabase.com/changelog/42460-queue-table-inserts-edits-and-deletes-on-the-table-editor
|
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/changelog/42460-queue-table-inserts-edits-and-deletes-on-the-table-editor
| 2 → 1 |
| Changelog | Auth asymmetric keys |
https://supabase.com/changelog/29289-supabase-auth-asymmetric-keys-support-in-2025
|
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/changelog/29289-supabase-auth-asymmetric-keys-support-in-2025
| 5 → 1 |
| Company | Company | https://supabase.com/company |
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/company
| 40 → 1 |
2026-10-27 08:32:33 -05:00
Danny White c5f9403d8a feat(www): add AWS Marketplace landing and pricing FAQ (#52198)
## Problem

Customers with an AWS spend commitment (PPA or EDP) need a clear way to
buy Supabase through AWS Marketplace. Today that path is easy to miss on
marketing surfaces.

## Solution

- Canonical `/aws-marketplace` landing with self-serve (Pro/Team via Buy
with AWS) and private-offer (Enterprise form) paths
- Buy with AWS CTA: our primary `Button`, co-branded procurement URL,
`partner.js`, and `data-awsmp-bwa-*` attributes
- Pricing FAQ item linking to the landing page and public listing
- Older blog post banner pointing at the updated path


| `/aws-marketplace` | `/pricing` | Blog Post |
| --- | --- | --- |
| <img width="1280" height="1323" alt="Supabase on AWS Marketplace"
src="https://github.com/user-attachments/assets/19318bd0-6a07-49e2-8a1f-7c2a827f790a"
/> | <img width="1280" height="1323" alt="Pricing Fees Supabase"
src="https://github.com/user-attachments/assets/7d3278e7-0e5f-4206-8642-d8e8450a2c79"
/> | <img width="1280" height="1323" alt="88266"
src="https://github.com/user-attachments/assets/e0d1b4cc-886e-4858-944a-6792af202e1b"
/> |

## Review instructions

1. Open the [www
preview](https://zone-www-dot-com-git-dnywh-feataws-marketplace-www-supabase.vercel.app/aws-marketplace)
for `/aws-marketplace`
2. Confirm hero **Buy with AWS** (primary green) opens the AWS
procurement URL with product/seller IDs
3. Confirm **Request a private offer** goes to the Enterprise form
4. Open
[`/pricing`](https://zone-www-dot-com-git-dnywh-feataws-marketplace-www-supabase.vercel.app/pricing)
→ FAQ → “Can I purchase Supabase through AWS Marketplace?”
5. Open
[`/blog/supabase-aws-marketplace`](https://zone-www-dot-com-git-dnywh-feataws-marketplace-www-supabase.vercel.app/blog/supabase-aws-marketplace)
and confirm the banner about the updated path
2026-10-26 15:54:14 +11:00
Danny White 7e44d321b3 feat(www): adopt shared inline code defaults (#51983)
## Problem

WWW has duplicate inline-code styles. Changelog code stays at a fixed
size even when the surrounding text is larger.

## Solution

Import the shared styles from #51980 and remove duplicate Markdown
styling. Code uses the default foreground colour and follows the
surrounding weight, and scales from 12.5px beside 14px text to 14px
beside 16px text, with a `0.75rem` minimum (normally 12px). Region
labels keep their own styles.

## Review instructions

1. Open the [branch configuration blog
post](https://zone-www-dot-com-git-dnywh-depr-707-code-www-supabase.vercel.app/blog/how-a-new-branch-gets-its-config-migrations-and-functions).
The filename “`config.toml`” should be 14px beside 16px prose.
2. Open the
[changelog](https://zone-www-dot-com-git-dnywh-depr-707-code-www-supabase.vercel.app/changelog).
Check code in headings, paragraphs and tables at narrow and desktop
widths, in both themes.
3. Check that code blocks and region labels keep their existing
appearance.

| Before | After |
| --- | --- |
| <img width="1306" height="494" alt="CleanShot 2026-10-19 at 14 34
58@2x"
src="https://github.com/user-attachments/assets/349f5eb5-7a4a-44ae-ba3a-ae75f083dea2"
/> | <img width="1244" height="448" alt="CleanShot 2026-10-19 at 14 35
33@2x"
src="https://github.com/user-attachments/assets/61753f8a-f6e3-4482-b19a-ac9d39609545"
/> |
| <img width="1308" height="246" alt="CleanShot 2026-10-20 at 15 59
46@2x"
src="https://github.com/user-attachments/assets/db7cca69-7009-44d1-bae3-a5424e367e36"
/> | <img width="1312" height="266" alt="CleanShot 2026-10-20 at 15 58
58@2x"
src="https://github.com/user-attachments/assets/720c6370-5ce2-4be3-8346-0852f7803c26"
/> |
2026-10-22 00:48:57 +00:00
Danny White 3960e6ac41 chore(deps): bump lucide-react to v1 (#51770)
## Problem

Lucide React v1 improves screen reader behaviour (icons are hidden from
assistive tech by default). It also removes brand icons such as GitHub.
We were still on Lucide 0.x across the monorepo.

## Solution

- Move every workspace onto one shared Lucide React v1 version via the
pnpm catalog.
- But Lucide React v1 [deprecated brand
icons](https://github.com/lucide-icons/lucide/blob/main/BRAND_LOGOS_STATEMENT.md)
- Meaning we need to handle any _old_ brand icons we used from Lucide
0.x.
- Luckily, that was just `GitHubIcon`. So...
- Add a `GithubIcon` in `packages/ui` that matches Lucide’s previous
GitHub icon, and use it wherever we imported GitHub from Lucide.
  - No other Lucide brand icons were in use.
- Studio “Continue with GitHub” sign-in still uses the existing SVG
asset (`github-icon.svg`), not this component.
- Keep the `Icon` suffix import style [recently
introduced](https://github.com/supabase/supabase/pull/51659)
- Monorepo apps now use `catalog` Lucide React v1.

## Review instructions

1. Open [Studio
preview](https://studio-staging-git-dnywh-bump-lucide-react-v1-supabase.vercel.app/dashboard/org)
on a project that is connected to GitHub:
   - Project home → Activity stats “GitHub” row
   - Org project list → GitHub badge on a connected project card/row
- Branches → GitHub link on a branch row, or “Sync with a GitHub branch”
   - Project Settings → Integrations → GitHub integration panel
2. Open
[/kb/guides/sample-guide](https://supabase.com/kb/guides/sample-guide) →
confirm “Go to the GitHub discussion” shows the icon.
3. Open
[/docs/reference/javascript](https://supabase.com/docs/reference/javascript)
→ confirm the header GitHub control still shows the icon. Or
[/docs/guides/troubleshooting/rls-simplified-BJTcS8](https://supabase.com/docs/guides/troubleshooting/rls-simplified-BJTcS8)
→ “View discussion on GitHub”.
2026-10-15 23:00:55 +00:00
Brian-AnandDanny White f1082e28c7 chore: migrate Framer Motion imports to Motion (#51520)
## Problem

Closes #31221.
The applications and shared UI packages still import the former
`framer-motion` package instead of Motion's React entry point.

## Solution

Replace runtime imports, type imports, and three test mocks with
`motion/react` across the consuming workspaces.
Replace the seven direct dependency declarations with `motion:
^11.18.2`.
Preserve the existing animation engine version and all other dependency
resolutions, including the asynchronous `domMax` feature loader.
Historical blog examples remain as published; `framer-motion` remains a
transitive implementation dependency of Motion.

## Review instructions

1. Run `pnpm install --frozen-lockfile` and check the seven dependency
replacements in the lockfile.
2. Open the WWW Auth page and Docs homepage at desktop and mobile
widths, with normal and reduced motion preferences.
3. Open the mobile navigation, expand Product on WWW, and close the menu
using Escape and the close button.
4. Check the existing animation components, shared form validation, and
Studio tests for unchanged behavior.

Validation:

- Studio: 731 test files, 8,334 passing tests and one expected failure,
with `--maxWorkers=4`.
- Shared UI, UI patterns, WWW, and UI library: 615 passing tests.
- `pnpm run typecheck --concurrency=1`: all 16 repository tasks pass.
- All six application source lint scripts and lint ratchets pass;
generated Docs example copies are excluded from local lint.
- Repository Prettier source check, lockfile formatting, and case hazard
check pass.
- WWW: 10 existing end-to-end checks across nine pages.
- Docs: 5 existing guide link and accessibility checks across Database
and Auth.
- WWW and Docs mobile navigation pass at desktop/mobile sizes with
normal/reduced motion; SQL-to-REST translation tabs exercise the
asynchronous feature loader without browser errors.
- Frozen-lockfile installation passes; all existing package and snapshot
resolutions are unchanged.
- Learn and UI library command palettes open, filter results, and close
with Escape without browser errors.
- Independent code review finds no actionable defects.
- `npm run build -- --filter=www --filter=docs --filter=studio
--filter=learn --filter=library --concurrency=1 --continue=always`: all
five affected applications build successfully (9 tasks including
prerequisites); asset uploads disabled for local validation.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
(no docs topics changed)

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2026-10-14 07:16:00 +00:00
Ignacio Dobronich 22cdd05492 fix: update disk maxSize in pricing page (#51295) 2026-10-05 22:46:23 -03:00
Danny White 5cc0450950 fix(www): plate State of Startups Sign in over the aurora (#51163)
## Problem

On `/state-of-startups`, the nav starts transparent over the aurora.
Default buttons use a translucent fill in dark mode, so Sign in (and
Dashboard) look see-through.

## Solution

Wrap those default nav buttons in `FloatingPlate`. Primary “Start your
project” is already opaque and unchanged.

| Before | After |
| --- | --- |
| <img width="1024" height="759"
alt="23474_296a1f8f952ae7f73ae9205e5db6bb9cda4cf0a904bc2d440d6395b5f12346ab"
src="https://github.com/user-attachments/assets/c247cdaa-06b0-46ad-b1f8-cee3e06fde8e"
/> | <img width="1024" height="759" alt="State of Startups 2026
Supabase"
src="https://github.com/user-attachments/assets/e9a1a0e0-9f2f-427f-a7d3-75e4e1cbba63"
/> |

## Review instructions

In dark mode:

1. [Live /state-of-startups](https://supabase.com/state-of-startups) ·
[Preview
/state-of-startups](https://zone-www-dot-com-git-dnywh-fixsos-sign-in-float-91d2b1-supabase.vercel.app/state-of-startups)
2. At the top of the page (transparent nav, before scrolling), check
Sign in: opaque plate, aurora does not show through the fill.
3. Scroll until the nav gains a solid background: Sign in should still
look normal.

Ideally you could sign in and confirm the now ‘Dashboard’ button gets
the same plate treatment. But that’s not possible until merge.
2026-10-06 10:46:59 +11:00
Danny White 36364e7df3 fix(www): stop wrapping oklch semantic tokens in hsl() (#51161)
## Problem

Semantic colour tokens (`--border-*`, `--foreground-*`,
`--background-*`) now resolve to full `oklch(...)` values. Call sites
that still wrapped them in `hsl(var(--…))` are invalid CSS and drop the
colour (Partners ambient grid was the clearest case).

Brand / destructive / warning channel tokens still correctly use
`hsl(var(--…))` and were left alone.

Presence avatar stack polish is in
https://github.com/supabase/supabase/pull/51164.

## Solution

- Use bare `var(--…)`, `currentColor`, or Tailwind utilities for
semantic tokens. Opacity cases use `oklch(from var(--…) l c h / …)`.
- Partners grid: fix, and then use `text-foreground/20` in light,
`text-foreground/30` in dark for optical correction.

| Before | After |
| --- | --- |
| <img width="1860" height="1106" alt="CleanShot 2026-10-02 at 16 29
08@2x"
src="https://github.com/user-attachments/assets/4554b0c9-22cf-4b06-bbe3-798e8b15304e"
/> | <img width="1852" height="1112" alt="CleanShot 2026-10-02 at 16 28
44@2x"
src="https://github.com/user-attachments/assets/20ccbc80-5eaa-49e6-8f94-48b99dc01474"
/> |
| <img width="1024" height="759" alt="20701"
src="https://github.com/user-attachments/assets/a4e578cf-5adb-4f7a-a53b-870a51f5f948"
/> | <img width="1024" height="759" alt="59176"
src="https://github.com/user-attachments/assets/dda3fc2d-d86b-45a5-adca-403223cc5f33"
/> |

## Review instructions

1. [Live /partners](https://supabase.com/partners) · [Preview
/partners](https://zone-www-dot-com-git-dnywh-fixhsl-oklch-semanti-9bc03a-supabase.vercel.app/partners).
Ambient dashed grid under the hero (light and dark).
2. [Live /database](https://supabase.com/database) · [Preview
/database](https://zone-www-dot-com-git-dnywh-fixhsl-oklch-semanti-9bc03a-supabase.vercel.app/database).
Postgres elephant idle outline should be muted grey, not black. Hover
still brand green.
3. [Live /state-of-startups](https://supabase.com/state-of-startups) ·
[Preview
/state-of-startups](https://zone-www-dot-com-git-dnywh-fixhsl-oklch-semanti-9bc03a-supabase.vercel.app/state-of-startups).
Chart **More AI-generated code, less likely to be monetizing yet**:
horizontal gridlines at 0/25/50/75/100% should render.
4. Storage / Edge Functions changes are correctness-only (shadows, idle
borders, a top fade). Near-invisible to the naked eye; skip unless
debugging.
2026-10-06 10:28:36 +11:00
Pamela Chia a9078612f2 fix(www): stop cross-zone link prefetch (#51066)
About 95% of the 404s served on supabase.com are App Router RSC
prefetches (`?_rsc=`) that www `<Link>`s fire at paths another zone
serves: `/docs`, `/dashboard`, `/library`, and the footer's
`humans.txt`, `lawyers.txt` and `security.txt`. Next.js can't prefetch
or client-navigate across multi-zone boundaries, so each prefetch 404s
even though the link itself works. I turned every www link into another
zone into a plain `<a>` and added a lint rule so new ones stay that way.

**Changed:**
- **Cross-zone links are plain anchors**: links that always leave www
(literal `/docs`, `/dashboard` and `.txt` hrefs, absolute
`https://supabase.com/dashboard` URLs, the `getDashboardCtaHref` CTAs)
render `<a>`. Renderers whose href comes from data (nav, footer, plan
and add-on CTAs, product cards) branch on `isCrossZoneHref`, which reads
the zone list from `lib/rewrites.js`. In-zone links stay `<Link>` and
keep prefetching.
- **New literal links can't regress**: `www/no-cross-zone-link` errors
on a `next/link` `<Link>` whose literal or template href points at
another zone. It evaluates `lib/rewrites.js` as production, so `/docs`
counts in every environment.
- **Click tracking survives the full navigation**:
`sign_in_button_clicked`, `start_project_button_clicked` and
`www_pricing_plan_cta_clicked` now send with `keepalive`, like
`sign_in_submitted` already did, so an immediate page load can't cancel
them. The mobile nav Sign in and Start your project buttons used
`legacyBehavior`, which never called their `onClick`: PostHog has no
`Mobile Nav` location for either event in the last 30 days. Those clicks
report from this PR on.
- **Typecheck no longer crashes**: the functions page's default export
inferred a type through `RealtimeLogs`'s unexported `Props`, which makes
the native TypeScript compiler panic during `tsc --noEmit`. I exported
`Props`.

**Note:** the lint rule only sees literal hrefs. A new renderer whose
href comes from data needs its own `isCrossZoneHref` branch, and review
is the only check on that.

## To test
`/docs` is only rewritten on production and absolute
`https://supabase.com/...` links are cross-origin on a preview, so the
preview proves the relative non-docs cases (`/dashboard*`, `/library`,
the footer .txt files). `/docs/...` prefetches still appear on the
preview because it has no docs rewrite.

Tested on Vercel preview:
- [x] Open `/` with the network tab filtered to `_rsc` and scroll to the
footer: no requests for `/dashboard*`, `/library`, `/design-system`,
`/kb`, `/evals`, `/humans.txt`, `/lawyers.txt` or
`/.well-known/security.txt`, while in-zone ones such as `/pricing`,
`/features` and `/blog` still appear
- [x] Same check on `/pricing`, `/auth`, `/database`, `/storage`,
`/realtime`, `/edge-functions`, `/blog` and a blog post: no `_rsc`
requests to `/dashboard*`, `/library` or the footer .txt files
- [x] Open the Developers dropdown on desktop and the mobile menu at
390px: no new `_rsc` requests to `/dashboard*` or `/library`
- [x] Click header Docs, footer Humans.txt, the hero Start your project
button and the pricing Free plan button: each lands where it did before
(`/docs`, `/humans.txt` text, `https://supabase.com/dashboard/sign-up`,
`https://supabase.com/dashboard/new?plan=free`). Signed out, the Free
plan button lands on the dashboard sign-in with
`plan=free&returnTo=%2Fnew`
- [x] Click the hero Start your project button: the
`/platform/telemetry/event` POST with `start_project_button_clicked`
completes with a 2xx after the page starts navigating. 201 with the
navigation held; on the real navigation the event still reached staging
PostHog
- [x] At 390px, open the mobile menu and click Sign in: a
`/platform/telemetry/event` POST with `sign_in_button_clicked` and
`buttonLocation: "Mobile Nav"` fires. Start your project in the same
menu also sends `start_project_button_clicked` with `buttonLocation:
"Mobile Nav"`
- [ ] Signed in, load `/`: no `/dashboard/projects?_rsc=` request (not
run: the preview origin has no signed-in session)
- [x] Open the desktop Product dropdown and the Product section of the
390px mobile menu: Compute shows its Private Alpha badge and the other
products show none (checks the master merge into `MenuItem`)

After deploy, `/` and `/pricing` on supabase.com show no `_rsc` requests
to `/docs*`, `/dashboard*` or `/library`. After a full day, the share of
supabase.com 404s carrying `_rsc=` should drop from about 95% to under
10%, and `sign_in_button_clicked` and `start_project_button_clicked`
should start showing a `Mobile Nav` location in PostHog.

## Linear
- fixes GROWTH-1294
2026-10-05 15:17:04 -07:00
Danny White ba82106697 chore(www + studio): remove expired Select 2026 promo banners (#51245)
## Problem

Supabase Select 2026 has finished. The promo banners already hide via
the scheduled expiry from #51006, but the campaign code, assets, and
wiring are still in the tree.

## Solution

Remove the Select 2026 sitewide promotion across www and Studio:

- Delete shared `Select26*` banner code, font, and tests from
`ui-patterns`
- Delete Studio `BannerSelect2026*` and its Banner Stack registration
- Unmount the www announcement banner and revert the State of Startups
spacing that only existed for it
- Drop the Select-only session-replay `data-band` allowlist entry and
lint ratchet baseline

Event go pages, blog posts, and other Select content are left alone. The
`Announcement` shell stays for the next campaign.

## Review instructions

1. Open the www homepage on the deploy preview. Confirm there is no
Select announcement bar above the nav.
2. Open `/state-of-startups` on the deploy preview. Confirm the hero
still looks correct with no extra top gap from the removed banner.
3. Open a hosted Studio dashboard page on the deploy preview. Confirm
the Banner Stack no longer shows a Select card.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-05 18:36:13 +11:00
Francesco Sansalvadore edb8a2dc31 fix(www): hover bug on www menu (#51194)
## Problem

The website "freezes" after hovering the menu.

## Solution

No more freeze.
2026-10-02 18:14:16 +00:00
Francesco Sansalvadore 4617b6f4cb feat: compute landing page (#50899)
Compute landing page.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added a Compute product page introducing ephemeral sandboxes and
always-on HTTP services, with information on workloads, security,
deployment, and common questions.
* Added a private-alpha waitlist form with submission confirmation and
error feedback.
* Added Compute links and a “Private Alpha” badge in product navigation
and the footer.
* Added an animated diagram illustrating Compute workloads and their
lifecycle.
* **Documentation**
* Added a Compute overview covering runtimes, scaling, security,
deployment, and availability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-10-02 16:14:13 +02:00
3f205627e0 feat(library): redesign the site around the block catalog (#50372)
## 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?

Feature — the visual redesign itself.

Part 5 of 6 in a stack that splits the library redesign into reviewable
pieces. The four PRs beneath it carry the build, content and Markdown
work; what's left here is layout, navigation and styling.

## What is the current behavior?

The library is laid out like a documentation site: a sidebar tree of
framework folders, a homepage that lists links, and a guide page that
opens with prose. That shape suits reference material, but the library's
job is to help someone find a block and install it — and the sidebar is
the only way to discover one.

## What is the new behavior?

The homepage is the catalog itself — blocks grouped by what they do
(authentication, database, storage, realtime, messaging, AI,
foundations) rather than by framework, each with a preview of what it
renders, filterable by category.

Navigation moves into a site header whose Explore menu opens the same
categories, so the catalog is reachable from any page and the per-page
sidebar tree is gone.

A guide opens with what the reader came for: the block's name, the
install command, and a preview pane with tabs — the running component
and its files — before any prose. The file tree that used to sit
mid-page under "Folder structure" is one of those tabs. Every guide also
offers a copy of the agent prompt that points at its Markdown.

Getting-started pages get the same treatment: the quickstart is now a
framework-tabbed walkthrough rather than a wall of setup links.

## Additional context

`BlockOverviewTabs` renders Preview and Files here. #50369, stacked on
top of this one, adds the third "What's added" tab — it is the only part
of the redesign that depends on the new resource analyzer, which is why
it sits above this PR rather than below it.

Also removes what the redesign orphaned: the table-of-contents component
and its `remark` / `mdast-util-toc` dependencies, and the sidebar nav
and command-item configuration the new header replaced.

The block source changes are typography only — auth card titles move
from `text-2xl` to `font-medium text-lg tracking-normal` — which is what
regenerates the auth registry artifacts.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added a redesigned Supabase Library catalog with categorized blocks,
framework-aware navigation, previews, file views, and installation
actions.
* Added framework-specific quickstart guides for Next.js, React, Vue,
Nuxt, React Router, and TanStack Start.
* Added copy-to-clipboard prompts, “Open in v0” actions, starter
templates, and richer visual previews.

* **Improvements**
* Updated documentation layouts, FAQ content, typography, navigation,
accessibility, and responsive behavior.
* Improved mobile navigation, framework selection, and standardized
block installation guidance.
* Refined authentication and social-login block presentation with more
consistent heading styles.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2026-09-29 10:45:23 +10:00
kemal.earth ae7b9ee245 fix(www): inner border radii for homepage cards (#50987)
## Problem

Looks like they broke when something else got updated.

## Solution

Fixes width some CSS var magic that should inherit whatever the outer
radii is.

| Before | After |
|--------|--------|
| <img width="1186" height="170" alt="Screenshot 2026-09-28 at 17 36 18"
src="https://github.com/user-attachments/assets/69ba7e37-d57e-4c86-a668-fa707cf80ccb"
/> | <img width="1182" height="180" alt="Screenshot 2026-09-28 at 17 36
26"
src="https://github.com/user-attachments/assets/de23b3fe-2b92-440d-b01f-57cd71e95971"
/> |


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Style**
* Updated panel corner radii to scale at medium screen sizes, with the
inner corners kept slightly smaller than the outer corners.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-28 18:18:37 +01:00
Anthony Lio 12a1fd5427 fix(docs): codetabs file tabs (#50811)
## Problem

#50734 restyled single named code blocks as file tabs but code blocks
grouped with `<$CodeTabs>` render through a separate path and kept the
old pill style

## Solution

- add a `CodeTabs` component with the same file tab styling
- sets the `<$CodeTabs>` remark directive at it instead of `Tabs`
- remove the unused `NamedCodeBlock` copy in www (nothing in www outputs
it)

| state | preview |
| -------|------|
| before | <img width="781" height="352" alt="image"
src="https://github.com/user-attachments/assets/1e6261ae-30b7-4397-b2f4-c31bad5f9839"
/> |
| after | <img width="762" height="291" alt="image"
src="https://github.com/user-attachments/assets/851b25ed-98b7-4a5c-8d3e-fece385e3af2"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. visit
[/docs/guides/getting-started/quickstarts/nextjs](https://docs-git-fix-docs-codetabs-file-tabs-supabase.vercel.app/docs/guides/getting-started/quickstarts/nextjs#7-query-supabase-data-from-nextjs)


## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which references
[WORD_LIST](https://github.com/supabase/supabase/blob/master/apps/docs/WORD_LIST.md)
and the docs
[CONTRIBUTING](https://github.com/supabase/supabase/blob/master/apps/docs/CONTRIBUTING.md)
guide


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Documentation code samples support labeled tabs, with the first tab
selected by default.
* Source menus show organization and repository paths, and source links
remain labeled “View source.”
* **Style**
* Updated code sample tabs with active-tab accents and flares, plus
clearer focus outlines and depth effects.
* Refined code-block spacing and presentation, including a styled source
footer and updated menu alignment.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-25 18:12:11 +03:00
51a167d910 feat(www): partners landing page (#47874)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added a redesigned Partners page with partnership options, benefits,
application steps, FAQs, integration resources, and featured partners.
- Added an on-page partner application form with questions tailored to
the selected partnership type.
- Added a confirmation message with next steps and a link to the OAuth
integration guide.
- **Bug Fixes**
- Updated partner application links to open the form on the Partners
page.
  - Added support for checkbox-group fields in forms.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Alan Daniel <stylesshjs@gmail.com>
Co-authored-by: Alex Hall <alex.hall@supabase.io>
Co-authored-by: Dion Zeneli <101271736+Dionysos288@users.noreply.github.com>
2026-09-25 15:53:32 +02:00
Joey Lei d15634ae58 updated guidance for logs pricing, revised manage logs usage pages, introduction of the grace period(#49656)
Supabase Logs is moving to usage-based pricing. We're announcing changes early so impacted projects have time to adjust before billing begins when the grace period through early 2027.
2026-09-24 10:27:23 -07:00
Saxon FletcherandDanny White cd77bebafd chore(ui): refresh shared button styles (#50197)
## What kind of change does this PR introduce?

UI polish / design system: refreshed button styles, related token
tweaks, and a shared floating-button plate.

Resolves DEPR-652.

## What is the current behavior?

Default, primary, and secondary buttons use older fills, borders, and
hover treatments. Primary still leans on brand scale utilities. Default
fills don’t always read as raised chrome across surfaces, and floating
copy / expand / scroll controls can let busy content show through
translucent fills. Call sites hand-roll `rounded-* bg-background`
wrappers for that.

## What is the new behavior?

Refreshes primary, default, and secondary buttons with medium-weight
labels, subtle shadows and inset edges, and smoother transitions.
Light-mode default buttons use a raised fill with an accent hover state,
primary text is brighter, and inline keyboard shortcuts inherit the
button’s colour.

Adds `FloatingPlate`: an opaque `bg-popover` shell for floating default
buttons (and small clusters). Migrates Studio, Docs-related patterns,
www, and `ui-patterns` floaters onto it so busy content no longer shows
through translucent fills. Positioning, z-index, and hover/focus reveal
stay on the plate’s `className`. Use `rounded="full"` for pills.

Also:

- Moves primary onto semantic `--primary` / `--primary-hover` (with a
light-theme override) instead of brand utility fills
- Tokenises button shadows as `--button-shadow-drop` /
`--button-shadow-raised` / `--button-shadow-default` on the Button base
- Aligns hover direction: darken on light mode, lighten on dark mode for
both default and primary
- Default fill stays opaque `bg-card` in light (occlusion) and
translucent `bg-muted` in dark (adapts to the local surface)
- Documents fills and `FloatingPlate` on the design-system Button page
(with a live example)
- Scales shared radius tokens in Studio and www; medium+ Button sizes
use a proportionally softer radius
- Fixes www nav CTA centering (`lg:inline-flex` instead of `lg:block`)
- Query detail Expand/Collapse wires `aria-expanded` / `aria-controls`

| Before | After |
| --- | --- |
| <img width="1074" height="438" alt="CleanShot 2026-09-18 at 15 52
51@2x"
src="https://github.com/user-attachments/assets/ef43da21-b053-4b7e-9ac4-ab8b428228ab"
/> | <img width="1090" height="464" alt="CleanShot 2026-09-18 at 15 50
59@2x"
src="https://github.com/user-attachments/assets/2ddc55fc-4c8d-499c-a280-f3db3d99023c"
/> |
| <img width="1082" height="446" alt="CleanShot 2026-09-18 at 15 52
35@2x"
src="https://github.com/user-attachments/assets/3dd5452d-325a-4e4a-a79d-26c6c6950a31"
/> | <img width="1078" height="446" alt="CleanShot 2026-09-18 at 15 51
13@2x"
src="https://github.com/user-attachments/assets/93666385-3e6e-42e0-9891-9cd6bb935b67"
/> |

## To test

### Design system

- [Button
page](https://design-system-git-chore-button-styles-supabase.vercel.app/design-system/docs/components/button):
default / primary in light and dark; hover should darken on light,
lighten on dark
- Same page: [Floating over
content](https://design-system-git-chore-button-styles-supabase.vercel.app/design-system/docs/components/button#floating-over-content)
/ [Floating
plate](https://design-system-git-chore-button-styles-supabase.vercel.app/design-system/docs/components/button#floating-plate)
example; Copy over SQL should stay opaque
- Spot-check hover on a code preview Copy control

### Docs

[Docs deploy
preview](https://docs-git-chore-button-styles-supabase.vercel.app/docs):

- [Docs
homepage](https://docs-git-chore-button-styles-supabase.vercel.app/docs):
top-right **Sign up** / **Dashboard** primary; menu icon beside it
(default icon button)
- Shrink below `lg` and open the hamburger drawer: bottom **Sign in**
(default) + **Start your project** (primary) medium block buttons
- Tab once for **Skip to content** (FloatingPlate)
- [MCP
guide](https://docs-git-chore-button-styles-supabase.vercel.app/docs/guides/ai-tools/mcp):
project picker
- [Apple
login](https://docs-git-chore-button-styles-supabase.vercel.app/docs/guides/auth/social-login/auth-apple):
**Generate Secret Key** button in the Apple Secret Generator
- Optional opacity check: any guide code block Copy control (e.g. at the
bottom of [Import data into
Supabase](https://docs-git-chore-button-styles-supabase.vercel.app/docs/guides/database/import-data))

### Studio

[Studio deploy
preview](https://studio-staging-git-chore-button-styles-supabase.vercel.app/):

- **Observability → Query Performance**: open a query detail →
Expand/Collapse pill + SQL Copy chip (dark: no bleed-through)
- **Observability → Query Insights**: select a query → Clear query pill
- **Table Editor → any table → Definition** → floating **Open in SQL
Editor**
- **Connect → Framework → Add files**: Copy on the code tabs
(FloatingPlate; light hover follow-up is DEPR-694)
- Tab once for **Skip to content**

### WWW

- [www deploy
preview](https://zone-www-dot-com-git-chore-button-styles-supabase.vercel.app/):
nav Sign in / Start your project vertical centering; hero medium CTAs
radius

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2026-09-23 03:43:00 +00:00
Alaister YoungandAlaister Young 2f1ad03640 fix(www): prevent GitHub stars from falling back to zero (#50704)
The www build saves failed GitHub star requests as zero, which the
navigation displays as `0K`. This passes `GITHUB_TOKEN` through Turbo's
build environment and preserves a valid previously generated count when
a request fails.

If there is no valid previous count, the navigation displays “GitHub”
and the homepage contribution graphic omits the number. Cached fallback
is available only when the previous generated content exists; rate
limiting is a possible cause of the original failure, but has not been
confirmed from deployment logs.

## To test

- Run `pnpm --filter www exec vitest run
scripts/lib/githubStars.test.ts` — all 16 tests pass, covering
authenticated and anonymous requests, rate limiting, malformed
responses, and missing or invalid cached content.
- Build with a valid `GITHUB_TOKEN` and check that the navigation and
homepage graphic show the star count.
- Simulate a failed GitHub request with and without existing generated
content. Confirm that a valid previous count is retained, or that no
zero count appears when none is available.

Verified locally: live GitHub fetch through the new loader, Turbo dry
run with strict environment filtering and `GITHUB_TOKEN` allowed,
Prettier, and ESLint (one existing default-export warning). Full build
and browser checks have not been run.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- GitHub star counts are now displayed only when valid; otherwise, the
interface shows a clear fallback label.
- Star counts can fall back to cached data when GitHub is unavailable or
returns invalid results.
- Builds without GitHub data now complete gracefully instead of failing.

- **Tests**
- Added coverage for authenticated and unauthenticated requests, cached
fallbacks, invalid responses, and clean builds.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-09-22 18:04:14 +10:00
Danny White ec53175b8a refactor(ui): rename text-brand to text-primary (#50564)
## What kind of change does this PR introduce?

Refactor. Follow-up to #49871.

## What is the current behavior?

Branded (green) text still uses the `text-brand` classname while the
colour comes from `--primary`.

## What is the new behavior?

**Rename-only:** `text-brand` → `text-primary` across callsites and
docs. Leftover `bg-brand` / `border-brand` alias to `brand-default`. No
intentional colour changes in this PR.

This better matches how we treat our green in other components and
props, like `variant="primary"` for green buttons.

## To test

On light mode: smoke-test that branded text still looks like #49871
(readable green, not the bright fill).

-
[Homepage](https://zone-www-dot-com-git-dnywh-depr-316-text-brand-de2380-supabase.vercel.app/):
“Scale to millions” uses `text-primary`
- [Docs
homepage](https://docs-git-dnywh-depr-316-text-brand-to-primary-supabase.vercel.app/docs):
branded links like “More on self-hosting” are still readable
- [Typography
docs](https://design-system-git-dnywh-depr-316-text-brand-to-primary-supabase.vercel.app/design-system/docs/typography):
documents `text-primary`
- [Colour
usage](https://design-system-git-dnywh-depr-316-text-brand-to-primary-supabase.vercel.app/design-system/docs/color-usage):
`text-primary` is visibly darker than `bg-brand-default` _on light mode_
- [Studio auth
providers](https://studio-staging-git-dnywh-depr-316-text-brand-to-60fa6c-supabase.vercel.app/dashboard/project/_/auth/providers):
enabled provider badge text readable; status dot stays bright green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Style**
* Updated branded text, link hover states, icons, badges, indicators,
and highlighted content across the Design System, Docs, Studio, Learn,
UI Library, and marketing experiences to use the primary theme color.
* Updated syntax highlighting and table-of-contents styling for
consistent primary-color presentation.
  * Refined brand color fallback behavior for bright fills and borders.

* **Documentation**
* Updated color-usage and typography guidance to recommend the primary
text utility.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-22 16:19:03 +10:00
Danny WhiteandJoshen Lim a31ca2bad0 fix(ui): make brand text readable across themes (#49871)
## What kind of change does this PR introduce?

Bug fix and design-system update. Resolves DEPR-316.

Follow-up rename (`text-brand` → `text-primary`) is in a dedicated PR
(https://github.com/supabase/supabase/pull/50564) stacked on this one.

## What is the current behavior?

`text-brand` resolves to the canonical bright brand green in places that
need readable text, which fails WCAG AA on light surfaces. A separate
`text-brand-display` token adds another green for large type.

## What is the new behavior?

- `text-brand` maps to accessible `--primary` (light mode darkened to
meet ~4.5:1 AA)
- `--hue` / `--primary-hue` aligned to 157.5
- `text-brand-display` removed; former display callsites use
`text-brand`
- Bright fills/borders stay on `brand-default`
- Design-system colour and typography docs updated

| Before | After |
| --- | --- |
| <img width="514" height="112" alt="CleanShot 2026-09-02 at 11 13
09@2x"
src="https://github.com/user-attachments/assets/4e0138a9-a32d-4e4c-a426-90736706e1e7"
/> | <img width="512" height="138" alt="CleanShot 2026-09-21 at 11 42
05@2x"
src="https://github.com/user-attachments/assets/164cc5b1-a0c5-4e93-95f1-80016641a114"
/> |
| <img width="864" height="266" alt="CleanShot 2026-09-02 at 11 13
53@2x"
src="https://github.com/user-attachments/assets/3c1ca53f-bf9e-431e-bc15-816b4a275b8e"
/> | <img width="882" height="248" alt="CleanShot 2026-09-21 at 11 41
37@2x"
src="https://github.com/user-attachments/assets/24828e7b-ed6b-44cb-b9dc-becc3398bdfc"
/> |
| <img width="782" height="692" alt="CleanShot 2026-09-02 at 11 16
30@2x"
src="https://github.com/user-attachments/assets/fc871977-77bc-47fb-9e0e-9284e0ecd5cc"
/> | <img width="730" height="690" alt="CleanShot 2026-09-21 at 11 42
52@2x"
src="https://github.com/user-attachments/assets/bf479515-d5f9-471e-b82d-f097c0f4b56c"
/> |
| <img width="480" height="306" alt="CleanShot 2026-09-02 at 11 18
53@2x"
src="https://github.com/user-attachments/assets/03f341f4-f02e-44f8-a2b2-8c31670d0427"
/> | <img width="470" height="300" alt="CleanShot 2026-09-21 at 11 43
19@2x"
src="https://github.com/user-attachments/assets/9df18217-d5e6-48b8-ba0b-579d2664b94b"
/> |
| <img width="960" height="300" alt="CleanShot 2026-09-02 at 11 32
04@2x"
src="https://github.com/user-attachments/assets/6b1d9373-7a71-4247-81ff-26441604b09d"
/> | <img width="980" height="306" alt="CleanShot 2026-09-21 at 11 44
13@2x"
src="https://github.com/user-attachments/assets/41ad4784-02ec-4b29-b860-32af9fa79aa8"
/> |
| <img width="924" height="214" alt="CleanShot 2026-09-02 at 11 34
44@2x"
src="https://github.com/user-attachments/assets/1de661fe-c7b6-499b-a94f-e4737436ec79"
/> | <img width="752" height="162" alt="CleanShot 2026-09-21 at 11 44
56@2x"
src="https://github.com/user-attachments/assets/1811890f-0660-4445-84e9-447720954fa1"
/> |

## To test

Test each callsite **in light mode** (dark mode is largely unchanged).

### WWW

-
[Homepage](https://zone-www-dot-com-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/):
“Scale to millions” uses readable brand text (display token is gone)
-
[Careers](https://zone-www-dot-com-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/careers):
small “Careers” eyebrow readable; green dividers stay bright
`brand-default`
-
[Contact](https://zone-www-dot-com-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/contact-us):
email / policy links use readable brand text
-
[Regions](https://zone-www-dot-com-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/regions):
“Ask about early access to BYOC” readable

### Docs

- [Docs
homepage](https://docs-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/docs):
“DOCS” wordmark and resource links readable
- [Database
overview](https://docs-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/docs/guides/database/overview):
nav / footer brand links readable
- [JavaScript
reference](https://docs-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/docs/reference/javascript/introduction):
active sidebar treatment readable

### Design system

-
[Typography](https://design-system-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/docs/typography):
documents `text-brand` only (no display)
- [Colour
usage](https://design-system-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/docs/color-usage):
`text-brand` vs `bg-brand-default`
- [Design-system
homepage](https://design-system-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/):
brand text examples across themes

### Studio

- [Auth
providers](https://studio-staging-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/dashboard/project/_/auth/providers):
enabled provider badge text readable; status dot stays bright
- [Database
policies](https://studio-staging-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/dashboard/project/_/database/policies?new=true):
template hover text more legible
- [Database
connections](https://studio-staging-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/dashboard/project/_/observability/connections):
“Live” status readable; animated dot stays bright green

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2026-09-22 10:07:28 +10:00
Lukas Bernert 593e95345a www: update compute size descriptions (Compute column, vCPU units) (#49998)
## What kind of change does this PR introduce?

www update: aligns compute descriptions on the pricing surfaces with the
current compute options. Counterpart to the docs update in #49996.

Fixes PROD-654

## What is the new behavior?

- Pricing compute table: the CPU and Dedicated columns are merged into a
single Compute column — "Shared compute" for Micro–Medium, "Dedicated ·
N vCPUs" for Large and above (the `dedicated` key is removed from
`PricingAddOnTable.json`)
- Pricing calculator: the instance summary line uses the new Compute
value directly
- Pricing compute section headline: "64 cores" → "64 vCPUs"
- `/pricing.md`, `/llms-full.txt`, `/llms/pricing.txt`: generated
markdown mirrors the new table
- `/database.md`: describes the compute range as Micro to 16XL+


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Pricing Updates**
- Compute pricing tables now label the column “Compute” and show shared
compute or dedicated vCPU counts.
  - Removed the separate “Dedicated” column from compute add-on tables.
- Dedicated-plan values now display consistently across desktop and
mobile layouts.
- Compute instance details no longer repeat the “CPU” label after the
CPU value.
  - Updated scaling language to refer to “64 vCPUs.”
- Simplified technical details by removing specific core-count examples
while retaining configurable sizing and autoscaling information.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-17 12:22:07 +02:00
Wen Bo Xie 20d09b4a72 docs(auth): clarify OAuth 2.1 server pricing is included in Auth MAUs (#49753)
OAuth 2.1 server had a single pricing statement anywhere, and it said
the feature is free during beta. This states the actual model everywhere
the feature is documented or sold: there is no separate charge, and
users who sign in through the OAuth server count toward Auth MAUs.

- docs getting started: replace the "free during beta" sentence with the
MAU-based pricing statement
- docs overview: add a Pricing section linking to the MAU usage guide
and the pricing page
- docs MCP authentication: note that agents authenticate as existing
users, and MAUs count per distinct user, so multiple agents for one user
count once
- www pricing comparison table: add an "OAuth 2.1 Server" row (included
on all plans) with a tooltip, and extend the MAU tooltip to cover OAuth
server sign-ins

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Clarified that OAuth 2.1 Server is available on all plans without a
separate charge.
* Explained that OAuth sign-ins count toward Monthly Active Users
(MAUs), with multiple agents for one user counted once.
  * Added links to MAU and pricing guidance.

* **Pricing**
* Added OAuth 2.1 Server as a plan feature and updated billing
descriptions for greater clarity.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-17 10:49:36 +08:00
c3ccf9179f fix(www): skip the careers-page globe when WebGL is unavailable (#50350)
## Summary
- `cobe`'s `createGlobe()` resolves the canvas context internally as
`getContext('webgl2') || getContext('webgl') || 'experimental-webgl'` (a
context-name *string*, not an actual context). When both `webgl2` and
`webgl` are unavailable, it falls through to that string, but modern
browsers no longer support the `experimental-webgl` context name, so the
resulting context is `null` and cobe crashes internally reading
`.enable(...)` on it.
- `apps/www/components/Globe.tsx` (used only on `/careers`) had no guard
for this, so a browser/device with WebGL disabled or unavailable (GPU
blocklist, corporate policy, privacy setting) crashes the entire careers
page via `globalErrorBoundary`.
- Fix: detect WebGL support ourselves (`getContext('webgl2') ||
getContext('webgl')`) before mounting the globe, and skip rendering it
(no globe, rest of the page renders fine) when unsupported.

## Evidence (Sentry, past week)
- [WWW-41](https://supabase.sentry.io/issues/7731263201/) — `TypeError:
Cannot read properties of null (reading 'enable')` on `/careers`, leaf
frame inside `cobe`/`phenomenon`.

## Test plan
- [ ] Manually confirmed `Globe.tsx` is only imported by
`apps/www/pages/careers.tsx`
- [ ] No automated test added (this is a purely decorative,
non-interactive canvas element with no existing test coverage); happy to
add one if reviewers want it

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01RUrmUfMBpPqkgerh9onNTM

---
_Generated by [Claude
Code](https://claude.ai/code/session_01RUrmUfMBpPqkgerh9onNTM)_

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Ali Waseem <waseema393@gmail.com>
2026-09-14 13:20:02 -06:00