Commit Graph
22209 Commits
Author SHA1 Message Date
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
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
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
Joshen Lim 27c2cff395 Feat/sql editor support bulk deletes (#20927)
* Switch over existing delete content to version 2 on API for bulk deletes

* Streamline search behaviour for SQL editor

* Fix SQL query tooltips showing up when dorpdown menu is open or  modal is open for non active query

* Shift project snippets up above favourite snippets

* Basic bulk delete query support

* Support shift select in SQL editor for queries

* Fix lint
2024-02-05 10:31:03 +08:00
Raminder Singh 810685fb13 add planetpg tag to 'How pg_graphql works' blog (#20946) 2024-02-03 09:54:38 +05:30
Div Arora 68fa83d188 Revert "Temp disable euc1 and use1 for project creation (#20945)" (#20967)
This reverts commit dd206a1db3.
2024-02-03 01:28:39 +00:00
Wen Bo Xie 06f2b3e727 fix: add title to nosql mongodb ferretdb blog post (#20965) 2024-02-02 18:57:22 -05:00
hallidayo 8d61f33364 feat: database backup support note (#20962)
database docs feat
2024-02-02 22:43:06 +00:00
hawkcookieandCharis 201e7f9b9c docs: Update links in triggers.mdx (#20952)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-02 18:18:04 +00:00
0xflotus 576743cae7 chore: fixed release-notes.mdx (#20956)
`signInWithOtp()` was referenced two times. I think one of them should be `signInWithOAuth()`
2024-02-02 18:07:47 +00:00
Charis 0c006672eb fix cookies methods for nextjs ssr (#20941) 2024-02-02 12:57:55 -05:00
Terry Sutton f888cd4b4c Link to gh discussion from support form (#20953) 2024-02-02 12:16:45 -03:30
hallidayoandIvan Vasilov d317fb6d14 feat: database table viewer (#20323)
* add a view into the dropdown

* Fix a code error.

* Remove the unnecessary tooltip.root.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-02-02 10:36:54 +00:00
VkzemandCharis 5c4dbcdd10 Update email-based-auth-with-pkce-flow-for-ssr.mdx (#20943)
Wrong email auth type param passed on magic link event. Should be one time login through magic link via 'magiclink' not confirm email via 'email'

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-02 04:38:48 +00:00
Joshen Lim dd206a1db3 Temp disable euc1 and use1 for project creation (#20945) 2024-02-02 04:17:52 +00:00
TylerandCharis 11cf512ef0 docs: Add notes about email confirmation for Spotify login (#20924)
* docs: Add notes about email confirmation for Shopify login

* Update apps/docs/pages/guides/auth/social-login/auth-spotify.mdx

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

* Update apps/docs/pages/guides/auth/social-login/auth-spotify.mdx

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

* Update apps/docs/pages/guides/auth/social-login/auth-spotify.mdx

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

* Update apps/docs/pages/guides/auth/social-login/auth-spotify.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-02 12:20:46 +09:00
Charis aecd53831a remove deprecated orphan page (#20940) 2024-02-01 15:45:21 -05:00
dependabot[bot] d5a6312baa chore(deps): bump jsrsasign from 10.8.6 to 11.0.0 (#20579)
Bumps [jsrsasign](https://github.com/kjur/jsrsasign) from 10.8.6 to 11.0.0.
- [Release notes](https://github.com/kjur/jsrsasign/releases)
- [Changelog](https://github.com/kjur/jsrsasign/blob/master/ChangeLog.txt)
- [Commits](https://github.com/kjur/jsrsasign/compare/10.8.6...11.0.0)

---
updated-dependencies:
- dependency-name: jsrsasign
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 15:44:22 -05:00
vivekandCharis fe507c69e8 Update connecting-to-postgres.mdx - Fixed region in connection url (#20930)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-01 18:18:52 +00:00
Ivan Vasilov 94f9d5e330 feat: Enable Upgrade to IPv4 button (#20932)
* Enable the button for ipv4 if the project is on ipv6.

* Disable the button in other cases also.

* Remove the possibility to buy ipv4 when on concurrent-ipv6. Fix the side panel which was also hardcoded to disabled.
2024-02-01 17:06:35 +01:00
Jonathan Summers-Muir 778a3b21bb Chore/add feedback links branching (#20926)
* chore: update cmdk

* add link to branch dropdown

* chore: add button

* update

* Update BranchDropdown.tsx
2024-02-01 17:22:46 +08:00
Thor 雷神 Schaeff d4e5662e87 docs: update ef quickstart video. (#20899) 2024-02-01 13:30:43 +08:00
Joshen Lim 90e63ae2f8 Chore/database settings kaizen 3 (#20895)
* Midway shifting some stuffs

* Add alert when setting to session mode, and default to session mode in usePoolerConnection

* Update copy

* Update copy

* Update pooling mode dropdown in usePoolerConnection
2024-02-01 11:58:05 +07:00
Tyler e26615ffd7 fix: Update the RLS policy name in the SAML article (#20818)
Update sample RLS policy on SAML article
2024-02-01 12:33:03 +09:00
Tyler bed4fd6e8a blog: Add resources section to the Flutter Figma clone article (#20782)
* blog: Add resources to Flutter Figma clone article

* run pretteri
2024-02-01 12:32:49 +09:00
Ivan Vasilov eac073219a fix: Enable APSE (#20909)
* Revert some of the changes in 20982 and 20987.

* The default env for staging should be Singapore.
2024-01-31 23:17:12 +00:00
Thor 雷神 Schaeff 5616dadf8c feat(blog): FerretDB. (#20365)
* feat(blog): FerretDB.

* fix: image path.

* chore: updates.

* chore: use pooler.
2024-01-31 22:07:50 +08:00
Joshen Lim e7a9131d56 Allow apse1 on staging and local only (#20897)
* Allow apse1 on staging and local only

* Fix

* Fix

* Fix

* Fix

* Fix
2024-01-31 15:50:16 +07:00
6118a3986b feat: add warning to connection settings about SQLAlchemy dialect (#20858)
* Update DatabaseConnectionString.tsx

* fix: add dropdown for SQLAlchemy connections

* fix: remove redundant code

* Convert dropdowns to collapsibles

* ci: Autofix updates from GitHub workflow

* Remove unused states

* Lint

---------

Co-authored-by: joel <joel@joels-MacBook-Pro.local>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: github-tidy-bot <github-tidy-bot@supabase.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-31 07:48:03 +00:00
Jonathan Summers-Muir fb3e31a7c0 [www] chore: revert to 5 hours for partner page invalidation (#20881)
chore: revert to 5 hours
2024-01-31 15:19:49 +08:00
Joshen Lim 8cc6855cb3 Disable apse 1 prod (#20892) 2024-01-31 05:03:30 +00:00
Joshen Lim 8e6870abbf Add error handling for subscription and addons (#20866) 2024-01-31 11:04:15 +07:00