Commit Graph
32229 Commits
Author SHA1 Message Date
Francesco Sansalvadore 33a5ee4cc9 app router directives 2025-08-18 16:20:24 +02:00
Francesco Sansalvadore c86edcb683 app router directives 2025-08-18 15:06:23 +02:00
Francesco Sansalvadore e2cabecf5e try app router blog routes 2025-08-18 13:24:32 +02:00
Francesco Sansalvadore b70828b71e remove cms events 2025-08-18 12:02:52 +02:00
Francesco Sansalvadore af8ec8a4eb cms events 2025-08-18 11:56:02 +02:00
Francesco Sansalvadore 272e7fee1f remove cms events 2025-08-18 11:34:46 +02:00
Francesco Sansalvadore 1d86ac4f59 compress gif and svgs 2025-08-14 17:39:45 +02:00
Francesco Sansalvadore 3426482002 remove body from generated contentlayer BlogPosts 2025-08-14 16:53:59 +02:00
Francesco Sansalvadore f5174e6c4a try outputFileTracingExcludes for contentlayer generated blogPosts 2025-08-14 16:34:36 +02:00
Francesco Sansalvadore 6d6acfb927 try outputFileTracingExcludes for contentlayer generated blogPosts 2025-08-14 16:22:43 +02:00
Francesco Sansalvadore dbc1a52663 cleanup after refactor blog/[slug] 2025-08-14 16:00:41 +02:00
Francesco Sansalvadore 677eaf10a9 refactor blog/[slug] 2025-08-14 15:40:24 +02:00
Francesco Sansalvadore 361961badd refactor events/[slug] 2025-08-14 15:01:05 +02:00
Francesco Sansalvadore 46d7136fd7 compress www/public/images pngs and jpgs by 66% 2025-08-14 12:39:14 +02:00
Francesco Sansalvadore 836c0617b8 reduce bundle size 2025-08-14 11:34:48 +02:00
Francesco Sansalvadore 93ab159231 reduce blog/[slug] bundle 2025-08-14 10:11:42 +02:00
Francesco Sansalvadore 91eeb86812 dynamic imports in blog/[slug] 2025-08-13 19:22:06 +02:00
Francesco Sansalvadore de9e75e71e cms posts client side 2025-08-13 18:48:54 +02:00
Francesco Sansalvadore 240f447db7 remove revalidate from blog slug 2025-08-13 17:33:27 +02:00
Francesco Sansalvadore 046c51c2b5 remove revalidate from blog 2025-08-13 17:24:04 +02:00
Francesco Sansalvadore 195a4fd8d1 fetch cms events client side 2025-08-13 16:20:07 +02:00
Francesco Sansalvadore 5f8d8bff2d remove revalidate on events 2025-08-13 15:53:38 +02:00
Francesco Sansalvadore 9f93dde621 supress some comments on events 2025-08-13 15:35:57 +02:00
Francesco Sansalvadore 5c4b82532d supress some comments 2025-08-13 15:27:17 +02:00
Francesco Sansalvadore 315a1ea676 cms env config 2025-08-13 15:11:33 +02:00
Francesco Sansalvadore 6869834819 cms env config 2025-08-13 14:40:12 +02:00
Francesco Sansalvadore 93f8613417 cms env config 2025-08-13 14:26:07 +02:00
Francesco Sansalvadore 349d3cb9f7 comment out sharp 2025-08-13 12:27:47 +02:00
Francesco Sansalvadore d7c4585316 generate correct site origins for cms and www 2025-08-13 11:22:33 +02:00
Francesco Sansalvadore 77f42cbc0c cms event preview 2025-08-12 19:13:35 +02:00
Francesco Sansalvadore 26c868350d cms blog post content editing 2025-08-12 19:03:13 +02:00
Ivan Vasilov cf24d05d73 fix: Add missing API routes in www that were accidentally deleted (#37857)
Add missing API routes that were accidentally deleted.
2025-08-12 09:29:07 +02:00
Joshen Lim 4418e6df19 Chore/align bucket and object naming validation with storage api (#37854)
* Align bucket naming validation

* Align folder naming validation

* Remove description
2025-08-12 14:01:34 +07:00
Joshen Lim f927998e4e Button to add preventDefault onClick if disabled (#37784)
* ButtonTooltp to add preventDefault onClick if disabled

* Update base component Button instead
2025-08-12 13:42:55 +07:00
Chris Chinchilla b350d94fc6 docs: Add Xcode isntructions to Swift ref docs (#37839)
Add Xcode isntructions to Swift ref docs
2025-08-12 08:38:31 +02:00
Chris Chinchilla 20d2289154 docs: Make Swift client initialization variable consistent (#37838)
Make client initialization variable consistent
2025-08-12 08:37:49 +02:00
Ivan Vasilov ec6b7709d7 fix: Handle a race condition with permissions API and the cell editors in the Table Editor (#37837)
* When updating the editable flag, the grid columns need to be recreated.

* Remove reference to gridColumn since it's the same reference as the passed in column.
2025-08-12 12:19:00 +07:00
Joshen LimandAlaister Young 7ed5edd320 Add CTA to unrestricted badge in table editor (#37730)
* Add CTA to unrestricted badge in table editor

* Update apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx

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

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2025-08-12 10:44:48 +07:00
Ivan Vasilov 76e8df5546 fix: Change the stale time for get-deployment-commit from 10 seconds to 10 minutes (#37845)
Change the stale time from 10 seconds to 10 minutes.
2025-08-11 19:54:38 +00:00
Francesco SansalvadoreandIvan Vasilov 7e91d7c4a3 fix cms types and build (#36145)
* fix cms types and build

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-08-11 17:44:38 +02:00
Jordi Enric 87292512b9 upgrade sentry (#37830)
* upgrade sentry

* bump docs sentry/nextjs

* add error button

* rm sentry test
2025-08-11 15:47:28 +02:00
28768b1872 feat: reference for the self referencing view error (#37560)
* feat: reference for the self referencing view error

* feat: adding format

* Update apps/docs/content/guides/platform/backups.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update backups.mdx

* Update apps/docs/content/guides/platform/backups.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* feat: linter

* Update apps/docs/content/guides/platform/backups.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update apps/docs/content/guides/platform/backups.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update apps/docs/content/guides/platform/backups.mdx

Co-authored-by: Div Arora <darora@users.noreply.github.com>

* Update apps/docs/content/guides/platform/backups.mdx

---------

Co-authored-by: andres.suarez <andres.suarez@supabase.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Div Arora <darora@users.noreply.github.com>
2025-08-11 13:12:16 +02:00
Riccardo Busetti e9424b98de feat(replication): Delete destination and pipeline atomically (#37790) 2025-08-11 08:23:15 +02:00
Joshen LimandDrake Costa a897cc27f0 Part 1 of swapping useCheckPermissions with useAsyncCheckProjectPermissions (#37751)
* Part 1 of swapping useCheckPermissions with useAsyncCheckProjectPermissions

* Update apps/studio/hooks/misc/useCheckPermissions.ts

Co-authored-by: Drake Costa <drake@saeris.io>

* Address feedback

---------

Co-authored-by: Drake Costa <drake@saeris.io>
2025-08-11 11:53:15 +07:00
Kevin Grüneberg d196ee3fdd chore: disallow larger instance size launch (#37785)
There is usually no good reason to immediately launch a project on a very large instance, unless it is fraudulent usage. To prevent easy fraud, we are not allowing to immediately launch >medium instances and just show a hint.
2025-08-11 12:35:56 +08:00
Peter c538c4dc6e database report: fix xlarge compute size max db connection in dashboard report (#37819)
* fix xlarge compute size max db connection in dashboard report

* pnpm format
2025-08-10 11:01:48 -05:00
Saxon Fletcher adfc138450 Remove error display temporarily (#37804) 2025-08-09 14:56:05 +10:00
Eduardo Gurgel 1e10ee6844 fix: specify that 3rd party JWTs must have kid header parameter (#37778) 2025-08-09 13:45:46 +12:00
Saxon Fletcher f28e6e9c8f Check error before handling (#37801)
check error before handling
2025-08-08 23:37:48 +00:00
Drake CostaandTerry Sutton d6fe8476f3 Refactor EditSecretModal to use shadcn components (#37258)
* chore: Refactor `NewAccessTokenButton` to use shadcn components

This brings `NewAccessTokenButton` into conformance with the latest UI patterns of using shadcn based components, zod schemas, and react-hook-form for form submission.

I based this refactor on the implementation of `CreateSecretAPIKeyDialog`, which already made use of the above.

* add success and failure toasts

* add smoke test for `NewAccessTokenButton`, fix vitest config

This adds a minimal test for `NewAccessTokenButton` but more importantly fixes a critical bug in the vitest configuration for `studio`.

Because `restoreMocks: true` was set in the config, this meant that the mock implementation for `window.matchMedia` defined in the `tests/vitestSetup.ts` file was being **reset** to an empty function before each test suite was run. While this didn't appear to be a problem before, that appears to be because none of the existing tests had `motion.div` in their component trees. Since `motion.div` calls `addListener` on a media query as part of it's lifecycle, that meant that any test which included it would fail as `addListener` would be undefined in this situation. Removing `restoreMocks: true` from the config results in the desired mocking behavior.

This change is necessary in order to test any component that has the `FormItemLayout` component, as it uses `framer-motion` to animate in error messages for input elements.

* add warning comment in case of future config regression

* update test cases, reset form on dialog close, testing setup fixes

This fixes an issue with the polyfills for the testing environment, where a call to `useMutation` would fail as a result of `TransformStream` being set to `null`.

Basic tests for access token creation and form resetting added. Adds `@faker-js/faker` to the studio app devDependencies to generate mock data for `msw` endpoint response.

Adds `shx` to the docs app devDependencies to ensure that the `codegen:examples` script runs cross-platform.

* ensure mocked date is a string

* update testing setup, pollyfills and add rich type support to addAPIMock

* add missing changes

* Move `EditSecretModal` to be child of `SecretRow`

In the accompanying PR for `DeleteSecretModal`, that one will also be moved over to `SecretRow`

* Update studio testing setup files

Improves API mocking type safety and polyfills browser APIs necessary to run tests with framer-motion components

* chore: Refactor `NewAccessTokenButton` to use shadcn components

This brings `NewAccessTokenButton` into conformance with the latest UI patterns of using shadcn based components, zod schemas, and react-hook-form for form submission.

I based this refactor on the implementation of `CreateSecretAPIKeyDialog`, which already made use of the above.

* add success and failure toasts

* add smoke test for `NewAccessTokenButton`, fix vitest config

This adds a minimal test for `NewAccessTokenButton` but more importantly fixes a critical bug in the vitest configuration for `studio`.

Because `restoreMocks: true` was set in the config, this meant that the mock implementation for `window.matchMedia` defined in the `tests/vitestSetup.ts` file was being **reset** to an empty function before each test suite was run. While this didn't appear to be a problem before, that appears to be because none of the existing tests had `motion.div` in their component trees. Since `motion.div` calls `addListener` on a media query as part of it's lifecycle, that meant that any test which included it would fail as `addListener` would be undefined in this situation. Removing `restoreMocks: true` from the config results in the desired mocking behavior.

This change is necessary in order to test any component that has the `FormItemLayout` component, as it uses `framer-motion` to animate in error messages for input elements.

* update test cases, reset form on dialog close, testing setup fixes

This fixes an issue with the polyfills for the testing environment, where a call to `useMutation` would fail as a result of `TransformStream` being set to `null`.

Basic tests for access token creation and form resetting added. Adds `@faker-js/faker` to the studio app devDependencies to generate mock data for `msw` endpoint response.

Adds `shx` to the docs app devDependencies to ensure that the `codegen:examples` script runs cross-platform.

* ensure mocked date is a string

* update testing setup, pollyfills and add rich type support to addAPIMock

* add missing changes

* Move `EditSecretModal` to be child of `SecretRow`

In the accompanying PR for `DeleteSecretModal`, that one will also be moved over to `SecretRow`

* fix imports

* Update test, fix rebase errors

* remove unnecessary code

* resolve type errors

* fix missing listen call for msw, resolve test type error

* fix imports

* Update studio testing setup files

Improves API mocking type safety and polyfills browser APIs necessary to run tests with framer-motion components

* fix missing listen call for msw, resolve test type error

* fix imports

* remove duplicate test

* update testing setup

* implement requested changes

* cleanup unnecessary conditional logic for undefined `secret` prop

* remove unused import

* remove unnecessary code

* cleanup, replace lodash import with JS

* add required router mock

* fix broken lockfile

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-08-08 15:42:06 -02:30