From b66a8e58269a820f15e0e7e2389f61efacf731e4 Mon Sep 17 00:00:00 2001 From: dannykng Date: Wed, 21 Sep 2022 17:16:06 -0700 Subject: [PATCH 1/4] Move "Migrate to Supabase" sidebar section --- apps/reference/nav/_referenceSidebars.js | 26 ++++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/apps/reference/nav/_referenceSidebars.js b/apps/reference/nav/_referenceSidebars.js index 0ea927a7210..f4059866dba 100644 --- a/apps/reference/nav/_referenceSidebars.js +++ b/apps/reference/nav/_referenceSidebars.js @@ -7,7 +7,6 @@ const sidebars = { items: [ 'about', 'architecture', - 'guides/hosting/platform', 'guides/examples', ], }, @@ -34,18 +33,7 @@ const sidebars = { }, { type: 'category', - label: 'Migrate to Supabase', - collapsed: true, - items: [ - 'guides/migrations/firebase-auth', - 'guides/migrations/firestore-data', - 'guides/migrations/firebase-storage', - 'guides/migrations/heroku', - ], - }, - { - type: 'category', - label: 'Supabase CLI', + label: 'CLI', collapsed: true, items: [ 'guides/cli', @@ -194,6 +182,7 @@ const sidebars = { label: 'Platform', collapsed: true, items: [ + 'guides/hosting/platform', 'guides/platform/disk-usage', 'guides/platform/logs', 'guides/platform/metrics', @@ -208,6 +197,17 @@ const sidebars = { collapsed: true, items: ['guides/hosting/overview', 'guides/hosting/docker'], }, + { + type: 'category', + label: 'Migrate to Supabase', + collapsed: true, + items: [ + 'guides/migrations/firebase-auth', + 'guides/migrations/firestore-data', + 'guides/migrations/firebase-storage', + 'guides/migrations/heroku', + ], + }, { type: 'category', label: 'Integrations', From 7466bf9ad30d52b9380deb4561e0f9446b3bb415 Mon Sep 17 00:00:00 2001 From: dannykng Date: Wed, 21 Sep 2022 17:16:33 -0700 Subject: [PATCH 2/4] Update Supabase Platform doc --- apps/reference/docs/going-into-prod.mdx | 11 --- .../docs/guides/hosting/platform.mdx | 90 +++++++++++-------- 2 files changed, 52 insertions(+), 49 deletions(-) diff --git a/apps/reference/docs/going-into-prod.mdx b/apps/reference/docs/going-into-prod.mdx index 1abefc05cdb..ffa0ca1f879 100644 --- a/apps/reference/docs/going-into-prod.mdx +++ b/apps/reference/docs/going-into-prod.mdx @@ -47,17 +47,6 @@ After developing your project and deciding it's time to Go Live With Real Users, - Nightly backups for Pro tier projects are available on the Supabase dashboard for up to 7 days. - Upgrading to the Supabase Pro Tier will give you access to email support on support@supabase.io -## Platform status - -If Supabase experiences outages, we keep you as informed as possible, as early as possible. We provide the following feedback channels: - -- Status page: [status.supabase.com](https://status.supabase.com/) -- RSS Feed: [status.supabase.com/history.rss](https://status.supabase.com/history.rss) -- Atom Feed: [status.supabase.com/history.atom](https://status.supabase.com/history.atom) -- Slack Alerts: You can receive updates via the RSS feed, using Slack's [built-in RSS functionality](https://slack.com/help/articles/218688467-Add-RSS-feeds-to-Slack)
`/feed subscribe https://status.supabase.com/history.atom` - -Make sure to review our [SLA](/docs/company/sla) for details on our commitment to Platform Stability. - ## Next steps This checklist is always growing so be sure to check back frequently, and also feel free to suggest additions and amendments by making a PR on [GitHub](https://github.com/supabase/supabase). diff --git a/apps/reference/docs/guides/hosting/platform.mdx b/apps/reference/docs/guides/hosting/platform.mdx index 3a997d26c91..9304734111f 100644 --- a/apps/reference/docs/guides/hosting/platform.mdx +++ b/apps/reference/docs/guides/hosting/platform.mdx @@ -2,6 +2,7 @@ id: platform title: Supabase Platform description: Getting started with the Supabase Platform. +sidebar_label: Overview --- Supabase is a hosted platform which makes it very simple to get started without needing to manage any infrastructure. @@ -10,12 +11,14 @@ Visit [app.supabase.com](https://app.supabase.com) and sign in to start creating ## Projects -Each project on Supabase comes with these features: +Each project on Supabase comes with: -- A dedicated Postgres database. [Learn more](/docs/guides/database) -- Auto-generated APIs. [Learn more](/docs/guides/api) -- Auth and User management. [Learn more](/docs/guides/auth) -- Storage. [Learn more](/docs/guides/storage) +- A dedicated [Postgres database](/docs/guides/database) +- [Auto-generated APIs](/docs/guides/api) +- [Auth and user management](/docs/guides/auth) +- [Edge Functions](/docs/guides/functions) +- [Realtime API](/docs/guides/realtime) +- [Storage](/docs/guides/storage) ## Organizations @@ -31,36 +34,47 @@ You can invite your team members into your organizations to collaborate on proje You can also assign roles to your team members with different access levels. The table below shows the corresponding permissions for each available role in the Dashboard. -| Permissions | Owner | Administrator | Developer | -| ---------------------------- | ----- | ------------- | --------- | -| **Organization** | -| Can change organization name | ✅ | | | -| Can delete organization | ✅ | | | -| **Members** | -| Can add an Owner | ✅ | | | -| Can remove an Owner | ✅ | | | -| Can add an Adminstrator | ✅ | ✅ | | -| Can remove an Administrator | ✅ | ✅ | | -| Can add a Developer | ✅ | ✅ | | -| Can remove a Developer | ✅ | ✅ | | -| Can revoke an invite | ✅ | ✅ | | -| Can resend an invite | ✅ | ✅ | | -| **Billing** | -| Can read invoices | ✅ | ✅ | ✅ | -| Can read billing email | ✅ | ✅ | ✅ | -| Can change billing email | ✅ | | | -| Can view subscription | ✅ | ✅ | ✅ | -| Can update subscription | ✅ | ✅ | | -| Can read billing address | ✅ | ✅ | ✅ | -| Can update billing address | ✅ | ✅ | | -| Can read tax codes | ✅ | ✅ | ✅ | -| Can update tax codes | ✅ | ✅ | | -| Can read payment methods | ✅ | ✅ | ✅ | -| Can update payment methods | ✅ | ✅ | | -| **Projects** | -| Can create a project | ✅ | ✅ | | -| Can delete a project | ✅ | ✅ | | -| Can update a project | ✅ | ✅ | | -| Can pause a project | ✅ | ✅ | | -| Can resume a project | ✅ | ✅ | | -| Can restart a project | ✅ | ✅ | ✅ | +| Permissions | Owner | Administrator | Developer | +| ------------------------ | ----- | ------------- | --------- | +| **Organization** | +| Change organization name | ✅ | | | +| Delete organization | ✅ | | | +| **Members** | +| Add an Owner | ✅ | | | +| Remove an Owner | ✅ | | | +| Add an Adminstrator | ✅ | ✅ | | +| Remove an Administrator | ✅ | ✅ | | +| Add a Developer | ✅ | ✅ | | +| Remove a Developer | ✅ | ✅ | | +| Revoke an invite | ✅ | ✅ | | +| Resend an invite | ✅ | ✅ | | +| **Billing** | +| Read invoices | ✅ | ✅ | ✅ | +| Read billing email | ✅ | ✅ | ✅ | +| Change billing email | ✅ | | | +| View subscription | ✅ | ✅ | ✅ | +| Update subscription | ✅ | ✅ | | +| Read billing address | ✅ | ✅ | ✅ | +| Update billing address | ✅ | ✅ | | +| Read tax codes | ✅ | ✅ | ✅ | +| Update tax codes | ✅ | ✅ | | +| Read payment methods | ✅ | ✅ | ✅ | +| Update payment methods | ✅ | ✅ | | +| **Projects** | +| Create a project | ✅ | ✅ | | +| Delete a project | ✅ | ✅ | | +| Update a project | ✅ | ✅ | | +| Pause a project | ✅ | ✅ | | +| Resume a project | ✅ | ✅ | | +| Restart a project | ✅ | ✅ | ✅ | + +## Platform status + +If Supabase experiences outages, we keep you as informed as possible, as early as possible. We provide the following feedback channels: + +- Status page: [status.supabase.com](https://status.supabase.com/) +- RSS Feed: [status.supabase.com/history.rss](https://status.supabase.com/history.rss) +- Atom Feed: [status.supabase.com/history.atom](https://status.supabase.com/history.atom) +- Slack Alerts: You can receive updates via the RSS feed, using Slack's [built-in RSS functionality](https://slack.com/help/articles/218688467-Add-RSS-feeds-to-Slack)
`/feed subscribe https://status.supabase.com/history.atom` + +Make sure to review our [SLA](/docs/company/sla) for details on our commitment to Platform Stability. From 95984341f0a822e24a97c63c63ccaec3532e78eb Mon Sep 17 00:00:00 2001 From: dannykng Date: Wed, 21 Sep 2022 17:58:49 -0700 Subject: [PATCH 3/4] Move "See Also" sidebar content to footer --- apps/reference/docusaurus.config.js | 33 +++++++++++++++++------- apps/reference/nav/_referenceSidebars.js | 14 ---------- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/apps/reference/docusaurus.config.js b/apps/reference/docusaurus.config.js index 402702d71ac..7534657645b 100644 --- a/apps/reference/docusaurus.config.js +++ b/apps/reference/docusaurus.config.js @@ -190,6 +190,22 @@ const config = { label: 'Open source', to: '/oss', }, + { + label: 'Terms of Service', + to: '/docs/company/terms', + }, + { + label: 'Privacy Policy', + to: '/docs/company/privacy', + }, + { + label: 'Acceptable Use Policy', + to: '/docs/company/aup', + }, + { + label: 'Service Level Agreement', + to: '/docs/company/sla', + }, { label: 'Humans.txt', to: 'https://supabase.com/humans.txt', @@ -228,6 +244,14 @@ const config = { { title: 'Community', items: [ + { + label: 'SupaSquad', + href: 'https://supabase.com/docs/handbook/supasquad', + }, + { + label: 'Contributing', + href: 'https://supabase.com/docs/handbook/contributing', + }, { label: 'GitHub', href: 'https://github.com/supabase/supabase', @@ -250,15 +274,6 @@ const config = { }, ], }, - { - title: 'Beta', - items: [ - { - label: 'Join our beta', - href: 'https://app.supabase.com', - }, - ], - }, ], copyright: `Copyright © ${new Date().getFullYear()} Supabase.`, }, diff --git a/apps/reference/nav/_referenceSidebars.js b/apps/reference/nav/_referenceSidebars.js index f4059866dba..223b8edb293 100644 --- a/apps/reference/nav/_referenceSidebars.js +++ b/apps/reference/nav/_referenceSidebars.js @@ -230,20 +230,6 @@ const sidebars = { 'guides/integrations/vercel', ], }, - { - type: 'category', - label: 'See Also', - collapsed: true, - items: [ - 'faq', - 'handbook/contributing', - 'handbook/supasquad', - 'company/terms', - 'company/privacy', - 'company/aup', - 'company/sla', - ], - }, ], reference: [ { From 7f4a1b074ef19b42e8d9e13e754b4dd3272643a8 Mon Sep 17 00:00:00 2001 From: dannykng Date: Wed, 21 Sep 2022 18:04:39 -0700 Subject: [PATCH 4/4] Prettier --- apps/reference/nav/_referenceSidebars.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/reference/nav/_referenceSidebars.js b/apps/reference/nav/_referenceSidebars.js index 223b8edb293..462711d997e 100644 --- a/apps/reference/nav/_referenceSidebars.js +++ b/apps/reference/nav/_referenceSidebars.js @@ -4,11 +4,7 @@ const sidebars = { type: 'category', label: 'Overview', collapsed: true, - items: [ - 'about', - 'architecture', - 'guides/examples', - ], + items: ['about', 'architecture', 'guides/examples'], }, { type: 'category',