Commit Graph
27073 Commits
Author SHA1 Message Date
Charis be2af86c9c fix: github edit link for docs pages (#21095) 2024-02-07 16:08:43 -05:00
Charis e20038e2f2 refactor: move auth guides into content directory (#20777)
Begin the process of moving our MDX files into their own content directory.

Fixed a few minor bugs re: ToC and tabs not rerendering consistently on page navigation. (The ToC thing wasn't a problem before the refactor, the tabs thing is a problem on prod.)

Moved MDX files can't import their own components, so everything they require needs to be back in the component prop for mdx-remote's serializer. Cleaned this up a bit and lazy-loaded heavy/rare stuff. Also, the component prop doesn't take arbitrary objects (only actual components), so imported data has to be wrapped in a component.
2024-02-07 17:25:08 +00:00
Charisandgithub-tidy-bot 961c8be87e tweak nextjs guide from feedback (#21066)
Co-authored-by: github-tidy-bot <github-tidy-bot@supabase.com>
2024-02-07 14:36:34 +00:00
ab42f99be0 Reset state and set enable form actions for add role sidebar. (#20840)
* Reset state and set enable form actions for add role sidebar.

* Update apps/studio/components/interfaces/Database/Roles/CreateRolePanel.tsx

* Update apps/studio/components/interfaces/Database/Roles/CreateRolePanel.tsx

* Revert

---------

Co-authored-by: Santosh Pisini <>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-02-07 21:38:06 +08:00
Kevin Grüneberg 0fdb7ec5dc chore: bump turbo/supabase (#21072) 2024-02-07 21:17:39 +08:00
Kevin Grüneberg 0c0a95b6c8 fix: prettier json(c) formatting (#21074) 2024-02-07 21:17:11 +08:00
Thomas e0aa2b1ccc Fixes copy in compute add-on box on pricing page (#21077) 2024-02-07 13:16:47 +01:00
Joshen Lim 8841a46dce Fix deleting a query thats not saved throwing an error (#21082) 2024-02-07 11:38:01 +00:00
Kamil Ogórek 09bd8d0c8f ref: Change partners page revalidation to 30 minutes (#21080) 2024-02-07 11:21:38 +00:00
Joshen Limandgithub-tidy-bot 53c5500be4 feat/sql editor support bulk deletes (#21004)
* Revert "Revert "Feat/sql editor support bulk deletes" (#21003)"

This reverts commit 30245c9490.

* ci: Autofix updates from GitHub workflow

* Lint

---------

Co-authored-by: github-tidy-bot <github-tidy-bot@supabase.com>
2024-02-07 18:03:15 +08:00
Inian e5efb3ba2c update edge functions tagline (#21071) 2024-02-07 17:21:40 +08:00
Kevin Grüneberg aeec54ffb9 fix: scroll to compare plans (#21075) 2024-02-07 06:26:47 +00:00
Tyler Hillery 983f444793 Add Tyler to humans.txt (#21061)
Update humans.txt
2024-02-07 14:01:03 +08:00
Francesco Sansalvadore 70b9a6bcc5 Pricing page update (#20744) 2024-02-07 12:59:25 +08:00
Jordi Enric 98dcc2e2d8 Add "Infrastructure" as a title to the navigation menu in logs (#21056)
add the title
2024-02-07 10:32:25 +08:00
Tyler 7393769be5 docs: Updated Flutter reference docs for filters to be more aligned with js docs (#21036)
* Updated Flutter docs to have better contains and contained by example

* Add data source to Flutter docs

* Tidy up the using filters section

* fix: show the data directly in sample response
2024-02-07 01:28:25 +00:00
Mohammed Yasin MullaandMohammed Yasin Mulla 4d53206444 fix: subscription unsubscribe doc (#21067)
Co-authored-by: Mohammed Yasin Mulla <mohammedyasin@obmondo.com>
2024-02-06 21:18:27 +00:00
hallidayo 5111de0560 fix: mobile search width (#20978) 2024-02-06 15:59:47 -05:00
Rodrigo Mansueli c2dfc437c3 Update edge-functions.tsx (#21064)
clarifies : https://github.com/supabase/supabase/issues/21046
2024-02-06 17:35:40 -03:00
Jan Tennert c59da45a3e Fix Kotlin OTP Auth docs (#20988)
* Fix auth docs

* fix typo

* Clarify sending otps
2024-02-06 19:04:07 +00:00
Kang MingandCharis Lam 30d60342df docs: update phone auth (#21022)
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-02-06 18:45:08 +00:00
Matthew TseandCharis Lam 6781437dff Fix typo row-level-security.mdx (#20991)
* Fix typo row-level-security.mdx

The sentence was missing the noun.

* Run prettier on apps/*

* Revert "Run prettier on apps/*"

This reverts commit c24de2591c.

* revert prettier config changes

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-02-06 18:36:48 +00:00
Hugo KorteandCharis 34db29646b Changed '' to '/', this fixes issues with accessing cookies from different routes (#21052)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-06 17:20:14 +00:00
Bobbie Soedirgo 3aa35dc0af docs: remove note re: gh secret scanning for now (#20467) 2024-02-06 12:03:00 -05:00
Ivan Vasilov a18c11807d fix: Refetch project details when reseting the database password (#21053)
Invalidate the project details (and refetch the connection string) when the user resets the DB password.
2024-02-06 17:15:07 +01:00
Jordi Enric 36996ab0ac fix/logs-kaizen (#21047)
* align items in row headers

* fix col order and flickering
2024-02-06 17:05:14 +01:00
Ivan Vasilov 4efc350bf5 fix: Don't show the tooltip if the ipv4 addon is added (#20935) 2024-02-06 23:02:42 +08:00
Jordi Enric 44b9ce3e5f feat: query performance improvements (#20907)
* very wip

* add expandable rows

* fix table layout, collapsible row, spacing issues

* use new query with filters everywhere

* rm unused queries

* rm unused fn

* improve loading state

* fix text overflowing in role

* rm padding so that table doesn't always need scroll

* fix icon in search input

* add latency to table row heading to clarify what col youre sorting with

* rm unused imports

* run prettier

* align sql with row content

* add syntax highlighting and sort icons

* rm copy btn

* move tailwind dep to correct package, rm unused syntax highlighting, rm unused component
2024-02-06 15:47:22 +01:00
Tyler 1b1180c8bb fix: Fix the sample code for sending FCM from Supabase edge functions (#21039) 2024-02-06 16:17:38 +09:00
Joshen Lim 351fa698ce Update GET and PATCH pooling config to use supavisor endpoints (#20944)
* Update GET and PATCH pooling config to use supavisor endpoints

* Fix TS warning

* Small fix

* Remove unused import
2024-02-06 15:03:10 +08:00
e81442de56 chore: Migrate TableStore (#20033)
* Add create, update and delete mutations for tables.

* Use the new mutations instead of the table store.

* Fully remove the TableStore from the MetaStore.

* Move the methods from MetaStore into pure functions in SidePanelEditor utils.

* Remove TableStore.

* Refactor the onError callbacks to be on the mutations.

* Convert some of the UIStore invocations.

* Fixed not closing the modal in case of an error. Migrate some uses of uiStore.

* Use onSettled on all RQ hooks.

* Remove the ui param to the create/updateTable functions.

* Add a missing connection string.

* Add progress bar for loading UI for importing rows

* Update apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-02-06 14:56:59 +08:00
Div Arora 9e7981e190 chore: add note re: change in logical restore requirements (#20425) 2024-02-06 06:31:55 +00:00
Alaister YoungandJoshen Lim a4f86bce8f chore: increase react-query stale time (#19465)
* chore: increase react-query stale time

* keep staleTime: 0 for table rows

* use staleTime: 0 for all user sql queries

* use staleTime: 0 for all pg-meta queries

* Some fixes

* fix updating tables

* fix bug while editing column names

* Fix deleting column in database/tables column list not revalidating UI

* Fix updating column in database/tables column list throwing ane rror

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-02-06 13:47:05 +08:00
Alaister Young 0a470bc40b fix: always set project details (#21038) 2024-02-06 11:22:35 +08:00
Alaister Young 3230747a58 fix: refetch project detail on unknown status (#21035) 2024-02-06 02:23:08 +00:00
Copple aa067ad6c6 chore: update cli reference doc (#21034) 2024-02-06 10:21:27 +08:00
Copple 99daa40cc3 chore: update self-hosted image versions (#21033) 2024-02-06 10:15:34 +08:00
ga1azandCharis 643f8110d7 [docs] fix code and response querying foreign table with inner join (#20975)
fix: code and response querying foreign table with inner join

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-06 01:42:20 +00:00
40793dc629 Fix asynchronous function call in setSession (#20990)
Co-authored-by: Mohammed Yasin Mulla <mohammedyasin@obmondo.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-05 19:38:41 +00:00
Ronan O'DriscollandCharis ec2d463e7a Minor clarification in wording on Getting Started With Flutter Guide (#20996)
Minor clarification on Getting Started With Flutter

This sentence was confusing to me (I thought I should put my own domain as the scheme) because of the "you can change it to whatever you like". This change clarifies that the guide is only referring to the host for the deep link.

The discord discussion gives further details of the challenge I had because of my misinterpretation: https://discord.com/channels/839993398554656828/1202047697948004472/1202047697948004472

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-05 19:30:36 +00:00
Bipin ThapaandCharis 3ad0b835e3 Typo fix in i18n for NP: (#21013)
[fix: docs] typo in np i18n

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-05 19:28:34 +00:00
Vidz 71df1f18fd Query param bug... (#21017)
Update openai.mdx

A little bug in the code...
2024-02-05 19:03:44 +00:00
Jordi Enric 6251935cd2 chore(logs): add 1hr as default in logs explorer (#21021)
add 1hr as default in logs explorer
2024-02-05 16:51:31 +01:00
Ivan Vasilov b145c8613f fix: Handle a case where API_URL is not defined while building studio (#21016)
If the env var is not defined, the next.config.js throws an error and breaks local building of studio.
2024-02-05 16:37:16 +01:00
Jordi Enric f44cee41c1 fix: add configuration title to settings menu (#21018)
add configuration title to settings menu
2024-02-05 16:10:51 +01:00
hallidayoandAlaister Young 312da2b18a fix: functions argument truncation (#20960)
* argument truncation

* fix prettier

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-02-05 19:39:49 +11:00
Faizan RasoolandJoshen Lim 31fca2d7ea remove trailing commas (#20781)
* remove trailing commas

* test cases added

* Opt for immutable way in JsonEditor

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-02-05 14:41:07 +08:00
Kevin Grüneberg becd39cc23 feat: revamped instance size selection (#20765) 2024-02-05 12:03:43 +08:00
Tyler e41137ee03 fix: Remove redirect for Flutter upgrade guide (#20972) 2024-02-05 12:53:22 +09:00
Joshen Limandgithub-tidy-bot 30245c9490 Revert "Feat/sql editor support bulk deletes" (#21003)
* Revert "Feat/sql editor support bulk deletes (#20927)"

This reverts commit 27c2cff395.

* ci: Autofix updates from GitHub workflow

* Lint

---------

Co-authored-by: github-tidy-bot <github-tidy-bot@supabase.com>
2024-02-05 14:01:24 +11:00