From 24da48d0b107f250e8a01a6546f70f712438a9ce Mon Sep 17 00:00:00 2001
From: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date: Fri, 1 Mar 2024 15:36:57 +0100
Subject: [PATCH 1/3] FIX: rm breaking error handler (#21692)
rm breaking error handler
---
.../interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx | 4 ----
1 file changed, 4 deletions(-)
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx
index 9d798eb2c86..9ba744f6ca2 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx
@@ -37,10 +37,6 @@ const UtilityPanel = ({
yKey: '',
})
- if (result?.error) {
- return
{result.error}
- }
-
return (
From 5302a01c60bac671bf6b0a4f067063842239475b Mon Sep 17 00:00:00 2001
From: Vojtech Novak
Date: Fri, 1 Mar 2024 17:18:46 +0100
Subject: [PATCH 2/3] docs: mention local option in generating-types.mdx
(#21695)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
---
apps/docs/content/guides/api/rest/generating-types.mdx | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/apps/docs/content/guides/api/rest/generating-types.mdx b/apps/docs/content/guides/api/rest/generating-types.mdx
index 397acf2e9c6..624749a1d17 100644
--- a/apps/docs/content/guides/api/rest/generating-types.mdx
+++ b/apps/docs/content/guides/api/rest/generating-types.mdx
@@ -30,6 +30,12 @@ Generate types for your project to produce the `types/supabase.ts` file:
npx supabase gen types typescript --project-id "$PROJECT_REF" --schema public > types/supabase.ts
```
+or in case of local development:
+
+```bash
+npx supabase gen types typescript --local > types/supabase.ts
+```
+
These types are generated from your database schema. Given a table `public.movies`, the generated types will look like:
```sql
From 51dd35283df56e8cc82d6e64b3db4a7d8166b6ea Mon Sep 17 00:00:00 2001
From: Egidio Salinaro <129901135+egidiosalinaro@users.noreply.github.com>
Date: Fri, 1 Mar 2024 17:25:06 +0100
Subject: [PATCH 3/3] Update error about Magic Link in auth-ui.mdx (#21694)
In documentation, the default label for Magic Link `link_text` was wrong
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
---
apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx b/apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx
index 2ce5f9fff37..0fc93deb684 100644
--- a/apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx
+++ b/apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx
@@ -397,7 +397,7 @@ A full list of the available variables is below:
| `email_input_placeholder` | Your email address |
| `button_label` | Sign in |
| `loading_button_label` | Signing in ... |
-| `link_text` | Already have an account? Sign in |
+| `link_text` | Send a magic link email |
| `confirmation_text` | Check your email for the magic link |