From 4d3ffe51a926e67402b781453640fa5bd20f7c80 Mon Sep 17 00:00:00 2001 From: dng Date: Thu, 8 Dec 2022 13:47:36 -0800 Subject: [PATCH 01/11] Fix build --- apps/docs/pages/new/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/pages/new/index.mdx b/apps/docs/pages/new/index.mdx index 8129efeaf0e..6427ecda752 100644 --- a/apps/docs/pages/new/index.mdx +++ b/apps/docs/pages/new/index.mdx @@ -277,7 +277,7 @@ export const platform = [ icon: '/docs/img/icons/menu/integrations', hasLightIcon: true, href: 'guides/integrations', - description: Explore a variety of integrations from our official third-party partners, + description: 'Explore a variety of integrations from our official third-party partners', span: 'col-span-12 lg:col-span-6', }, ] From 3eac401bd85f3f2f3fe0059369e763db005f2fbe Mon Sep 17 00:00:00 2001 From: dng Date: Thu, 8 Dec 2022 14:03:52 -0800 Subject: [PATCH 02/11] Update nav menu labels --- .../Navigation/NavigationMenu/NavigationMenu.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx index 4cc448a1303..8bf1304fa50 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx @@ -87,7 +87,7 @@ const SideNav = () => { level: 'home', }, { - label: 'Getting started', + label: 'Getting Started', icon: '/img/icons/menu/getting-started', href: '/getting-started', level: 'gettingstarted', @@ -156,7 +156,7 @@ const SideNav = () => { label: 'Client Library Reference', }, { - label: 'JavaScript Client', + label: 'JavaScript', icon: '/img/icons/javascript-icon', hasLightIcon: false, href: '/reference/javascript/start', @@ -170,7 +170,7 @@ const SideNav = () => { // level: 'reference_javascript', // }, { - label: 'Dart Client Library', + label: 'Flutter', icon: '/img/icons/dart-icon', hasLightIcon: false, href: '/reference/dart/start', @@ -180,21 +180,21 @@ const SideNav = () => { label: 'Tools Reference', }, { - label: 'Mangement API', + label: 'Management API', icon: '/img/icons/api-icon', hasLightIcon: false, href: '/reference/api/start', level: 'reference_javascript', }, { - label: 'CLI', + label: 'Supabase CLI', icon: '/img/icons/cli-icon', hasLightIcon: false, href: '/reference/cli/start', level: 'reference_javascript', }, { - label: 'Self hosting server', + label: 'Self-Hosting Server', icon: '/img/icons/menu/platform', href: '/reference/javascript/start', level: 'reference_javascript', From 8999502d47d4611be64d3516ecc3684819afaa8c Mon Sep 17 00:00:00 2001 From: dng Date: Thu, 8 Dec 2022 14:14:21 -0800 Subject: [PATCH 03/11] Update landing page copy --- apps/docs/pages/new/index.mdx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/docs/pages/new/index.mdx b/apps/docs/pages/new/index.mdx index 6427ecda752..a3f13a22da3 100644 --- a/apps/docs/pages/new/index.mdx +++ b/apps/docs/pages/new/index.mdx @@ -91,8 +91,8 @@ export const meta = { src="/docs/img/purple-glow-dark.png" />
-

Ready to make a full working app?

-

Follow our step-by-step tutorials

+

Ready to make a fully working app?

+

Follow the step-by-step tutorials.

@@ -190,7 +190,7 @@ export const products = [ icon: '/docs/img/icons/menu/auth', hasLightIcon: true, href: '/guides/auth', - description: 'Add and manage email and password, passwordless, OAuth, and mobile logins to your project through a suite of providers and APIs.', + description: 'Add and manage email and password, passwordless, OAuth, and mobile logins to your project through a suite of identity providers and APIs.', span: 'col-span-12 md:col-span-6', }, { @@ -198,7 +198,7 @@ export const products = [ icon: '/docs/img/icons/menu/storage', hasLightIcon: true, href: '/guides/storage', - description: 'Store, organize, transform, and serve large files—fully integrated with your Postgres database with Row Level Security policies.', + description: 'Store, organize, transform, and serve large files—fully integrated with your Postgres database with Row Level Security access policies.', }, { title: 'Realtime', @@ -218,11 +218,11 @@ export const products = [ export const apis = [ { - title: 'Javascript Client Library', + title: 'JavaScript Client Library', icon: '/docs/img/icons/javascript-icon', hasLightIcon: true, href: 'reference/javascript', - description: 'Official client libraries for Javascript and Typescript.', + description: 'Official client libraries for JavaScript and TypeScript.', }, { title: 'Flutter Client Library', @@ -264,7 +264,7 @@ export const apis = [ export const platform = [ { header: '/docs/img/cards/sample-card-header-3.svg', - title: 'Platform guides', + title: 'Platform Guides', icon: '/docs/img/icons/menu/platform', hasLightIcon: true, href: 'guides/hosting/platform', @@ -277,7 +277,7 @@ export const platform = [ icon: '/docs/img/icons/menu/integrations', hasLightIcon: true, href: 'guides/integrations', - description: 'Explore a variety of integrations from our official third-party partners', + description: 'Explore a variety of integrations from our official third-party partners.', span: 'col-span-12 lg:col-span-6', }, ] From 4512ed02816bc1c132cd897b93a61338b085e1fc Mon Sep 17 00:00:00 2001 From: dng Date: Thu, 8 Dec 2022 14:17:13 -0800 Subject: [PATCH 04/11] Fix tutorials link --- apps/docs/pages/new/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/pages/new/index.mdx b/apps/docs/pages/new/index.mdx index a3f13a22da3..afc9f54d660 100644 --- a/apps/docs/pages/new/index.mdx +++ b/apps/docs/pages/new/index.mdx @@ -92,7 +92,7 @@ export const meta = { />

Ready to make a fully working app?

-

Follow the step-by-step tutorials.

+

Follow the step-by-step tutorials.

From 3df41bb65f3b0c19a0585792d34f75b7f3fe9adc Mon Sep 17 00:00:00 2001 From: dng Date: Thu, 8 Dec 2022 14:48:02 -0800 Subject: [PATCH 05/11] Update support copy --- apps/docs/components/FooterHelpCallout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/components/FooterHelpCallout.tsx b/apps/docs/components/FooterHelpCallout.tsx index 364a8135687..bfaf6ec03f8 100644 --- a/apps/docs/components/FooterHelpCallout.tsx +++ b/apps/docs/components/FooterHelpCallout.tsx @@ -4,7 +4,7 @@ const FooterHelpCallout = () => {
Need some help?

Not to worry, we are here to help with our specialist engineers. You can submit a support - ticket via our dashboard. + ticket through the Dashboard.

) From 17e62731531cef74ac4bfcb6df42a71736a4dca2 Mon Sep 17 00:00:00 2001 From: dng Date: Thu, 8 Dec 2022 15:16:58 -0800 Subject: [PATCH 06/11] Reorder nav menu items --- .../NavigationMenu/NavigationMenu.tsx | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx index 8bf1304fa50..61542243d3a 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx @@ -35,17 +35,14 @@ const SideNav = () => { case url.includes(`/docs/guides/auth`) && url: setLevel('auth') break - case url.includes(`/docs/guides/storage`) && url: - setLevel('storage') + case url.includes(`/docs/guides/functions`) && url: + setLevel('functions') break case url.includes(`/docs/guides/realtime`) && url: setLevel('realtime') break - case url.includes(`/docs/guides/functions`) && url: - setLevel('functions') - break - case url.includes(`/docs/guides/integrations`) && url: - setLevel('integrations') + case url.includes(`/docs/guides/storage`) && url: + setLevel('storage') break case url.includes(`/docs/guides/platform`) || (url.includes(`/docs/guides/hosting/platform`) && url): @@ -54,6 +51,9 @@ const SideNav = () => { case url.includes(`/docs/guides/resources`) && url: setLevel('resources') break + case url.includes(`/docs/guides/integrations`) && url: + setLevel('integrations') + break case url.includes(`/docs/reference/javascript`) && url: setLevel('reference_javascript') break @@ -113,10 +113,10 @@ const SideNav = () => { level: 'auth', }, { - label: 'Storage', - icon: '/img/icons/menu/storage', - href: '/guides/storage', - level: 'storage', + label: 'Edge Functions', + icon: '/img/icons/menu/functions', + href: '/guides/functions', + level: 'functions', }, { label: 'Realtime', @@ -125,10 +125,10 @@ const SideNav = () => { level: 'realtime', }, { - label: 'Edge Functions', - icon: '/img/icons/menu/functions', - href: '/guides/functions', - level: 'functions', + label: 'Storage', + icon: '/img/icons/menu/storage', + href: '/guides/storage', + level: 'storage', }, ], [ @@ -138,18 +138,18 @@ const SideNav = () => { href: '/guides/hosting/platform', level: 'platform', }, - { - label: 'Integrations', - icon: '/img/icons/menu/integrations', - href: '/guides/integrations', - level: 'integrations', - }, { label: 'Resources', icon: '/img/icons/menu/platform', href: '/guides/resources', level: 'resources', }, + { + label: 'Integrations', + icon: '/img/icons/menu/integrations', + href: '/guides/integrations', + level: 'integrations', + }, ], [ { @@ -277,13 +277,13 @@ const SideNav = () => { - - - - + + + + {/* reference level */} Date: Thu, 8 Dec 2022 16:31:14 -0800 Subject: [PATCH 07/11] Update copy and links --- apps/docs/pages/guides/resources.mdx | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/apps/docs/pages/guides/resources.mdx b/apps/docs/pages/guides/resources.mdx index 5c5ede69fc5..4ca6d6f3303 100644 --- a/apps/docs/pages/guides/resources.mdx +++ b/apps/docs/pages/guides/resources.mdx @@ -16,7 +16,7 @@ export const meta = {
-### Migrating +### Migrate to Supabase Moving to Supabase to Firebase or Heroku is easy. We provide the guides and tools to help you do it fast. @@ -77,24 +77,32 @@ export const products = [ title: 'Firebase Auth', icon: '/docs/img/icons/menu/auth', hasLightIcon: true, - href: '/guides/auth', - description: 'Move all your users from Firebase Auth to Supabase.', + href: '/guides/migrations/firebase-auth', + description: 'Move your auth users from a Firebase project to a Supabase project.', span: 'col-span-12 md:col-span-4', }, { title: 'Firebase Data', icon: '/docs/img/icons/menu/database', hasLightIcon: true, - href: '/guides/database', - description: 'Move all your app data from Firebase to Supabase.', + href: '/guides/migrations/firestore-data', + description: 'Migrate the contents of a Firestore collection to a single PostgreSQL table.', span: 'col-span-12 md:col-span-4', }, { title: 'Firebase Storage', icon: '/docs/img/icons/menu/storage', hasLightIcon: true, - href: '/guides/storage', - description: 'Move all your files from Firebase to Supabase.', + href: '/guides/migrations/firebase-storage', + description: 'Convert your Firebase Storage files to Supabase Storage.', + span: 'col-span-12 md:col-span-4', + }, + { + title: 'Heroku', + icon: '/docs/img/icons/menu/storage', + hasLightIcon: true, + href: '/guides/migrations/heroku', + description: 'Migrate your Heroku Postgres database to Supabase.', span: 'col-span-12 md:col-span-4', }, ] From 617e82e8c98af55a68914845be79bee1e48ea52b Mon Sep 17 00:00:00 2001 From: dng Date: Thu, 8 Dec 2022 16:33:55 -0800 Subject: [PATCH 08/11] Update icon --- apps/docs/pages/guides/resources.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/pages/guides/resources.mdx b/apps/docs/pages/guides/resources.mdx index 4ca6d6f3303..73ed22533d3 100644 --- a/apps/docs/pages/guides/resources.mdx +++ b/apps/docs/pages/guides/resources.mdx @@ -99,7 +99,7 @@ export const products = [ }, { title: 'Heroku', - icon: '/docs/img/icons/menu/storage', + icon: '/docs/img/icons/menu/data', hasLightIcon: true, href: '/guides/migrations/heroku', description: 'Migrate your Heroku Postgres database to Supabase.', From 1c6624db4f73c08b957272c99d04209cdfc577cb Mon Sep 17 00:00:00 2001 From: dng Date: Thu, 8 Dec 2022 16:50:31 -0800 Subject: [PATCH 09/11] Update resources.mdx --- apps/docs/pages/guides/resources.mdx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/docs/pages/guides/resources.mdx b/apps/docs/pages/guides/resources.mdx index 73ed22533d3..231b515254d 100644 --- a/apps/docs/pages/guides/resources.mdx +++ b/apps/docs/pages/guides/resources.mdx @@ -18,8 +18,6 @@ export const meta = { ### Migrate to Supabase -Moving to Supabase to Firebase or Heroku is easy. We provide the guides and tools to help you do it fast. -
@@ -50,7 +48,7 @@ Moving to Supabase to Firebase or Heroku is easy. We provide the guides and tool ### Supabase CLI - Feel more at home on the command line? The Supabase CLI lets you develop your project locally and deploy to the Supabase Platform. The Supabase CLI can also help you manage your Supabase projects. You can handle database migrations, CI/CD workflows, and generate types from your database schema, all from the comfort of your Terminal. + Develop your project locally and deploy to the Supabase Platform. The Supabase CLI can also help you manage your Supabase projects, handle database migrations, CI/CD workflows, and generate types from your database schema, all from the comfort of your Terminal. [Learn more](/docs/guides/resources/supabase-cli) @@ -99,7 +97,7 @@ export const products = [ }, { title: 'Heroku', - icon: '/docs/img/icons/menu/data', + icon: '/docs/img/icons/menu/database', hasLightIcon: true, href: '/guides/migrations/heroku', description: 'Migrate your Heroku Postgres database to Supabase.', From 330d6444923604a9ef6fed4e8553e676ced3cefa Mon Sep 17 00:00:00 2001 From: dng Date: Thu, 8 Dec 2022 16:53:14 -0800 Subject: [PATCH 10/11] Update link --- apps/docs/pages/guides/resources.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/docs/pages/guides/resources.mdx b/apps/docs/pages/guides/resources.mdx index 231b515254d..feb6d3240eb 100644 --- a/apps/docs/pages/guides/resources.mdx +++ b/apps/docs/pages/guides/resources.mdx @@ -56,11 +56,11 @@ export const meta = {
- ### Self-hosted Supabase + ### Self-Hosting Supabase We're happy to host your next big thing, but we also make it easy to host Supabase on your own. We use Docker to help make setup as painless as possible. -[Learn more](/docs/guides/resources/supabase-cli) +[Learn more](/docs/guides/resources/self-hosting)
From ba4d004d43558558fd4bd4880c997a470c6dc9b5 Mon Sep 17 00:00:00 2001 From: dng Date: Thu, 8 Dec 2022 17:06:22 -0800 Subject: [PATCH 11/11] Update nav menu labels --- .../Navigation/NavigationMenu/NavigationMenu.constants.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts index 7fc1da0aa11..933f6398bd7 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts @@ -515,7 +515,7 @@ export const resources = { { name: 'Examples', url: '/guides/resources/examples', items: [] }, { name: 'Glossary', url: '/guides/resources/glossary', items: [] }, { - name: 'Migrating to Supabase', + name: 'Migrate to Supabase', url: '/guides/resources/migrating-to-supabase', items: [ { @@ -561,7 +561,7 @@ export const resources = { ], }, { - name: 'Self Hosting', + name: 'Self-Hosting', items: [ { name: 'Overview', url: '/guides/resources/self-hosting', items: [] }, { name: 'Docker', url: '/guides/resources/self-hosting/docker', items: [] }, @@ -571,7 +571,7 @@ export const resources = { } export const selfHosting = { - label: 'Self Hosting', + label: 'Self-Hosting', url: '/guides/self-hosting', items: [ { name: 'Overview', url: '/guides/hosting/overview', items: [] }, @@ -838,7 +838,7 @@ export const references = [ ], }, { - label: 'Self Hosting', + label: 'Self-Hosting', items: [ { label: 'Auth server',