Commit Graph
10214 Commits
Author SHA1 Message Date
Tyler e6eaddbb54 docs: Removes overrideParams from the docs code (#21797)
Removes overrideParams from the docs code
2024-03-06 14:42:10 +09:00
TheOtherBrian1 3e7ed2e81b Add a logging/debugging section to database function docs (#21749)
* Add a logging/debugging section to database function docs 

Accidentally closed and deleted the original PR:
- https://github.com/supabase/supabase/pull/20787

This is an update

* Referenced Severity levels
2024-03-06 02:36:34 +00:00
Beng Eu a847ceb80e docs: remove outdated info on limited hardware (#21729) 2024-03-06 09:06:52 +08:00
Michael Obubelebra AmachreeandCharis Lam 6e7e0426f3 Refactored quickstart guides for Next.js, React, and SvelteKit (#21517) (#21607)
* Refactored quickstart guides for Next.js, React, and SvelteKit (#21517)

* change suggested links

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-03-05 20:02:32 +00:00
Vojtech NovakandCharis f391b4b8ff docs: fix link (#21779)
the original link is valid but leads to a place that's nor relevant for testing

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 18:08:38 +00:00
Onur Usluca 305106e911 Remove duplicate import: nextjs.mdx (#21786) 2024-03-05 17:50:29 +00:00
Rodrigo Mansueli cb4ee4c6a0 feat: add edge functions headers page (#21784)
* feat: add edge functions headers page

* Update functions-headers.mdx
2024-03-05 14:44:43 -03:00
Guilherme Souza 690f1747eb chore: add Guilherme Souza to humans.txt (#21782) 2024-03-05 14:38:07 -03:00
Jordi Enric 381d936c4d fix: dates and 14 day selector (#21783) 2024-03-05 18:24:14 +01:00
7548fd1850 feat: Conversational AI for the SQL Editor (#21388)
* Add a API endpoint for generating queries for the SQL editor.

* Merge all multiline props.

* Add a new component for diff actions.

* Copy components for the AI panel.

* Add useChat hook.

* Add a feature preview for the this feature. The preview is dependent on the feature flag.

* Reorder the nesting in the SQL editor to accomodate the AI assistant.

* Try to fit both AI assistants in the SQL editor, available via a feature preview.

* Refactor the SQL editor to make the diff work correctly in all cases.

* Minor fixes for the old AI feature.

* Fix the debug functionality to work with both assistants.

* Fix some copy-paste leftovers.

* Remove unneeded code.

* Make the icons softer.

* Fix the name of the panel component.

* Fix console.logs.

* Add overflow to the AI assistant.

* surface opt in config in ai settings button

* Skip diffing if editor is empty

* Add selected state when selecting a message to insert/replace code

* Add sample prompts

* Add SQL ai dislaimer when replacing code

* Light mode action bar nudges

* Add text for the feature preview.

* lang nudges

* Hide the command suggestions for now.

* Set the discussion url to undefined.

* Don't add the disclaimer twice.

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-03-05 17:26:11 +01:00
Jordi EnricandJoshen Lim 010aa4bf90 fix: add payment method fix - revert hcaptcha changes (#21781)
* revert

* Fix missing hcaptchastore import in _app

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-05 23:51:16 +08:00
Beng Eu 64bbbab499 fix: invalidate project details after connected successfully (#21778) 2024-03-05 23:29:57 +08:00
Kyle Rummens 523f241067 Fix/#21742 format stats chart numbers (#21760)
fix: format numbers in statistics charts on hover
2024-03-05 15:11:17 +00:00
Terry Sutton f3086ddbd5 Fix snippet truncation (#21777) 2024-03-05 09:55:08 -03:30
Beng EuandJonathan Summers-Muir 26a10bee92 feat: add alert for restart of projects scheduled for migration, showing planned maintenance window (#21701)
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-03-05 21:12:54 +08:00
Kevin Grüneberg 0f251bc337 chore: bump turbo (#21773) 2024-03-05 12:49:12 +01:00
Jonathan Summers-MuirandJoshen Lim 9104cbc359 Chore/add first pattern docs (#21741)
* remove un-needed stuff

* Update preview.js

* Update preview.js

* upgrade sb

* Update preview.js

* chore: main init of the confirmTextModal

* update modals

* dialog positioned fixed

* fix backdrop

* chore: overlay now wrapping DialogContent !!

* more modal updates

* fix props

* update size

* padding fixed

* Update Dialog.stories.tsx

* add padding to more Dialog stuff

* update text

* start using subcomponents in storybook

* make thinner because it's too wiiiiide

* Tiny fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-05 18:08:28 +08:00
Jonathan Summers-MuirandJoshen Lim 8c68a09fc4 Chore/improve search input sql editor (#21546)
* init input and button changes

* clean up

* button now active state when dropdown or popover active

* Update TableEditorMenu.tsx

* Update TableEditorMenu.tsx

* fix hover issues

* Update SchemaSelector.tsx

* Add new patterns for inner side panel. expose HoverCard. Update Tooltip

* update SQL editor patterns

* Fix general bugs found, just not 100% on the UX

* Revert default open

* row back changes

* improve empty state

* update snippet headers

* Small fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-05 17:47:49 +08:00
Chloe bd46f3df8e Add capitalization to pages for better readability: ‘settings page’ -… (#21768)
Add capitalization to pages for better readability: ‘settings page’ -> ‘Settings page'

'welcome page' -> 'Welcome page'
2024-03-05 07:52:22 +00:00
Nick James 9a68e5a377 Update with-svelte.mdx (#21432)
### Account page fixed sign out function
2024-03-05 06:38:20 +00:00
Ryan HallidayandCharis c7650b100e Update next.js setup docs email template (#21466)
* Update next.js setup docs email template

The email templates need to have the type parameter. 

The wording here is a bit clumsy but it's hard to convey succinctly. A variable for the email type would be kinda cool. 

I was getting 401 `AuthApiError: Email link is invalid or has expired` until I changed this for my `magiclink`

* Update apps/docs/content/guides/auth/server-side/nextjs.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 06:33:22 +00:00
LeoandCharis 4d829bfb93 Add missing import to nextjs.mdx (#21527)
* Add missing import to nextjs.mdx

* Update apps/docs/content/guides/auth/server-side/nextjs.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 06:27:20 +00:00
Tyler 64863f407f docs: Add params option to reference docs so that non-js client libs can add parameters (#21708)
* Adds params option for reference docs

* move params below description

* Apply suggestions from code review

* Update apps/docs/spec/supabase_dart_v2.yml
2024-03-05 15:06:07 +09:00
Minh AuandCharis fb9e6aa9b1 Sync NextJs Quick Start and Web App Tutorials (#21718)
* rename 'web app tutorials' to 'web app demos'

* replace auth helper with server-side auth

* add more descriptive instructions

* fix small typos

* create a section on supabase utitlies

* update middleware section to include utilities

* update supabase auth ui to include the utilities

* add a login/signup form

* replace supabase auth ui section with a note

* update PCKE section to use /auth/confirm route instead of /auth/callback

* update Account Page section to use utilities and switch locations

* update Sign out section to use utilities

* update bonus section to include utilities

* minor fixes

* Apply suggestions from code review

* format

* format

* fix js examples

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 01:04:48 -05:00
Menushka WeeratungaandCharis 4f7874edfe docs: Add missing import (#21767)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 06:04:26 +00:00
hallidayoandChris Gwilliams e9763360a1 docs: nextjs missing createClient example code (#21532)
added createClient function example

Co-authored-by: Chris Gwilliams <517923+encima@users.noreply.github.com>
2024-03-05 00:49:38 -05:00
Jonathan Summers-Muir 5b9630ecfc Chore/upgrade sb (#21726)
* remove un-needed stuff

* Update preview.js

* Update preview.js

* upgrade sb

* Update preview.js

* Update main.js
2024-03-05 13:44:44 +08:00
Beng Eu c390068102 fix: handle new size for connection pooling settings (#21700) 2024-03-05 13:14:43 +08:00
Kevin Grüneberg f16810af06 perf: load hcaptcha on demand (#21745) 2024-03-05 12:52:39 +08:00
Kevin Grüneberg c98c59938a perf: lazyload feature preview modal (#21744) 2024-03-05 12:51:47 +08:00
Kevin Grüneberg 0073518136 perf: improve prism-react-renderer setup (#21752) 2024-03-05 12:51:11 +08:00
Kevin Grüneberg 136728f6ab perf: reorganize a few imports to improve bundle size (#21743) 2024-03-05 12:49:58 +08:00
Charis cb7c67864b chore: linting rule tweaks and error fixes (#21678) 2024-03-04 23:32:46 -05:00
CoppleandHan Qiao 21d1b8afbb chore: update cli reference doc (#21764)
* chore: update cli reference doc

* Update apps/docs/spec/cli_v1_commands.yaml

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-03-04 23:27:37 -05:00
David 5d7e6bc333 fixed local development link in RBAC docs (#21762) 2024-03-05 03:28:56 +00:00
Ariel NathanandCharis 33d73f2e7a docs: reword phone login sentence (#21716)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 02:55:48 +00:00
Div Arora cc2425d11b fix: typo in region name (#21761) 2024-03-05 09:43:06 +08:00
Madhav BansalandCharis 70c118df90 Guide to Setting Up TextLocal as Your Phone Login Provider (#21499)
* Add TextLocal SMS Login to NavigationMenu.constants.ts and create guide for Phone Auth with TextLocal

* Fix typo in Textlocal SMS Login

* Update Textlocal integration and documentation for DLT compliance.

* Addressed comments

* Update Textlocal SMS Login name

* Update Textlocal SMS Login name to 'Textlocal SMS Login (Community Supported)'

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 01:11:57 +00:00
Kamil Ogórek 148a872e17 docs(branching): Specify that only migrations are applied (#21759) 2024-03-04 18:37:25 -05:00
Wen Bo XieandCharis 4085e31304 docs: re-order Read Replicas doc sections (#21703)
* docs: re-order Read Replicas doc sections

* chore: fix typo about compute size change

* Update apps/docs/content/guides/platform/read-replicas.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/platform/read-replicas.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/platform/read-replicas.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* docs: remove duplicate image

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-04 15:09:12 -08:00
Michael Owen b7ea0994e4 Format numbers in statistics charts #21742 (#21750)
use Intl.NumberFormat() without explicit locale.
2024-03-04 18:36:44 +00:00
Thor 雷神 SchaeffandCharis 7ce6958030 feat: add rbac claim auth hook. (#21263)
* feat: add rbac claim auth hook.

* feat: get user role from jwt.

* chore: update full-schema.

* feat: add RBAC guide.

* feat: use plpgsql.

* Apply suggestions from code review

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* chore: make top level claim.

* chore: set search_paths.

* chore: accessing custom claims.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-04 14:24:32 +00:00
Kevin Grüneberg f9a55935f5 chore: use type imports for types/interfaces (#21738) 2024-03-04 20:48:22 +08:00
Tyler 8921b977e7 fix: Fix minor format errors in the Postgrest aggregate function article (#21735)
Fix format
2024-03-04 12:22:23 +01:00
Joshen Lim fb9dfac075 Remove observer and ui.setNotification calls (#21725)
* Remove observer and ui.setNotification calls

* lint

* Fix missing export
2024-03-04 11:12:22 +00:00
Kevin Grüneberg 13cfc0abb5 fix: barrel imports (#21728)
Avoid importing all components via barrel files that lead to bloated bundles/chunks
2024-03-04 18:39:53 +08:00
Ivan Vasilov 520562f72e fix: Better errors in SQL editor (#21696)
Throw the same error instead of wrapping it and losing information like formattedError.
2024-03-04 11:18:15 +01:00
Chris Gwilliams d66c0aea2a Add recommended disk sizes to Compute docs (#21446) 2024-03-04 10:58:32 +02:00
Joshen Lim bb5108e154 Chore/foreign key management in column editor (#21683)
* Support adding foreign key via ColumnEditor

* Support updating/deleting foreign key from ColumnEditor
2024-03-04 16:00:00 +08:00
74563fbeba chore(branching): GitHub integration 2.0 (#21008)
* start new github integration

* query/mutation updates

* progress

* branch management

* update codegen

* progress

* progress

* Refactor GitHub integration URLs

* Refactor GitHubIntegrationAuthorize component

* Updates

* Do not remove GitHub connection when creating new one

* Deleting a GH connection when branching is enabled for the project, will also disable branching for that project

* Add link to configure connection from org integration settings page

* Slight refactor

* Support updating CWD path

* Change cwd_path to workdir and disallow empty values

* Allow for triggering branches on supabase directory changes only

* Pass missing supabaseChangesOnly value

* Small style fix

* Add Authorization GitHub step

* Small change

* Fix supabase integrations form in project settings

* Revert URLa nd client ID

* Fix UI issues

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
2024-03-04 18:17:26 +11:00