Commit Graph
10233 Commits
Author SHA1 Message Date
Terry Sutton 3f83c5bdff Chore/fix functions editor (#21820)
Fix monaco theme
2024-03-07 14:43:00 +01:00
Chris Gwilliams 2f01f61680 Fix link for custom token (#21837) 2024-03-07 15:03:45 +02:00
Alaister Young c5afd2e7f8 chore: add branching feature flag (#21840)
* chore: add branching feature flag

* rename BranchingWaitListPopover component

* remove preview branch opt in tag
2024-03-07 11:05:55 +00:00
Jordi EnricandKevin Grüneberg c394886d24 fix: handle non-dates in chart header label (#21774)
handle non-dates in chart header label

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-03-07 10:53:23 +01:00
Joshen Lim cff9cc3522 fix missing warning for changing prod branch (#21839) 2024-03-07 20:41:02 +11:00
Jonathan Summers-Muir f609a7d08c move multi select (#21810)
* move multi select

* update imports
2024-03-07 06:43:12 +00:00
Alaister Young 643611fe37 feat: branch migration statuses (#21809) 2024-03-07 06:27:28 +00:00
Alaister Young 8772a1a9cf fix: <ProjectLinker /> wrongfully showing add github repo always (#21812)
* fix: <ProjectLinker /> wrongfully showing add github repo always

* remove span
2024-03-07 14:06:40 +08:00
Tyler 14ea8512e7 docs: Add parameters to basic CRUD and auth methods for Flutter (#21796)
* Add all init options

* Add params to CRUD methods

* Add params to basic auth methods

* fix typo
2024-03-07 10:01:51 +09:00
Caleb L b5da46a209 docs: fix typo in nextjs tutorial (#21822)
fix typo
2024-03-06 22:26:06 +00:00
Casey OcampoandCharis c84944daa1 docs: update auth-ui.mdx (#21794)
Update auth-ui.mdx

Add instructions for the "view" prop and "sign_up" and "sign_in" values

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-06 20:06:24 +00:00
David d0a2ced5f5 updated deprecated Sentry config (#21819) 2024-03-06 19:58:46 +00:00
Vojtech NovakandCharis dc9a58bb08 docs: mention RBAC in postgres roles (#21816)
* docs: mention RBAC in postgres roles

* Update apps/docs/content/guides/database/postgres/roles.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-06 17:10:40 +00:00
Kirill SoandCharis aeb74c8947 SvelteKit docs and examples - remove throw (#21637)
SvelteKit docs and examples changes for throw

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-06 15:52:21 +00:00
14ca7b6ed9 docs: add sentry integration docs (#21439)
* docs: add sentry integration docs

* feat: add sentry edge functions monitoring guide.

* feat: add sentry functions example.

* fix: navbar.

* chore: nits.

* chore: add to functions example list.

* fix: formatting.

* chore: add nextjs example.

* fix: rename sentry guide

* remove configuration options

* Apply suggestions from code review

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>

---------

Co-authored-by: thorwebdev <thor@supabase.io>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
2024-03-06 14:50:03 +00:00
Han Qiao 6d36debed2 fix: typo in description of pooler connection mode (#21802) 2024-03-06 20:54:33 +11:00
Alaister YoungandJoshen Lim 384b6c4f58 Braching fixes 06/03 (#21800)
* branching fixes 06/03

* fix width in project linker

* add space

* Fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-06 20:49:10 +11:00
Joshen Lim cea8e45166 Chore/read replicas fixes 040324 (#21731)
* Remove size selection and add info on rr billing

* Add prompt in SQL editor if trying to run mutation query in read replica

* Fix

* Fix dropping replica not optimistically updating, and support new replica statuses

* Invalidate load balancers after read replicas are spun up

* fix
2024-03-06 15:31:09 +08:00
Bobbie Soedirgo fdc8201b48 docs: add note re: requirement of PG14+ for read-only db role (#21798) 2024-03-06 06:39:35 +00:00
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