Commit Graph
32806 Commits
Author SHA1 Message Date
Charis Lam 3ac4a35720 refactor(assistant): streamline text generation
Consolidate prompt generation between evals and prod so that we can always be sure we are testing the prompts that would show up in prod.

Probably want to consolidate the downstream logic as well (minus the mocked tools), will address that in subsequent commit.
2025-10-03 14:10:44 -04:00
Saxon Fletcher 566b60d421 re-add monitoring 2025-09-30 13:15:32 +10:00
Saxon Fletcher ca8d0defd8 Merge branch 'master' into feature/braintrust 2025-09-30 11:36:58 +10:00
Saxon Fletcher e90b8ac495 Context gathering prominence (#39072) 2025-09-30 06:20:13 +10:00
Charis 0719f4f072 feat: add feature flagging for homepage text & logo (#39080) 2025-09-29 15:50:11 -04:00
matlin cd6082be36 Ensure CSV chunk uploads handle rate limit 409s (#39075)
* Ensure CSV chunk uploads handle rate limit 409s

* Let executeWithRetry work with ResponseError object
2025-09-29 13:59:14 -05:00
Nellie McKesson 3a88feebcc docs: fix broken partials link in CONTRIBUTING guide (#39081) 2025-09-29 18:00:35 +00:00
Charis 3bda4dbac7 fix(ai assistant): remove extra backslash in ui (#39079)
In the security lints view within the AI Assistant, escaped backticks aren't
being properly replaced, so there's a weird backslash around table names. Fixed
this so the table name appears without any wrapping punctuation.
2025-09-29 11:15:57 -04:00
Riccardo Busetti e12984c60f feat(replication): Add dialog to clarify replication requirements and limitations (#39032) 2025-09-29 12:09:26 +02:00
kemal.earth d1c986e0f2 feat(studio): add pgbouncer description to query perf (#39005)
* feat: add pgbouncer description to query perf

This was missing for queries that still use pgbouncer as a role.

* chore: update description string for pgbouncer

* chore: unbluntify copy string
2025-09-29 09:31:00 +01:00
1973615a42 Prompt GPT-5 Optimizations (#39031)
* update onboarding

* update model and fix part issue

* action orientated assistant

* fix tool

* lock

* remove unused filter

* fix tests

* fix again

* update package

* update container

* fix tests

* refactor(ai assistant): break out message markdown and profile picture

* wip

* refactor(ai assistant): break up message component

* refactor: break ai assistant message down into multiple files

* add limitations prompt

* limitations prompt

* link prompt

* refactor: simplify ReportBlock state

* fix: styling of draggable report block header

When the drag handle is showing, it overlaps with the block header.
Decrease the opacity of the header so the handle can be seen and the two
can be distinguished.

* fix: minor tweaks to tool ui

* refactor: simplify DisplayBlockRenderer state

* fix: remove double deploy button in edge function block

When the confirm footer is shown, the deploy button on the top right should be
hidden (not just disabled) to avoid confusion.

* refactor, test: message sanitization by opt-in level

Refactor the message sanitization to have more type safety and be more testable.
Add tests to ensure:

- Message sanitization always runs on generate-v4
- Message sanitization correctly works by opt-in level

* Fix conflicts in pnpm lock

* Couple of nits and refactors

* Revert casing for report block snippet

* adjust sanitised prompt

* Fix tests

* prompt optimizer

* remove realtime for now

* Update apps/studio/lib/ai/prompts.ts

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

* Update apps/studio/lib/ai/prompts.ts

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

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-09-29 14:07:53 +10:00
626eb30e77 Assistant action orientated approach (#38806)
* update onboarding

* update model and fix part issue

* action orientated assistant

* fix tool

* lock

* remove unused filter

* fix tests

* fix again

* update package

* update container

* fix tests

* refactor(ai assistant): break out message markdown and profile picture

* wip

* refactor(ai assistant): break up message component

* refactor: break ai assistant message down into multiple files

* refactor: simplify ReportBlock state

* fix: styling of draggable report block header

When the drag handle is showing, it overlaps with the block header.
Decrease the opacity of the header so the handle can be seen and the two
can be distinguished.

* fix: minor tweaks to tool ui

* refactor: simplify DisplayBlockRenderer state

* fix: remove double deploy button in edge function block

When the confirm footer is shown, the deploy button on the top right should be
hidden (not just disabled) to avoid confusion.

* refactor, test: message sanitization by opt-in level

Refactor the message sanitization to have more type safety and be more testable.
Add tests to ensure:

- Message sanitization always runs on generate-v4
- Message sanitization correctly works by opt-in level

* Fix conflicts in pnpm lock

* Couple of nits and refactors

* Revert casing for report block snippet

* adjust sanitised prompt

* Fix tests

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-09-29 03:57:36 +00:00
Andrew Valleteau e8c37ccdbd fix(studio): refetch GitHub repositories after new install (#39021)
* fix(studio): add refetch after github pop-up close

* fix: github.ts

* fix: add delay

* chore: increase to 2s

* chore: remove debug logs
2025-09-27 04:59:47 +00:00
Yadong (Adam) Zhang 9cfa6e8b53 fix: allow NumpadEnter key for search and pagination actions (#38889) 2025-09-26 18:59:05 +00:00
Matt Rossman e2960f38ed feat: self-hosted MCP development tools (#39022)
* feat: stub `getDevelopmentOperations`

* feat: `getProjectUrl`

* feat: `getAnonKey`

* feat: `generateTypescriptTypes`

* chore: comment for consistency

* fix: "development" in supported feature group schema

* fix: `ResponseError` checks

* chore: rename `typescript.ts` to `generate-types.ts`

* chore: unused import
2025-09-26 09:02:15 -04:00
99499164dc Docs/UI library vue nuxt clients (#38279)
* docs: add vue client to ui-library

* docs: add missing vue client to llms.txt

* docs: add nuxt client to ui-library

* docs: wrong env variable names

* docs: fix dependencies

* docs: update client-nuxtjs.json

* Reinstall the deps so that the pnpm-lock.yaml has less changes.

* Add blocks/vue package.

* Remove the vue blocks from ui-library.

* Copy the vue blocks into ui-library.

* Clean up unneeded files.

* Regenerate the pnpm-lock file from master.

* Fix prettier errors.

* docs: update shadcn-vue cli

* docs: reusable server client

* Small things

* docs: improvments after CR

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-09-26 12:48:47 +00:00
5f533247e1 Update docs url to env var (#38772)
* Update Supabase docs URLs to use env variable

Co-authored-by: a <a@alaisteryoung.com>

* Refactor: Use DOCS_URL constant for documentation links

This change centralizes documentation links using a new DOCS_URL constant, improving maintainability and consistency.

Co-authored-by: a <a@alaisteryoung.com>

* Refactor: Use DOCS_URL constant for all documentation links

This change replaces hardcoded documentation URLs with a centralized constant, improving maintainability and consistency.

Co-authored-by: a <a@alaisteryoung.com>

* replace more instances

* ci: Autofix updates from GitHub workflow

* remaining instances

* fix duplicate useRouter

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: alaister <10985857+alaister@users.noreply.github.com>
2025-09-26 10:16:33 +00:00
Jordi Enric 2e9b6d63ed FE-1850 API Report Filter Tweaks (#39012)
fixes
2025-09-26 10:05:00 +02:00
Joshen Lim 607dafefbd Remove useProjectsQuery from support form (#39026)
* Remove useProjectsQuery from support form

* Add comment for refactor
2025-09-26 15:34:10 +08:00
Joshen Lim 8d028b872e Fix BucketRow long name hides more button (#39014) 2025-09-26 15:17:13 +08:00
Saxon Fletcher 377fb046b5 Merge branch 'chore/ai-flow-limitations' into feature/braintrust 2025-09-26 16:50:41 +10:00
Saxon Fletcher 5493955b47 Merge branch 'chore/ai-flow-execute' into feature/braintrust 2025-09-26 16:44:05 +10:00
Saxon Fletcher 36cecc322b prompt optimizer 2025-09-26 16:42:03 +10:00
Saxon Fletcher 4374ad695f Merge branch 'chore/ai-flow-execute' into chore/ai-flow-limitations 2025-09-26 16:41:19 +10:00
Joshen Lim a93903e81c Add callout for reset password email (#38999)
* Add callout for reset password email

* nit
2025-09-26 12:24:50 +08:00
Joshen Lim 8f1ed3b471 Add callouts on suggestions for certain support issues (#38998)
* Add callouts on suggestions for certain support issues

* Nit refactor
2025-09-26 11:15:22 +08:00
Matt Johnston 54e7745282 Matt Johnston - humans.txt (#39025)
Stoked to join the team 🎉💚
2025-09-25 17:06:27 -04:00
Charis 7388c57862 fix: remove docs rewrites from www preview (#38986)
Preview sites are being crawled because the rewrite causes the docs production
content (which naturally has `index, follow`) to be served under the www
preview domain. We shouldn’t be rewriting in any environment except production.
2025-09-25 13:45:36 -04:00
Kang MingandCharis Lam c03343db7b docs: add ipv4 troubleshooting (#38987)
* fix: add ipv4 troubleshooting

* fix: remove disallowed field on troubleshooting article metadata

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-09-25 10:01:42 -07:00
kemal.earth 90976b7988 fix(studio): human readable formatting for total consumed times (#39011)
* fix: human readable formatting for total consumed times

* chore: accidental turkish spelling of performance

* fix: imports for renamed utils file

* feat: add tests for formatDuration util
2025-09-25 15:35:54 +01:00
Chris ChinchillaandCharis Lam e01699cce5 docs: Further toggles for Nimbus project (#39010)
chore: feature flag footer and fdw section

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-09-25 14:26:46 +00:00
Riccardo Busetti 32d130436d feat(etl): Add replication lag UI (#38973) 2025-09-25 12:43:19 +02:00
Joshen Lim 205a8bd14d Project dropdown fix staying on current page for selected project in onSelect (#38957) 2025-09-25 16:22:24 +08:00
Alaister YoungandJoshen Lim 84cf676bc0 chore: edge function examples filter stripe example (enabled features) (#38746)
* chore: edge function examples filter stripe example (enabled features)

* nit

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-09-25 16:11:09 +08:00
Alaister YoungandJoshen Lim e7cac83c4a chore: limit regions for nimbus (#38747)
* chore: limit regions for nimbus

* fix logic

* Autoselect east US if cloud provider is nimbus

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-09-25 16:09:15 +08:00
Joshen Lim a7bddc8bb0 Fix tests 2025-09-25 15:23:59 +08:00
Saxon Fletcher b9e50838ee adjust sanitised prompt 2025-09-25 17:10:10 +10:00
Ziinc 87c56233e7 fix: remove warehouse_logs, adjust function edge logs descriptoin (#38515) 2025-09-25 14:55:24 +08:00
Chris StocktonandChris Stockton ae9c70159d chore: update api-types with pnpm api:codegen (#38991)
Co-authored-by: Chris Stockton <chris.stockton@supabase.io>
2025-09-25 08:49:48 +02:00
Joshen Lim 252eacdeae Revert casing for report block snippet 2025-09-25 14:10:13 +08:00
Joshen Lim 15b32544a5 Couple of nits and refactors 2025-09-25 12:50:13 +08:00
Joshen Lim 4366ed05fe Fix conflicts in pnpm lock 2025-09-25 11:22:21 +08:00
Joshen Lim 654b10dc69 merge master resolve conflicts 2025-09-25 11:21:21 +08:00
Charis Lam 9869254e02 refactor, test: message sanitization by opt-in level
Refactor the message sanitization to have more type safety and be more testable.
Add tests to ensure:

- Message sanitization always runs on generate-v4
- Message sanitization correctly works by opt-in level
2025-09-24 18:23:43 -04:00
Charis Lam e218d9cd0c fix: remove double deploy button in edge function block
When the confirm footer is shown, the deploy button on the top right should be
hidden (not just disabled) to avoid confusion.
2025-09-24 16:19:22 -04:00
Charis Lam 2b8c73b0e3 refactor: simplify DisplayBlockRenderer state 2025-09-24 14:39:22 -04:00
57fb359434 feat(docs): add menu links to Supabase UI Library (#38827)
* feat: add UI library icon to 'Menu Icons'

* feat: add UI Library links

* stamp: format

* Update apps/docs/app/page.tsx

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-09-24 14:49:55 +02:00
Alaister Young 1c092d2d05 chore: optional git url in homepage client libs (#38949) 2025-09-24 20:10:24 +08:00
Ulme Wennberg db918bda3a docs: fix typo in ssl-enforcement guide (#38895) 2025-09-24 09:55:21 +00:00
Joshen Lim 767d65e0f5 Revert ignoreBuildErrors (#38970) 2025-09-24 10:20:52 +02:00