From 7261eead09ac019cb8b41b5f2706d7abd3167d44 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 30 Nov 2021 22:26:24 +0100 Subject: [PATCH 01/11] =?UTF-8?q?fix:=20small=20typo=20error=20in=20blog?= =?UTF-8?q?=20post=20=F0=9F=98=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/_blog/2021-11-30-supabase-studio.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/_blog/2021-11-30-supabase-studio.mdx b/www/_blog/2021-11-30-supabase-studio.mdx index e536ec4bfc9..0c42749bb43 100644 --- a/www/_blog/2021-11-30-supabase-studio.mdx +++ b/www/_blog/2021-11-30-supabase-studio.mdx @@ -74,7 +74,7 @@ and have it shipped to both the Platform and Self-Hosted environments - all in a ## Technical details -Let's jump into some of the technical implemetation for Supabase Studio. +Let's jump into some of the technical implementation for Supabase Studio. ### Tech stack From beda70dc7a34ebcb2c8c5a2486818202fce79561 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 30 Nov 2021 22:32:13 +0100 Subject: [PATCH 02/11] Update 2021-11-30-supabase-studio.mdx (#22) --- www/_blog/2021-11-30-supabase-studio.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/_blog/2021-11-30-supabase-studio.mdx b/www/_blog/2021-11-30-supabase-studio.mdx index 0c42749bb43..c071a8cc8c5 100644 --- a/www/_blog/2021-11-30-supabase-studio.mdx +++ b/www/_blog/2021-11-30-supabase-studio.mdx @@ -24,7 +24,7 @@ and [Self-Hosting](https://supabase.com/docs/guides/hosting/overview). Let's get the obvious question out of the way - why wasn't it already open source? When Ant and I started Supabase the codebase was one large monorepo which contained everything from the dashboard to cloud infrastructure code to experimental code. -This is our our preferred development setup - we like to keep all code in one place so that we have a single source of truth and tightly coupled CI workflows. +This is our preferred development setup - we like to keep all code in one place so that we have a single source of truth and tightly coupled CI workflows. The original Dashboard really wasn't much except a couple of button which allowed our Alpha users to start and stop a Supabase project - back then only a PostgreSQL connection string. From c7d24c33b641b4e26283aaad4e69fa93fc4a39da Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 30 Nov 2021 23:02:40 +0100 Subject: [PATCH 03/11] Update www/_blog/2021-11-30-supabase-studio.mdx Co-authored-by: Isaiah Hamilton <70828596+Isaiah-Hamilton@users.noreply.github.com> --- www/_blog/2021-11-30-supabase-studio.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/_blog/2021-11-30-supabase-studio.mdx b/www/_blog/2021-11-30-supabase-studio.mdx index c071a8cc8c5..8440b92f640 100644 --- a/www/_blog/2021-11-30-supabase-studio.mdx +++ b/www/_blog/2021-11-30-supabase-studio.mdx @@ -26,7 +26,7 @@ Let's get the obvious question out of the way - why wasn't it already open sourc When Ant and I started Supabase the codebase was one large monorepo which contained everything from the dashboard to cloud infrastructure code to experimental code. This is our preferred development setup - we like to keep all code in one place so that we have a single source of truth and tightly coupled CI workflows. -The original Dashboard really wasn't much except a couple of button which allowed our Alpha users to start and stop a Supabase project - back then only a PostgreSQL connection string. +The original Dashboard really wasn't much except a couple of buttons which allowed our Alpha users to start and stop a Supabase project - back then only a PostgreSQL connection string. Then time went on, and we started gaining traction - a lot faster than expected. The nice thing about building for developers is that they are very vocal about the features they want to see next. From e8d8da2cc87a06c47b4ce8d09333e4fbc4b3dd96 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 30 Nov 2021 23:06:18 +0100 Subject: [PATCH 04/11] Update 2021-11-30-supabase-studio.mdx --- www/_blog/2021-11-30-supabase-studio.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/_blog/2021-11-30-supabase-studio.mdx b/www/_blog/2021-11-30-supabase-studio.mdx index 8440b92f640..5960bee8e6f 100644 --- a/www/_blog/2021-11-30-supabase-studio.mdx +++ b/www/_blog/2021-11-30-supabase-studio.mdx @@ -55,7 +55,7 @@ Eventually we decided to open source all the frontend code, a shared codebase fo Special shout out -Sentry do a fantastic job of [documenting their strategy](https://develop.sentry.dev/sentry-vs-getsentry/) for managing a shared codebase and served as a great model for Supabase. +Sentry does a fantastic job of [documenting their strategy](https://develop.sentry.dev/sentry-vs-getsentry/) for managing a shared codebase and served as a great model for Supabase. From 1e24537485a28c8db8cbf76b4aa63042f75df61c Mon Sep 17 00:00:00 2001 From: Scott Pritchard Date: Tue, 30 Nov 2021 15:40:45 +0000 Subject: [PATCH 05/11] Update README.md The link in the last section was linking to a Notion page (requiring sign in), but was also followed by the link to the Supabase self-hosting docs --- studio/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/studio/README.md b/studio/README.md index c715d68c7b9..c2dfac57130 100644 --- a/studio/README.md +++ b/studio/README.md @@ -38,7 +38,7 @@ Project settings are managed outside of the Dashboard. If you use docker-compose ## Running within a self-hosted environment -Firstly, follow the guide [here](https://www.notion.so/supabase/'%3Chttps://supabase.com/docs/guides/hosting/docker%3E') to get started with self-hosted Supabase. +Firstly, follow the guide [here](https://supabase.com/docs/guides/hosting/docker) to get started with self-hosted Supabase. ``` cd .. From 853504e59101859be184dc4036e73b4b3d997361 Mon Sep 17 00:00:00 2001 From: Isaiah Hamilton Date: Tue, 30 Nov 2021 17:44:55 -0500 Subject: [PATCH 06/11] Fix Typo --- web/docs/guides/integrations/draftbit.mdx | 4 ++-- web/docs/guides/integrations/vercel.mdx | 2 +- web/docs/guides/local-development.mdx | 22 ++++++++++------------ 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/web/docs/guides/integrations/draftbit.mdx b/web/docs/guides/integrations/draftbit.mdx index a0867a6b920..2c508d43e80 100644 --- a/web/docs/guides/integrations/draftbit.mdx +++ b/web/docs/guides/integrations/draftbit.mdx @@ -65,7 +65,7 @@ In your Draftbit builder interface: In this section, let's populate a Fetch component with all the data from a simple Supabase and then display the data fetched from the Supabase data table in a List component. -For a reference, here is a how the Components tree looks like for this screen: +For reference, here is a how the Components tree looks like for this screen: ![Components tree](/img/guides/integrations/draftbit/ctree.png) @@ -158,7 +158,7 @@ In Draftbit, using a Touchable or a Button component, you can trigger the action Now, there is a working `POST` request in Draftbit. Map its response to the components on your screen in Draftbit. -First, for each input component, make sure you have set the Field Names (found in the Configs tab, second from the left) to unique values. For example, in the screen below, there is one TextInput field component with the the value of the `Field Name` prop of `textInputValue`. +First, for each input component, make sure you have set the Field Names (found in the Configs tab, second from the left) to unique values. For example, in the screen below, there is one TextInput field component with the value of the `Field Name` prop of `textInputValue`. ![Field Name prop on a TextInput component](/img/guides/integrations/draftbit/textinput.png) diff --git a/web/docs/guides/integrations/vercel.mdx b/web/docs/guides/integrations/vercel.mdx index d3da240fe4c..5f66c79ce03 100644 --- a/web/docs/guides/integrations/vercel.mdx +++ b/web/docs/guides/integrations/vercel.mdx @@ -135,7 +135,7 @@ npx vercel login This will ask if we are happy to install `vercel`. Type `y` and hit `Enter`. -We will the need to authenticate Vercel by selecting `Continue with GitHub`. +We will then need to authenticate Vercel by selecting `Continue with GitHub`. This will open a browser window where you need to authenticate with your GitHub account. diff --git a/web/docs/guides/local-development.mdx b/web/docs/guides/local-development.mdx index 82004236935..59806ff9128 100644 --- a/web/docs/guides/local-development.mdx +++ b/web/docs/guides/local-development.mdx @@ -4,14 +4,15 @@ title: Local Development description: How to use Supabase on your local development machine. --- -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; +import Tabs from '@theme/Tabs' +import TabItem from '@theme/TabItem' Supabase provides a CLI so that you can develop your application locally, rather than connecting to a live project. ## Prerequisites You will need to have these in your environment: + - Git - Docker (make sure the daemon is up and running) - Supabase CLI (instructions [here](https://github.com/supabase/cli)) @@ -44,7 +45,6 @@ service_role key: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZV9yb #### Accessing Services Directly - - ## Example application -Now that we've learned how to install and start Supabase locally, let's see how you can use it with a frontend application. +Now that we've learned how to install and start Supabase locally, let's see how you can use it with a frontend application. This quick-start guide will show you, how you can configure a React app which uses the Supabase stack. ```bash @@ -107,8 +105,8 @@ npx create-react-app react-demo --use-npm # move into the new folder cd react-demo -# set up Supabase -supabase init +# set up Supabase +supabase init # Save the install supabase-js library npm install --save @supabase/supabase-js @@ -145,7 +143,7 @@ When you're finished with Supabase, send Ctrl-C to stop the Docker se ## Migrations -You can also use the CLI to manage your migrations. Follow the the tour [here](https://github.com/supabase/cli/tree/main/examples/tour) to get started. +You can also use the CLI to manage your migrations. Follow the tour [here](https://github.com/supabase/cli/tree/main/examples/tour) to get started. ## Next steps From 8c4196c0ac9a4a8a3c6399b22b4cda4d744a41d5 Mon Sep 17 00:00:00 2001 From: Isaiah Hamilton <70828596+Isaiah-Hamilton@users.noreply.github.com> Date: Tue, 30 Nov 2021 17:52:28 -0500 Subject: [PATCH 07/11] Update local-development.mdx --- web/docs/guides/local-development.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/docs/guides/local-development.mdx b/web/docs/guides/local-development.mdx index 59806ff9128..7c10f14233e 100644 --- a/web/docs/guides/local-development.mdx +++ b/web/docs/guides/local-development.mdx @@ -4,8 +4,8 @@ title: Local Development description: How to use Supabase on your local development machine. --- -import Tabs from '@theme/Tabs' -import TabItem from '@theme/TabItem' +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; Supabase provides a CLI so that you can develop your application locally, rather than connecting to a live project. From dbef62f7da2b5cb96343028dbe1aae288a1d994b Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 30 Nov 2021 22:45:21 +0100 Subject: [PATCH 08/11] fix: syntax highlighting in pages example --- studio/pages/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/studio/pages/README.md b/studio/pages/README.md index f0506228140..32423b193de 100644 --- a/studio/pages/README.md +++ b/studio/pages/README.md @@ -7,7 +7,7 @@ ## Template for building pages -```ts +```tsx import { NextPage } from 'next' import { observer } from 'mobx-react-lite' From 5c592ad9d706de3e699bc5712a49139026d619cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leynier=20Guti=C3=A9rrez=20Gonz=C3=A1lez?= Date: Mon, 29 Nov 2021 14:17:26 -0500 Subject: [PATCH 09/11] fix: Python client library updates typos Especially `just synchronous` instead of `just asynchronous` --- www/_blog/2021-11-29-community-day.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/_blog/2021-11-29-community-day.mdx b/www/_blog/2021-11-29-community-day.mdx index 4951fe82a4d..78fa60a3680 100644 --- a/www/_blog/2021-11-29-community-day.mdx +++ b/www/_blog/2021-11-29-community-day.mdx @@ -91,9 +91,9 @@ Among many other awesome things, the SupaSquad has been absolutely on fire build - New maintainers [`@Dreinon`](https://github.com/dreinon), [`@anand2312`](https://github.com/anand2312), and [`@leynier`](https://github.com/leynier). 💚 - `gotrue-py` rewritten and now at feature parity with `gotrue-js`. -- Postgrest-py now support synchronous operations as well instead of just synchronous operations in the past. Also at feature-parity with postgrest-js. -- Supabase-py is now Supabase (e.g. you do `pip3 install supabase` instead of `pip3 install supabase-py`). -- Storage is working for the py client library but it's yet to be extracted out as a standalone lib. +- `postgrest-py` now support synchronous operations as well instead of just asynchronous operations in the past. Also at feature parity with `postgrest-js`. +- `supabase-py` is now `supabase` (e.g. you do `pip3 install supabase` instead of `pip3 install supabase-py`). +- Storage is working for the Python client library but it's yet to be extracted out as a standalone lib. ## New tutorials and integration guides From ba53afe233a85ec5e839f5d799f638343cb46d20 Mon Sep 17 00:00:00 2001 From: Isaiah Hamilton Date: Tue, 30 Nov 2021 18:15:21 -0500 Subject: [PATCH 10/11] Fix: Prettier --- www/pages/auth/Auth.tsx | 91 +++++++++++++++++++++++++++++++++++------ 1 file changed, 78 insertions(+), 13 deletions(-) diff --git a/www/pages/auth/Auth.tsx b/www/pages/auth/Auth.tsx index 26af2c29136..570a6d3f6ab 100644 --- a/www/pages/auth/Auth.tsx +++ b/www/pages/auth/Auth.tsx @@ -101,8 +101,18 @@ function AuthPage() {

- google auth login icon - facebook auth login icon + google auth login icon + facebook auth login icon
- gitlab auth login icon - bitbucket auth login icon - twitter auth login icon - apple auth login icon - discord auth login icon - microsoft auth login icon - messagebird auth login icon - twilio auth login icon - twitch auth login icon - spotify auth login icon - slack auth login icon + gitlab auth login icon + bitbucket auth login icon + twitter auth login icon + apple auth login icon + discord auth login icon + microsoft auth login icon + messagebird auth login icon + twilio auth login icon + twitch auth login icon + spotify auth login icon + slack auth login icon

All the social providers From 0bf66dc4790ccc30fa0c336f4c3d0dd41cdfebe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=AE=E9=B2=81=E6=96=87?= Date: Wed, 1 Dec 2021 10:12:10 +0800 Subject: [PATCH 11/11] update zh-cn readme --- i18n/README.zh-cn.md | 118 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 108 insertions(+), 10 deletions(-) diff --git a/i18n/README.zh-cn.md b/i18n/README.zh-cn.md index 60e0e5f5d57..06e9918a08e 100644 --- a/i18n/README.zh-cn.md +++ b/i18n/README.zh-cn.md @@ -61,17 +61,115 @@ Supabase 是一个[托管平台](https://app.supabase.io)。你可以注册并 我们的客户库是模块化的。每一个子库都是一个独立的实现,用于一个单一的外部系统。这是我们支持现有工具的方式之一。 -- **`supabase-{lang}`**:组合客户端库并对其进行增强。 - - `postgrest-{lang}`:与 [PostgREST](https://github.com/postgrest/postgrest) 交互的客户端库 - - `realtime-{lang}`:与 [Realtime](https://github.com/supabase/realtime) 交互的客户端库 - - `gotrue-{lang}`:与 [GoTrue](https://github.com/netlify/gotrue) 交互的客户端库 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
语言客户端模块-客户端(已集成在 Supabase 客户端中)
SupabasePostgRESTGoTrueRealtimeStorage
⚡️ 官方 ⚡️
JavaScript (TypeScript)supabase-jspostgrest-jsgotrue-jsrealtime-jsstorage-js
💚 社区 💚
C#supabase-csharppostgrest-csharpgotrue-csharprealtime-csharp-
Dart (Flutter)supabase-dartpostgrest-dartgotrue-langrealtime-dartstorage-dart
Go-postgrest-go---
Java--gotrue-java--
Kotlin-postgrest-ktgotrue-kt--
Pythonsupabase-pypostgrest-pygotrue-pyrealtime-py-
Rubysupabase-rbpostgrest-rb---
Rust-postgrest-rs---
Swiftsupabase-swiftpostgrest-swiftgotrue-swiftrealtime-swiftstorage-swift
-| 代码存储库 | 官方 | 社区 | -| --------------------- | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| **`supabase-{lang}`** | [`JS`](https://github.com/supabase/supabase-js) | [`C#`](https://github.com/supabase/supabase-csharp) \| [`Dart`](https://github.com/supabase/supabase-dart) \| [`Python`](https://github.com/supabase/supabase-py) \| `Rust` \| [`Ruby`](https://github.com/supabase/supabase-rb) \| `Go` | -| `postgrest-{lang}` | [`JS`](https://github.com/supabase/postgrest-js) | [`C#`](https://github.com/supabase/postgrest-csharp) \| [`Dart`](https://github.com/supabase/postgrest-dart) \| [`Python`](https://github.com/supabase/postgrest-py) \| [`Rust`](https://github.com/supabase/postgrest-rs) \| [`Ruby`](https://github.com/supabase/postgrest-rb) \| [`Go`](https://github.com/supabase/postgrest-go) | -| `realtime-{lang}` | [`JS`](https://github.com/supabase/realtime-js) | [`C#`](https://github.com/supabase/realtime-csharp) \| [`Dart`](https://github.com/supabase/realtime-dart) \| [`Python`](https://github.com/supabase/realtime-py) \| `Rust` \| `Ruby` \| `Go` | -| `gotrue-{lang}` | [`JS`](https://github.com/supabase/gotrue-js) | [`C#`](https://github.com/supabase/gotrue-csharp) \| [`Dart`](https://github.com/supabase/gotrue-dart) \| [`Python`](https://github.com/supabase/gotrue-py) \| `Rust` \| `Ruby` \| `Go` | ## 翻译