Commit Graph
1383 Commits
Author SHA1 Message Date
Monica Khoury c394f4631d chore: Update "Allow Support Access" to toggle and move above send button (#30470)
* chore: Update 'Allow Support Access' to toggle and reposition above send button

* Second iteration on design
2024-12-12 19:09:15 +08:00
Joshen Lim ec72485ca9 Standardize PH events (#31067)
* Standardize PH events

* Prettier

* Reinstate send events for sign in and sign up
2024-12-12 16:53:00 +08:00
Joshen Lim f414db3c80 Add dropdown item to copy name in table editor (#31089)
* Add dropdown item to copy name in table editor

* Fix duplicate key
2024-12-12 15:53:33 +08:00
Joshen Lim a70eea06a2 Fix connect UI host param (#31084) 2024-12-12 12:42:43 +08:00
Joshen Lim 12ae947335 Fix pooler psql connection string (#31076)
* Fix pooler psql connection string

* Fix pooler psql connection string
2024-12-11 15:46:43 +00:00
397b787eb5 feat: add project settings option to mark compliance projects (#30494)
* feat: add project settings option to mark compliance projects

Projects within organizations with the HIPAA add-on can be mark as
"sensitive". These projects will have additional security advisor checks
applied and other compliance related guardrails.

* prettier

* change hipaa check

* prettier fix

* Update apps/studio/components/interfaces/Settings/General/ComplianceConfig/ProjectComplianceMode.tsx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* fix: prettier

* Address all feedback

* Address refactor

* prep to use new docs link

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-12-11 08:53:40 +01:00
Monica KhouryandJoshen Lim ff3522f856 chore: Remove auth email warning for org members (#31043)
* chore: Remove auth email warning for org members

* Edit auth warning on Settings page

* Clean up

* Add comment

* More clean up

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-12-11 12:56:10 +08:00
Saxon Fletcher 9f718e904f Feat/assistant scroll (#31042) 2024-12-11 07:00:29 +10:00
hallidayo 090fc9b24f deprecated: tokens and new token banner (#31006)
* new token banner

* tokens banner
2024-12-10 14:28:53 +00:00
Joshen Lim b862a74f60 Remove warehouse settings from settings menu (#31038) 2024-12-10 16:07:10 +08:00
Jonathan Summers-Muir c05123a9c0 move button (#31036) 2024-12-10 14:29:56 +08:00
Joshen Lim 862dee997d Reinstate reset db password (#31033) 2024-12-10 14:18:59 +08:00
Kevin Grüneberg c0b0637a67 fix: include branches exceeding disk quota (#31022)
Fixes two issues:

- The check for exceeding disk size should only look at relevant projects and ignore projects that are filtered out
- We now include branches that exceed the 8 GB disk, as customers can have long-running / persistent branches
2024-12-10 13:14:06 +08:00
Saxon Fletcher a6433bc310 add close button to assistant (#31029) 2024-12-10 12:04:46 +10:00
Jonathan Summers-Muir 9d58c4f1bf Update PoolerIcons.tsx (#31023) 2024-12-09 09:44:04 -03:30
Kevin Grüneberg 2fdea180b6 chore: spend cap copy (#31021) 2024-12-09 19:10:55 +08:00
Kevin Grüneberg 185774236b chore: adjust copy (#31018) 2024-12-09 18:09:15 +08:00
Saxon Fletcher ba372c349d Feat/assistant refinements 3 (#31015)
* limit local storage messages

* add tool for getting database functions

* reduce loading jitter in assistant
2024-12-09 17:02:39 +10:00
Joshen Lim 9046a7ab18 Adjust behaviour of alert error support (#30966)
* Adjust behaviour of alert error support

* Remove hardcode

* Remove console log
2024-12-09 13:08:18 +08:00
Bobbie Soedirgo f5c0a4c899 fix: only use MAINTAIN for table privileges if PG17+ (#30998)
* chore: use @supabase/pg-meta for table privileges queries

* fix: only use MAINTAIN for table privileges if PG17+

* chore: run prettier
2024-12-08 18:58:29 +01:00
Jordi Enric f5b998983a remove warehouse settings page (#30919)
* rm links and page

* add some comments w context
2024-12-06 10:21:46 +00:00
Han Qiao 822cf92322 chore: update docs links to database migrations page (#30922) 2024-12-06 11:40:49 +08:00
Ivan Vasilov af5e55535f feat: Show alert to upgrade DB on queues integration (#30925)
* List all integrations in the landing page.

* Add a configuration in the integration definitions to show an alert if all their dependencies can't be installed.

* Refactor the Integration Overview tab to show an integration specific alert if all its dependencies can't be met because of outdated image.

* Fix smol misspell.

* Update copy.

* Fix copy.
2024-12-05 14:28:04 +00:00
f650b5ae67 Feat/connection string revamp (#30572)
* add new page

* moar

* moar

* added icons

* improve icons

* moved connect dialog to main header

* update text

* smaller screen support

* moar

* add python and sqlalchemyString

* moar

* add IPv4 warning

* moar

* Delete pooler-icons-v2.tsx

* tidy

* Delete DatabaseSettings.tsx

* tidy

* tidy

* moar. Session pooler is de-prioritized

* Update DatabaseConnectionString.tsx

* type issue

* moar

* Update DatabaseConnectionString.tsx

* Spelling

* Clean up LayoutHeader

* Clean up ConnectionPanel

* Clean up ConnectionParameters

* Last batch of clean up

* Fix loading state padding

* Shift old Connect files to new Connect folder outside of Home

* Final clean up

* Smol fix

* FIX

* Fix button link

* Fixes

* Lint

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-12-05 17:23:14 +08:00
Kevin Grüneberg 98797fc6b8 feat: improved disk size insights (#30827) 2024-12-05 16:39:19 +08:00
Terry SuttonandOliver Rice d4b1a7c9cd Chore/lowercase queue names (#30737)
* Queue names must be lowercase

* Update apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet.tsx

Co-authored-by: Oliver Rice <github@oliverrice.com>

---------

Co-authored-by: Oliver Rice <github@oliverrice.com>
2024-12-05 11:08:21 +08:00
439af38592 feat: add Supabase Cron (#30870)
* d3

* change Cron tagline to Schedule Recurring Jobs

* update images

* feat: add Supabase Cron docs (#30822)

* feat: postgres integrations

Create a new global navigation and homepage menu section for the Postgres Integrations category.
reorg: move cron docs into postgres integrations
feat: postgres integrations

Create a new global navigation and homepage menu section for the Postgres Integrations category.
reorg: move cron docs into postgres integrations
docs homepage layout

feat: postgres integrations

Create a new global navigation and homepage menu section for the Postgres Integrations category.
reorg: move cron docs into postgres integrations
feat: postgres integrations

Create a new global navigation and homepage menu section for the Postgres Integrations category.
reorg: move cron docs into postgres integrations
docs homepage layout

feat: postgres integrations

Create a new global navigation and homepage menu section for the Postgres Integrations category.
reorg: move cron docs into postgres integrations
feat: postgres integrations

Create a new global navigation and homepage menu section for the Postgres Integrations category.
reorg: move cron docs into postgres integrations
docs homepage layout

* fix: add pg_cron back to extensions sidebar

* update Supabase Cron docs

* Add screenshots to CRON guides (#30851)

add screenshots to CRON guides

* Update apps/docs/content/guides/cron.mdx

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

* Update apps/docs/content/guides/cron.mdx

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

* Update apps/docs/content/guides/cron.mdx

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

* Update apps/docs/content/guides/cron.mdx

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

* Update apps/docs/content/guides/cron/install.mdx

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

* Update apps/docs/content/guides/cron/install.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/database/extensions/pg_cron.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* remove no longer needed cron mdx files

* move cron unschedule image to the right section

* link job history image

* update Cron taglines

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
Co-authored-by: Oliver Rice <github@oliverrice.com>

* Chore/cleanup 3 (#30861)

* cleanup

* rss

* LM images

* updates for Supabase Cron blog post (#30868)

---------

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* www cron (#30859)

* new products menu

* set up cron page

* set up cron page

* placeholder sections

* basic suggestion for cron

* video placeholder + images

* sql snippet

* Cron landing page updates

* change API to SQL

* cron page update

* cron page update

* cron logs image

* update ogs

* update image url

* update metadata

* update cron metadata

* cleanup

* updates to cron landing page

* more updates

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>

* add Supabase Cron to www features page

* fix mobile nav and footer

* update images

* Update lw13_data.tsx

* update images

* remove old SVGs

* Update video link

* Fix a eslint error.

* Update apps/docs/content/guides/cron/quickstart.mdx

Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>

* Update apps/www/_blog/2024-12-04-supabase-cron.mdx

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* Sm edits

* add video slug

* Update apps/www/_blog/2024-12-04-supabase-cron.mdx

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* plurals

* update citus data callout

* cleanup images

* fix yt embed in features page

* update images

* minizie

* accept Cron

* accept [Cc]ron

* fix vale?

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2024-12-04 10:51:57 -04:00
Joshen Lim 5d538a82c0 Fix nav bar (#30897) 2024-12-04 14:36:25 +00:00
Ivan VasilovandWen Bo Xie fd2c4982c0 fix: Remove the lowercasing when comparing names of cronjobs (#30895)
Remove the lowercasing when comparing names.

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
2024-12-04 10:33:37 -03:30
Terry Sutton f1236a32d3 Chore/unique cron job names (#30844)
Enforce unique cron job names
2024-12-04 13:38:29 +01:00
Joshen Lim 858f99af99 Deprecate navigationLayoutV2 (#30884) 2024-12-04 19:54:50 +08:00
Kamil Ogórek c08a852661 fix: Disable vercel integration for vercel managed projects (#30801) 2024-12-04 12:48:49 +01:00
Ivan VasilovandJoshen Lim 5d4f217291 fix: Cron schedule (#30546)
* Simplify the schedule section for crons.

* Make the errorBoundary more robust to handle non-Error errors.

* Remove unused variable.

* Smaller fixes to the schedule section.

* Simplify the scheduleString usage.

* Revalidate when setting the value from the cron AI.

* Minor fixes.

* Reset the error state when setting the schedule value.

* Fix finding cron overview.md

* Small refactors

* SMOL

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-12-04 12:39:10 +01:00
Joshen Lim 21017c9cfb Chore/deprecate old ai assistants (#30888)
* Deprecate old SQL editor assistant

* Refactor SQLEditor, remove unused AISchemaSuggestionPopover

* Rename RLS AI assistant to just PolicyEditorPanel and remove all RLS assistant stuff

* Fix
2024-12-04 18:34:25 +08:00
Carel de WaalandJoshen Lim d44b7a1e44 chore: Support requests - Update allow access wording (#30540)
* chore: Support requests - Update allow access wording to include AI assistance tools

* fix: Format with correct prettier config

* Place description in a collapsible

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-12-04 10:24:46 +00:00
Terry SuttonandIvan Vasilov 9edc5f500e Shorter select widths (#30871)
* Shorter select widths

* Fix the width of the database function selects.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-04 10:17:51 +01:00
Joshen Lim fdf4dec344 Chore/cleanup feature flags 041224 (#30885)
* Deprecate enableFreeSupport flag

* Deprecate enableExperimentalTheme flag and ThemeSettingsOld component

* Deprecate httpsAuthHooksEnabled flag

* Deprecate thirdPartyAuth flag

* Deprecate logdrains flag

* Deprecate enableNewRegions flag

* Deprecate cronUi flag

* Deprecate queues flag and old ProjectIntegrationsLayout folder
2024-12-04 17:04:53 +08:00
Joshen Lim ec8f768623 Polish scrolling on cron job history (#30875) 2024-12-04 15:56:07 +08:00
Joshen Lim ace71494f4 Add telemetry for cron (#30874)
* Add telemetry for cron

* Update
2024-12-04 15:47:58 +08:00
Terry SuttonandIvan Vasilov 50ede5546f Chore/webhook json (#30797)
* Enforce json payloads with webhook jobs

* EFs need json as well

* Handle case where the body can be null/undefined.

* Fix url in the child id.

* Fix a redirect for cron.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-03 09:05:56 -03:30
Terry Sutton 283e27401c Chore/cron footer (#30811)
Fix cron runs footer
2024-12-03 08:54:47 -03:30
Terry Sutton 51dbe8732b Chore/better cron status (#30818)
* Better cron statuses

* Adjust time display

* Make status badge a proper component
2024-12-03 08:47:06 -03:30
Kamil Ogórek d38ac7a89e ref: Remove github logs button from branching table (#30837) 2024-12-03 10:04:45 +01:00
377e224983 Feat/save assistant messages (#30823)
* save chat messages

* just ai state in subscribe

* fix hydration issue

* check for url param to open assistant

* fix dashboard history

* fix ts

* safeguard against parsing errors

* Fix the type errors.

* Another try.

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-03 09:23:37 +01:00
Ivan VasilovandAlaister Young 0192dc40e9 feat: Add assistant query param for control the AI assistant panel (#30809)
* Fix a key error in the assistant.

* Sync the query params for the assistant with the app state.

* Fix the button URL from the /assistant page to link correctly to the studio.

* Replace nuqs with a custom function.

* undo projectlayout changes

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-12-03 09:07:30 +01:00
Terry SuttonandIvan Vasilov c40d3a50ab Chore/cron sentry issue (#30800)
* Fix sentry error

* Update apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.tsx

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-02 22:10:32 +01:00
Wen Bo Xie 64531ac676 fix: orioledb call out on project creation (#30802)
* fix: orioledb call out on project creation

* remove realtime call out in orioledb alpha blog
2024-12-02 12:23:43 -04:00
Ivan Vasilov bb11b31256 fix: Fix the link to vault in the settings to have alpha badge (#30795)
Fix the link to vault in the settings.
2024-12-02 11:52:44 -03:30
Joshen Lim d88cb12794 Remove assistant V2 from feature preview (#30779)
* Remove assistant V2 from feature preview

* Hide fix with assistant button in rls editor
2024-12-02 22:03:31 +08:00
Terry Sutton 980ca0a1a7 Chore/rename cron (#30792)
* Rename cron jobs to cron

* Missing history link

* Add polling to update list
2024-12-02 10:24:50 -03:30