Commit Graph

32828 Commits

Author SHA1 Message Date
Joshen Lim
426fda2ebc Address circular dependencies across multiple files (#39231)
* Address circular dependencies across multiple files

* Fix TS
2025-10-06 11:01:56 +08:00
Saxon Fletcher
54ad0b7495 Chore/ai realtime (#39145)
* 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

* ai realtime

* ai realtime

* 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

* empty states

* prompt otpimise

* refine prompt

* 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>

* updates

* feature flag

* use flag and additional check

* remove sort

* messages copy

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-10-06 10:31:40 +10:00
Danny White
311cc5611a chore(studio): improve Postgres upgrade experience (#39189)
* chore: clearer error messages

* chore: clearer language around upgrade destination

* Update apps/studio/components/interfaces/Settings/Infrastructure/UpgradeWarnings.tsx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-10-06 10:52:00 +11:00
Danny White
ac95a40def chore: change terminology of prior post (#39068) 2025-10-06 10:41:28 +11:00
Copple
13dcb5ef42 chore: update cli reference doc (#39066)
* chore: update cli reference doc

* chore: update cli reference doc
2025-10-05 15:12:13 +02:00
Jordi Enric
74a3adb3c7 fix schema switch (#39259)
fix
2025-10-04 16:30:58 +02:00
Charis
3cd5def41d chore: clean (#39249) 2025-10-04 14:21:17 +02:00
Danny White
7f224757bd chore(www): update Select banner with replay text (#39252)
chore: banner copywriting
2025-10-04 13:02:28 +10:00
Charis
faa5066bdb fix(column editor): cannot read properties of null (#39244)
Another instance of types not matching reality, we have a check for undefined, but this is sometimes coming out null.
2025-10-03 16:06:42 -04:00
Francesco Sansalvadore
7c06900eea lws blog posts (#39242)
* lws select blog posts setup

* update series e slug

* fix web3 blog quotes and images

* yb post images

* remove temp link

* add author

* add description

* update position
2025-10-03 13:34:33 -04:00
Danny White
3e78f1a15f chore(www): update Select banner (#39228)
chore: update select banner
2025-10-03 12:44:41 -04:00
Charis
008f654f6c feat: add fallthrough case in CustomDomainConfig (#39243)
We've received some support tickets about the custom domain UI showing nothing under the header. I suspect we're letting some case fallthrough in the nest of chained ternaries, but couldn't find it just by thinking very hard about the problem, so I'm adding some logging.
2025-10-03 12:19:59 -04:00
Ivan Vasilov
d6a2b32996 fix: Bug with Project Selector in support form resets on windows focus (#39241)
* Only set the first project on initial load.

* When an org is changed, change the key of the project selector so the query is retriggered.
2025-10-03 18:08:27 +02:00
Charis
e4b4205065 fix: bug with clone.target_project being null (#39240)
According to our types it shouldn't be null, and I haven't traced it backwards to figure out where our types are wrong yet, but this should at least prevent [Sentry errors like this](https://supabase.sentry.io/issues/6920500319)
2025-10-03 11:41:10 -04:00
Tom Moses
d78233533b fix typo (#39238) 2025-10-03 14:34:22 +00:00
dkeib-supabase
8fca7bd62f Add Dustin Keib to humans.txt (#39220) 2025-10-03 14:33:30 +00:00
Ivan Vasilov
a3597cd59d feat: pnpm i will only run postbuild scripts for approved dependencies (#39018)
* Move the overrides to pnpm-workspace.yml.

* Only allow building for supabase CLI. All other deps will ignore their postbuild scripts.

* Run approve-builds and approve only supabase CLI.
2025-10-03 12:37:12 +02:00
issuedat
5219515c53 feat(auth): introduce toggle to make the email optional (#38788) 2025-10-03 12:22:05 +02:00
Katerina Skroumpelou
b7f1616e3c chore: update docs from js monorepo (#39200)
* chore: update docs from js monorepo

* chore: remove sparse-checkout for workflow to work

* chore: update workflow with no-frozen-lockfile

* chore(js libs docs update): regenerate typespec snapshot on update

* fix(typespec): fix missing types in transformed typespec

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-10-03 12:02:53 +03:00
Chris Chinchilla
cdd81042b2 docs: Remove oddly broken usage links (#39198) 2025-10-03 10:41:31 +02:00
Thomas
f1e8174c0e chore(billilng): replace billing partner "aws" with "aws_marketplace" 2025-10-03 10:28:24 +02:00
Ivan Vasilov
260d770148 Revert "Add sample rate to fetcher" (#39209)
Revert "Add sample rate to fetcher (#38785)"

This reverts commit 506b20734f.
2025-10-03 10:26:22 +02:00
matlin
e0240c59d6 fix: upgrade nuqs to properly support url param arrays for sorts and filters (#39214)
* upgrade nuqs to get proper native url array params

* use next useSearchParams because nuqs is stale
2025-10-02 19:10:06 -05:00
Thomas
7eb70e1d27 fix(billing): hide button for credit top up for orgs billed by a marketplace
---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-10-02 19:07:53 +02:00
Thomas
564178936d chore(billing): adjust copy for upcoming invoice section for AWS billed orgs 2025-10-02 18:47:52 +02:00
Chris Chinchilla
35cae7d4fe docs: Improve explanation of how to enable physical backups (#39192)
* Draft

* Remove table
2025-10-02 17:52:43 +03:00
Adam Mokan
7be825f373 Add Adam Mokan to humans.txt (#39126)
adds Adam Mokan to `apps/docs/public/humans.txt`
2025-10-02 13:09:32 +00:00
kemal.earth
685505a568 feat(studio): add auth overview feature flag (#39113)
* feat: basic auth overview page setup

Adds the route and layout for the Authentication Overview page.

* feat: add feature flag for auth overview

* chore: small clean up

* feat: add overview page header

* feat: create sections for auth overview page

Adds three high level components for the sections of the Auth overview page. Can break down further later

* feat: add conditional redirect for top level sidebar item

This adds a redirect based on whether overview page is enabled or not. For users who dont have it enabled they go to users as default when tapping authentication.

* feat: add redirect if overview is set to false

* fix: add loaded context for feature flag

* chore: clean up scaffolding mark up

* chore: remove unused important

* chore: placeholders for sections
2025-10-02 13:43:57 +01:00
Charis
7596274204 fix: correct ref paths for new sdk specs (#39085) 2025-10-02 12:36:04 +03:00
Katerina Skroumpelou
fc82bc1266 chore: update js libs docs url (#39167) 2025-10-02 12:35:45 +03:00
barcofourie
3091449547 Added Barco Fourie - humans.txt (#39191) 2025-10-02 11:04:02 +02:00
matlin
2801ce877f fix: handling of upgrade failure acknowledgment in ProjectUpgradeFailedBanner (#39185) 2025-10-02 08:24:27 +00:00
Kevin Grüneberg
1a4a283480 chore: deprecate additional daily stats blocks (#39162)
As part of reducing reliance on our old daily stats pipeline, this PR adds additional deprecated properties. Especially with the revamped reports, these daily stats are barely getting called anymore and it is not worth exposing them to the customers this way.
2025-10-02 15:37:50 +08:00
Saxon Fletcher
1ae6f4f44f re-add chart config (#39149) 2025-10-02 12:41:29 +10:00
Danny White
e131e18623 fix(studio): remove password managers from inputs (#39187)
* fix: change name prop value

* chore: use attribute instead and catch other password managers

* chore: add comment

* fix: remove password manager from edge function secrets inputs

* chore: remove comments
2025-10-02 11:26:22 +10:00
Sean Oliver
e978a084b2 feat: add table activation tracking (#39090)
Add telemetry tracking for activation-related table operations
- Implement SQL event parser to detect table creation, data insertion, and RLS enablement
- Add telemetry tracking for these operations in table editor as well
- Add test coverage for SQL event parser
2025-10-01 14:54:51 -07:00
Alaister Young
9ba9c08ef4 chore: add nimbus auto sync (#39182)
* chore: add nimbus auto sync

* trigger on branch for testing

* remove client payload

* try v4

* run only on master
2025-10-01 21:53:49 +00:00
Joshen Lim
75212d44e1 Chore/direct upgrade prompts to support based on flag (#39166)
* Add UpgradePlanButton which handles redirecting either to subscription page or support page

* Update upgrade CTAs to go to support if billing:all flag is disabled

* Nit

* Nit

* Smol fix

* Temp show plan upgrade support category

* revert as instructed

* asChild

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-10-02 04:46:06 +08:00
Joshen Lim
8cc39ebfbc Fix upgrading compute for provider (#39156)
* Fix upgrading compute for provider

* Add flag for disk management section in database settings

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-10-01 19:19:09 +00:00
Joshen Lim
8e3419834a Chore/add flag for html title (#39173)
* Add flag for custom html title

* nit
2025-10-02 03:16:35 +08:00
Joshen Lim
57256efaaa Add flag for logs explorer showing metadata (#39171)
* Add flag for logs explorer showing metadata

* Simplify

* Flip

* Check logs metadata in useSingleLog

* Update unified logs

* remove comment

* Shortcircuit earlier on logsMetadata boolean

---------

Co-authored-by: Matt Linkous <matthew.linkous@gmail.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-10-01 18:53:54 +00:00
Joshen Lim
933329b30c Add flag for restarting project (#39153)
Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-10-01 18:40:23 +00:00
Joshen Lim
a7a097ef4e Add flag for database upgrades (#39164) 2025-10-02 02:29:21 +08:00
Joshen Lim
2025acb30a Add flag for network restrictions section (#39161)
Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-10-01 18:28:11 +00:00
Joshen Lim
da2fef0413 Chore/add flag for restore to new project (#39155)
* Add flag for restore to new project

* Refactor restore to new project components

* Fixy
2025-10-02 02:12:32 +08:00
Joshen Lim
89e7abd7ca Add flag for read replicas (#39158)
* Add flag for read replicas

* nit
2025-10-02 02:08:41 +08:00
matlin
1382d2d9d9 fix(studio): use session storage as default cache for tab state (#39175)
use session storage as default cache for tab state
2025-10-01 13:07:37 -05:00
Joshen Lim
80529c8107 Add flag for metadata IP logs explorer template (#39152)
* Add flag for metadata IP logs explorer template

* Flip true

* fix(log explorer): also remove metadata ip template from templates page when
flag disabled

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-10-02 01:42:23 +08:00
Joshen Lim
579332fda3 Add flag to disable wrappers UI (#39150) 2025-10-02 01:34:20 +08:00
Joshen Lim
843234e153 Add flag to hide email and phone columns in auth users (#39151)
* add flag to hide email and phone columns in auth users

* fix: add authentication:show_email_phone_columns to required schema

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-10-02 01:26:14 +08:00