Commit Graph
32389 Commits
Author SHA1 Message Date
Joshen Lim 0129c94cf1 ReportsV2 P2: Support adding SQL snippets to Reports (#32851)
* midway

* Render, save, and save configuration of SQL blocks

* Fix re ordering of blocks not showing save UI

* Remove console log

* Smol fix

* Add queryHeight param to queryBlock

* Reinstate telemetry for run query clicked from assistant

* Add

* Add resizing

* Change compactType

* Fix switching reports doesnt update

* ONly show date picker if theres a chart thats using daily stats or infra monitoring

* Fix client crash

* Smol update
2025-01-20 15:49:32 +08:00
Joshen LimandIvan Vasilov d9a7b43cac Chore/fix cron job card (#32767)
* Add copy action to cron job card command

* Fix

* Remove unused code

* Refactor the cron job parsing. Expanded some of the existing tests. Added more tests.

* The last run data can be undefined if the cron was just created. The data for caching in RQ can't be undefined so it's forced to null.

* Test whether the edge function points to its own project. If not, parse it as a HTTP request.

* Use toStrictEqual instead of toMatchObject for more correct tests.

* Add min height to the codeblock, the copy button was obscured if the code was a one-liner.

* Add snippet to all types of cron jobs. Automatically update it when the form changes.

* Minor fixes.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-01-20 14:33:53 +08:00
Joshen Lim 9f9b2be262 Assistant chat check keycode enter (#32898) 2025-01-20 14:13:09 +08:00
Alaister Young c5d664d214 fix: don't retry queries on 4xx errors (#32923) 2025-01-20 14:03:28 +08:00
347dbcc875 feat: update mgmt api docs (#32918)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
Co-authored-by: Bobbie Soedirgo <31685197+soedirgo@users.noreply.github.com>
2025-01-20 05:18:11 +00:00
Pamela Chia 8acc80ec38 feat: pro benefit wording test (#32862) 2025-01-20 12:14:22 +08:00
9d534c9f5a fix: response error codes (#30581)
* fix: response error codes

* upgrade docs

* remove request url modification middleware

* move api routes for self-hosted to platform folder

* remove some lib/common/fetch usage

* docs: use middleware for openapi-fetch (#30600)

Get rid of the unauthedAllowedPost function (I don't think there's any harm in letting any requests that require authentication to just 403, they should be disabled at the React Query level and if not they will fail gracefully enough...)

* fix local count query

* add default values for clone mutation

* fix ts and codegen

* add missing lodash dep to playwright tests

* Fix the playwright tests to match the new folder structure for selfhosted variant.

* remove unused import

* Remove unused state

* remove unused sql debug mutation

* remove unused export

* fix notifications query

* fix jwt updating status

* fix typescript

* save sql snippet after renaming

* update codegen & fix ts error

* override array querySerializer

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-01-20 11:27:38 +08:00
Charis bd0e979f8c fix: search index upload (#32904)
Search index pipeline shouldn't be trying to read troubleshooting section yet (those are still searched via GH discussions). Trying to read it errors as they don't have the same frontmatter shape as other guides content.
2025-01-19 00:31:40 +08:00
github-actions[bot]andgithub-docs-sync-bot 2b9d796a2b [bot] sync troubleshooting guides to db (#32895)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-18 01:54:43 +00:00
github-actions[bot]andgithub-docs-bot 25e376a8b1 [bot] fix lint errors (#32894)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-18 01:53:33 +00:00
CharisandKevin Brolly d1281dad91 migrate(docs): troubleshooting 16 (#30953)
* migrate(docs): troubleshooting 16

db performance, configuration

* Update how-long-does-it-take-to-restore-a-database-from-a-point-in-time-backup-pitr-qO8gOG.mdx

Added keywords for PITR restore article

* Apply suggestions from code review

---------

Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>
2025-01-18 01:47:48 +00:00
github-actions[bot]andgithub-docs-bot 9742de2ab2 [bot] fix lint errors (#32892)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-18 01:45:26 +00:00
github-actions[bot]andgithub-docs-sync-bot c2ece15f22 [bot] sync troubleshooting guides to db (#32893)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-18 01:36:49 +00:00
CharisandKevin Brolly 7837deee41 migrate(docs): troubleshooting 12 (#30942)
* migrate(docs): troubleshooting 12

database connections

* Update database-error-remaining-connection-slots-are-reserved-for-non-replication-superuser-connections-3V3nIb.mdx

* Update how-do-i-update-connection-pool-settings-in-my-dashboard-wAxTJ_.mdx

Added missing content

* Apply suggestions from code review

---------

Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>
2025-01-18 01:30:04 +00:00
github-actions[bot]andgithub-docs-bot a9ed0b4a66 [bot] fix lint errors (#32890)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-18 01:12:34 +00:00
github-actions[bot]andgithub-docs-sync-bot 6687baa3e8 [bot] sync troubleshooting guides to db (#32891)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-18 01:04:38 +00:00
CharisandKevin Brolly c8b9615b34 migrate(docs): troubleshooting 13 (#30941)
* migrate(docs): troubleshooting 13

dashboard

* Update apps/docs/content/troubleshooting/dashboard-errors-when-managing-users-N1ls4A.mdx

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

* Apply suggestions from code review

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

* Apply suggestions from code review

---------

Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>
2025-01-18 00:58:07 +00:00
github-actions[bot]andgithub-docs-bot d60410be39 [bot] fix lint errors (#32888)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-18 00:51:37 +00:00
github-actions[bot]andgithub-docs-sync-bot bc67f46cf4 [bot] sync troubleshooting guides to db (#32889)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-18 00:42:54 +00:00
CharisandTheOtherBrian1 f2c354ef62 migrate(docs): troubleshooting 5 (#30943)
* migrate(docs): troubleshooting 5

logs, error messages

* Delete apps/docs/content/troubleshooting/advanced-filtering-in-the-log-explorer-IJsGQq.mdx | redundant

* Apply suggestions from code review

* format

---------

Co-authored-by: TheOtherBrian1 <91111415+TheOtherBrian1@users.noreply.github.com>
2025-01-18 00:36:45 +00:00
github-actions[bot]andgithub-docs-sync-bot 3fc9dc8dd4 [bot] sync troubleshooting guides to db (#32887)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-18 00:06:02 +00:00
929c3c7b4c [bot] fix lint errors (#32885)
* [bot] fix lint errors

* Apply suggestions from code review

---------

Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-01-17 19:00:11 -05:00
CharisandTheOtherBrian1 b90467581e migrate(docs): troubleshooting 14 (#30944)
* migrate(docs): troubleshooting 14

rls, supavisor, connections

* Update do-i-need-to-expose-security-definer-functions-in-row-level-security-policies-iI0uOw.mdx

* Update rls-simplified-BJTcS8.mdx

* Apply suggestions from code review

* format

---------

Co-authored-by: TheOtherBrian1 <91111415+TheOtherBrian1@users.noreply.github.com>
2025-01-17 23:48:14 +00:00
github-actions[bot]andgithub-docs-bot 3723f7cd84 [bot] fix lint errors (#32883)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-17 23:31:02 +00:00
github-actions[bot]andgithub-docs-sync-bot 04ff5fe1eb [bot] sync troubleshooting guides to db (#32884)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-17 23:24:29 +00:00
CharisandTheOtherBrian1 5ff657a349 migrate(docs): troubleshooting 19 (#30945)
* migrate(docs): troubleshooting 19

grafana, metrics

* Update grafana-not-displaying-data-sXJrMj.mdx

* Update grafana-not-displaying-data-sXJrMj.mdx

* Update how-to-view-database-metrics-uqf2z_.mdx

* Update interpreting-supabase-grafana-io-charts-MUynDR.mdx

* added keywords

* Apply suggestions from code review

---------

Co-authored-by: TheOtherBrian1 <91111415+TheOtherBrian1@users.noreply.github.com>
2025-01-17 23:17:25 +00:00
7f4cf359f3 [bot] sync troubleshooting guides to db (#32881)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-01-17 22:58:25 +00:00
github-actions[bot]andgithub-docs-sync-bot 3d45ae3ce9 [bot] sync troubleshooting guides to db (#32882)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-17 22:29:31 +00:00
github-actions[bot]andgithub-docs-bot a950511e04 [bot] fix lint errors (#32880)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-17 22:23:15 +00:00
CharisandTheOtherBrian1 b79f05df90 migrate(docs): troubleshooting 23 (#30946)
* migrate(docs): troubleshooting 23

postgres performance

* Update how-postgres-chooses-which-index-to-use-_JHrf4.mdx

* Update memory-and-swap-usage-explained-aPNgm0.mdx

---------

Co-authored-by: TheOtherBrian1 <91111415+TheOtherBrian1@users.noreply.github.com>
2025-01-17 17:17:10 -05:00
github-actions[bot]andgithub-docs-bot b25ae29d1b [bot] fix lint errors (#32878)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-17 22:13:20 +00:00
github-actions[bot]andgithub-docs-sync-bot 2e77d09960 [bot] sync troubleshooting guides to db (#32879)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-17 22:07:11 +00:00
Charis 6312618932 migrate(docs): troubleshooting 7 (#30936)
auth
2025-01-17 16:49:23 -05:00
github-actions[bot]andgithub-docs-sync-bot a42e17d0a9 [bot] sync troubleshooting guides to db (#32874)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-17 21:43:43 +00:00
Charis 0e60b508f6 migrate(docs): troubleshooting 6 (#30935)
* migrate(docs): troubleshooting 6

auth

* Apply suggestions from code review
2025-01-17 20:52:45 +00:00
github-actions[bot]andgithub-docs-bot 53a8a94a72 [bot] fix lint errors (#32872)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-17 20:26:53 +00:00
github-actions[bot]andgithub-docs-sync-bot 8a96b53c64 [bot] sync troubleshooting guides to db (#32873)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-17 20:20:14 +00:00
8deced7dab migrate(docs): troubleshooting 9 (#30937)
* migrate(docs): troubleshooting 9

timeouts, latency

* light updates

* Update NavigationMenu.constants.ts

* Update canceling-statement-due-to-statement-timeout-581wFv.mdx

Added keyword

* Apply suggestions from code review

---------

Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
Co-authored-by: TheOtherBrian1 <91111415+TheOtherBrian1@users.noreply.github.com>
Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>
2025-01-17 20:00:40 +00:00
github-actions[bot]andgithub-docs-sync-bot f705b7da60 [bot] sync troubleshooting guides to db (#32871)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-17 19:15:30 +00:00
Charis 7b1c4e09ae migrate(docs): troubleshooting 10 (#30938)
* migrate(docs): troubleshooting 10

misc database

* Apply suggestions from code review
2025-01-17 14:08:53 -05:00
github-actions[bot]andgithub-docs-bot f2ae79e887 [bot] fix lint errors (#32869)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-17 19:02:14 +00:00
github-actions[bot]andgithub-docs-sync-bot 4bd7e9e64f [bot] sync troubleshooting guides to db (#32870)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-17 18:56:49 +00:00
Charis 25306236ea migrate(docs): troubleshooting 8 (#30939)
* migrate(docs): troubleshooting 8

auth

* Apply suggestions from code review
2025-01-17 18:49:47 +00:00
github-actions[bot]andgithub-docs-sync-bot befb7a9b3c [bot] sync troubleshooting guides to db (#32867)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-17 18:29:47 +00:00
Francesco Sansalvadore ecd181bcd9 studio mobile v2 (#32630)
* improve some studio mobile layouts

* improve some studio mobile layouts

* improve settings

* assistant mobile

* assistant mobile

* assistant mobile

* responsive formlayout and new project layout

* improve dashboard pages headers

* improve dashboard auth pages

* mobile org settings

* mobile billing fixes

* adjust paused project container height

* remove comments

* triggers

* leftovers

* ai assistant

* fix errors

* remove 16px input size

* fix test

* merge access tokens settings page conflicsts

* smol integrations here and there
2025-01-17 19:07:35 +01:00
CharisandKevin Brolly 68f0efcdad migrate(docs): troubleshooting 11 (#30940)
* migrate(docs): troubleshooting 11

account and org management

* Update check-usage-for-monthly-active-users-mau-MwZaBs.mdx

Added Keywords

* Update converted-github-account-to-organisation---lost-supabase-account-access-5wsE_1.mdx

Changed spelling of organization

---------

Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>
2025-01-17 12:57:47 -05:00
f2c7e35c23 [bot] fix lint errors (#32846)
* [bot] fix lint errors

* add capitalization exceptions

* Apply suggestions from code review

---------

Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-01-17 12:55:40 -05:00
Ivan Vasilov 84311e7d09 chore: Fix the env vars for turbo (#31104)
* Check all env vars for studio and list them properly in turbo.json.

* Check all env vars for design-system.

* Fix all env vars for www.

* Fix all env vars for docs.

* Add the rest of the env vars from the packages folder.

* Revert the changes in the sign-in pages.

* Remove useless files. Fix a comment.

* Fix the links in extensions page to always point to supabase.com/docs.

* Change the feature flag rewrite in studio to point to supabase.com/.flags endpoint.

* Replace NEXT_PUBLIC_VERCEL_URL with NEXT_PUBLIC_VERCEL_BRANCH_URL because it's more stable on vercel.com. Remove it from apps where it's not needed.

* Add env vars from packages. Move all passthrough env vars to env vars since they're stable (don't change between pushes).

* Revert changes of studio files.

* Minor fixes for the merge commit.

* Replace all uses of SITE_URL with LW_URL (they're the same). SITE_ORIGIN is not constructed from env vars. LW_URL is constructed from SITE_ORIGIN and launch_week string.

* Use SITE_ORIGIN when fetching the ticket-og.
2025-01-17 11:08:14 +01:00
Ivan Vasilov 8aa5523fcc chore: Migrate tooltips in studio to use shadcn tooltips (#32679)
* Remove radix-popover and radix-tooltip as deps from studio.

* Migrate all uses of tooltip to shadcn tooltips.

* Add tooltip portal to all shadcn tooltips.

* Fix a warning about MenuItem not accepting refs in StorageMenu.

* Remove unneeded styling for the tooltips.

* Set a default delay duration for all tooltips in Studio.

* Fix a type error.

* Check and fix all tooltips.
2025-01-17 10:54:02 +01:00
Ivan Vasilov 67cbbaacf2 fix: Unify the design for account pages (#30891)
Refactor all account pages to use ScaffoldContainer and have the same design.
2025-01-17 09:52:46 +00:00