Commit Graph
21 Commits
Author SHA1 Message Date
Danny White 28cd7ada35 fix(www): add local KB rewrite URL (#50452)
## What kind of change does this PR introduce?

Bug fix for the local www development environment.

## What is the current behaviour?

Running `pnpm dev:www` fails Next.js rewrite validation because
`NEXT_PUBLIC_KB_URL` is missing from the tracked public environment
defaults, producing an `undefined` destination for `/kb`.

## What is the new behaviour?

The tracked public environment defines the local KB URL, matching
`.env.local.example`, so the www rewrite configuration is valid in a
fresh checkout.

## To test

1. Run `pnpm dev:www`.
2. Open http://localhost:3000.
3. Confirm www starts without the `Invalid rewrites found` error for
`/kb`.

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

## Summary by CodeRabbit

* **Configuration**
* Added a public URL setting for accessing the knowledge base service in
local development.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-16 06:21:26 +00:00
Saxon Fletcher cb35e1f98e chore(library): update routes, redirects, and naming (#48668)
Our UI Library registry is expanding to include blocks that go beyond UI
and in some cases focus purely on back-end. This PR is a precursor to
adding more back-end related blocks. This PR includes the `ui-library ->
library` rename plus redirects and small UI copy updates. Since this is
a rename we'll need to update Vercel configuration.

## Vercel rollout

Keep the Library project Root Directory as `apps/ui-library`

1. In the **Library** Vercel project, set:

   `NEXT_PUBLIC_BASE_PATH=/library`

Apply it to Preview and Production, then redeploy the Library project.

2. In the **www** Vercel project, add:

`NEXT_PUBLIC_LIBRARY_URL=<current value of NEXT_PUBLIC_UI_LIBRARY_URL>`

Apply it to Preview and Production. Keep `NEXT_PUBLIC_UI_LIBRARY_URL`
during the migration, then redeploy the www project.

3. Deploy in this order:

   1. Library project
   2. www project

4. Validate:

   - `/library`
   - `/library/docs/nextjs/password-based-auth`
   - `/ui` redirects to `/library`
- `/ui/docs/nextjs/password-based-auth` redirects to
`/library/docs/nextjs/password-based-auth`
- `/ui/docs/ai-editors-rules/*` still uses its existing Docs redirects

No Vercel dashboard redirect rules are needed. Environment-variable
changes require a new deployment.

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

* **New Features**
* Supabase UI Library has been renamed to **Supabase Library** across
navigation, pages, documentation, and resource links.
* The Library is now available at `/library`, with updated descriptions
covering components, blocks, and developer tools.
* **Bug Fixes**
* Added permanent redirects from legacy `/ui` URLs to corresponding
`/library` paths.
* Updated links throughout the site and documentation to prevent broken
navigation and references.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-11 13:37:32 +10:00
Danny White adc5cd8226 chore(design-system): rewrite to design-system site (#42187)
* rewrites

* handle /design-system

* ivan suggestions

* rabbit

* use design-system instead
2026-01-28 07:28:33 +00:00
Alan Daniel 4d7b66888d new /events page (#40222)
* draft new page

* nits

* adding description in file events

* event list

* nits in grid size

* filters

* fetch descriptions from luma

* fetching right data

* upd

* responsive

* reponsive skeleton

* more nits
2025-11-18 18:56:11 +00:00
Francesco Sansalvadore 2feda5ee19 cms www blog (#38045)
* show cms blog posts in www
* remove contentlayer from www
* outputFileTracingExcludes
* update remotePatterns
* fetch cms posts server-side with revalidation
* add cms env vars to turbo.json
* add www env vars to turbo.json
* include cms posts in www sitemap
* add migration to remove image from cms post
* update cms meta image mapping in www
2025-09-03 14:49:28 +02:00
Kevin Grüneberg 1524b44fdb fix: env var (#34478) 2025-03-27 15:27:03 +00:00
Kevin Grüneberg ae8ce04f16 chore: .env file pull for www (#19511) 2023-12-07 14:58:34 +01:00
Ivan Vasilov 5fed762d1f fix: Remove the become a partner button from the Experts page (#19359)
* Remove all become a partner buttons from the partner page.

* Move the private env vars to env.local.example
2023-12-01 11:48:39 +01:00
Francesco Sansalvadore 98b2cdb457 update www env vars 2023-09-19 11:39:57 -04:00
Terry Sutton da4a004dd6 Add newly rolled anon key, fix up env var references 2023-08-17 10:17:10 -02:30
Jonathan Summers-Muir 237604e200 fix accoridon 2022-12-13 17:57:25 +08:00
Jonathan Summers-Muir 73290a9a46 Update .env 2022-12-13 16:30:02 +08:00
Terry Sutton 70d879329b remove env keys 2022-11-29 09:32:16 -03:30
Terry Sutton 3a5e18ee69 Merge branch 'feat/lw6-landing' of github.com:supabase/supabase into feat/lw6-landing 2022-11-29 09:26:00 -03:30
Terry Sutton 29f748303e Revert "fix: fix path rewriting for local dev for docs pages"
This reverts commit 3e79b80d32.
2022-11-21 15:38:19 -03:30
TzeYiing 3e79b80d32 fix: fix path rewriting for local dev for docs pages 2022-11-22 02:37:56 +08:00
Joshen Lim 8653ad9733 Revert "Fix/react types issue build issues" 2022-08-14 16:27:24 +08:00
Jonathan Summers-Muir 519154b2ac force www to preview deploy 2022-08-13 19:47:30 -05:00
Jonathan Summers-Muir 29f31887ea Update .env 2022-08-12 16:21:42 -03:00
Jonathan Summers-Muir 384e7136d3 chore: add redirect 2022-07-28 08:46:54 -04:00
Jonathan Summers-Muir 8948a388cc chore: add .env file to be public for /apps/www 2022-04-30 00:19:43 +08:00