Commit Graph
33090 Commits
Author SHA1 Message Date
Alan Daniel 6bd48ccef3 rollback sharp version 2025-10-22 19:38:54 -04:00
Alan Daniel 70eedf5db6 try 2025-10-22 19:33:22 -04:00
Alan Daniel a3ebc9f43f try pnpm-workspace 2025-10-22 19:15:13 -04:00
Alan Daniel 591a93d4a7 try npmrc 2025-10-22 19:10:25 -04:00
Alan Daniel 2107fcd069 install optional deps on vercel 2025-10-22 19:00:57 -04:00
Alan Daniel c4f0c4883b Merge branch 'master' into alan/add-markdown-to-cms 2025-10-22 18:57:40 -04:00
Charis 13c4b1584c fix,perf(policies search) (#39790)
* fix(policies search): replace useUrlState with nuqs

There is a bug when typing quickly into the search field on the policies
page: because useUrlState naively uses router.replace, which is
asynchronous, the search term can get corrupted, e.g., searching for
"dummy" might end up with a final value of "dum". Switched to nuqs for
better handling.

* perf(policies page): memoize and optimize for projects with many tables

A project with hundreds of tables will have extremely slow search
performance for the policies page, because of heavy rerendering. Made
some optimizations:
- Memoized to reduce rerendering
- Hid filtered-out tables instead of unmounting, so we don't have to
remount when the search is cleared

* refactor(policies page): pass policies info through context

Avoid having a mess of props by creating a PoliciesDataContext to share
policy information.

* cleanup(policies pages): minor code cleanup, no user-facing changes
2025-10-22 20:57:11 +00:00
Jordi Enric 8358d85d73 capitalize overview in sidebar (#39780)
capitalize overview
2025-10-22 18:11:43 +02:00
Joshen LimandCharis Lam f2122b64f2 Chore/remove unpaginated projects endpoint from docs (#39771)
* Use paginated projects endpoint for docs

* Deprecate old projects query

* Fix

* Fix

* fix(docs branch selector)

* refactor(docs project selector): simplify dom

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-10-22 23:39:13 +08:00
Filipe Cabaço 7f31118db0 fix: correct settings documentation and screenshots (#39776) 2025-10-22 16:30:59 +01:00
Jordi Enric a37ae0a3dc swap error rate for success rate and add tests (#39774)
* swap error rate for success rate and add tests

* rm comment

* format delta
2025-10-22 17:15:15 +02:00
Jordi EnricandAli Waseem aa30698cc2 feat: new getting started section to open correct presets in Connect dialog DESIGN-302 (#39731)
* fix framework dropdown opening and scrolling page up

* fix tab opening

* add infertab util

* add some tests

* update getting started section

* fix rounded

* smol explainer

* Update apps/studio/components/interfaces/Connect/Connect.tsx

Co-authored-by: Ali Waseem <waseema393@gmail.com>

* simplify confiitonal

* moar tests

---------

Co-authored-by: Ali Waseem <waseema393@gmail.com>
2025-10-22 17:14:36 +02:00
Kevin Grüneberg abcc8a8ee9 fix: clear additional cache keys on project deletion (#39767) 2025-10-22 23:06:51 +08:00
Kamil Ogórek 564ebfc274 feat(docs): Add required oauth scope to API endpoints (#39723) 2025-10-22 15:19:23 +02:00
CharisandJoshen Lim d8f7cc0d57 feat(support form): attach dashboard logs (#39539)
* o11y: mirror and sanitize breadcrumbs

Mirror Sentry breadcrumbs as the basis for our own support logging. Also
adds more sanitization to breadcrumbs.

* feat(support form): toggle for attaching dashboard  logs

Add a toggle to the support form when the category is "Dashboard bug",
to attach recent dashboard logs. Users can preview the attached logs and
opt out.

* feat(support links): dedicated support link component

Add a new component for support links, which:
- Uses the serializer for support link params to ensure
serialization/deserialization pairs correctly
- Snapshots breadcrumbs so the attached log on the support form will be
cut off at the support link click (otherwise we will get support form
actions cluttering up the log)

* tests(support form): extend timeout on flaky test

* Minor clean up

* fix(support form): allow url to specifically indicate no specified project

* minor nits

* Fix tests

* Fix tests

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-10-22 08:57:49 -04:00
Filipe Cabaço 1418fc9af6 realtime: add more settings to Realtime (#39566)
* Enable / Disable Realtime for tenant
* Set max payload size in kb
* Set max presence events per second
2025-10-22 12:43:15 +01:00
25fd22a7d8 docs(realtime): Document broadcast replay (#39580)
* fix: broadcast from database admonition

This feature is not in Public Alpha anymore

* docs(realtime): Document broadcast replay

* Update apps/docs/content/guides/realtime/broadcast.mdx

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

* Update apps/docs/content/guides/realtime/broadcast.mdx

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Update apps/docs/content/guides/realtime/broadcast.mdx

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

* docs(realtime): format

* chore: format again

* fix swift example

* fix python example

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Guilherme Souza <guilherme@supabase.io>
2025-10-22 11:39:45 +00:00
Tyler 2d6b3f012d guide: Remove the mention of GPT3 as it feels outdated (#39696)
Remove the mention of GPT3 as it feels outdated
2025-10-22 13:20:50 +02:00
Tyler 036b32c77c guide: Update Postgres full text search docs with more content (#39760)
* update full text search docs with more content

* run formatter
2025-10-22 13:19:14 +02:00
Joshen Lim e53839ad54 Improve messaging in policy table rows (#39755) 2025-10-22 19:05:22 +08:00
Timothy Lim 2da52a0f84 chore: Clarify Custom SMTP minimum interval (#39761)
* chore: Clarify Custom SMTP minimum interval

* Prettier fix
2025-10-22 10:43:39 +00:00
Alaister Young cf315681f4 chore: add cloudflare cdn to default src csp (#39765)
chore: add cloudflare cdn to csp
2025-10-22 09:20:24 +00:00
Joshen Lim 1f07439ab5 Chore/table editor stay on schema after creating table (#39758)
* Stay on schema after creating a new table if schema is not public

* Small improvement to tab closing behaviour if tab is in focused
2025-10-22 17:16:39 +08:00
Joshen Lim 52aac9dfa6 Consolidate enabled flag checks to use isOptedIntoProjectLevelPermissions for useProjectsQuery (#39762) 2025-10-22 17:05:18 +08:00
gitswade 0cb3f5e0ce Fixed typo (#39749)
"provide the several benefits" -> "provide several benefits"
2025-10-22 09:03:18 +00:00
Alaister Young 9af17e8d0b fix: use dedicated nimbus env var (#39763) 2025-10-22 08:41:44 +00:00
Joshen Lim bf45063e69 Use upgrade plan button in FreeProjectLimitWarning (#39715) 2025-10-22 15:08:11 +08:00
Saxon Fletcher e64fae6513 Fix gap issue (#39754)
fix gap issue
2025-10-22 14:56:19 +08:00
CharisandJoshen Lim 9c4919948a fix(policy editor): reduce number of table role access queries (#39601)
* fix(policy editor): reduce number of table role access queries

On the Policies page, every single PolicyTableRow fires off its own
table roles access query (because each query is keyed to an individual
table). For users with many tables (400+), this causes the API to
rate-limit the dashboard.

Changed so that the table roles access query now fetches information for
the entire schema in one go, then organizes it by table.

* Nit refactors

* refactor: return minimal data from table access query

All we need to know is whether a given table has anon or authenticated
access, so just query for the list of tables that match that criteria
from information_schema.role_table_grants.

* refactor(policies page): more efficient sql query for getting anon/auth access tables

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-10-22 14:39:42 +08:00
9edc74f1b7 Swap project query to fix team role picker (#39720)
* Swap project query to fix team role picker

* Cleanup

* Fetch the projects in all cases, instead of only when there's no scoped roles.

* Make the projects fetch only when the panel is visible.

* Nit

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-10-22 13:13:11 +08:00
Kanishk Dudeja 094ba8233b fix(billing): make balance optional in subscription endpoint response (#39746) 2025-10-22 10:14:01 +08:00
CharisandAli Waseem 2cdbc381df cleanup(region selector): remove code from selected region (#39730)
* cleanup(region selector): remove code from selected region

Selector looks a bit busy and you probably know the code if you've
already selected it, so removing it from the dropdown as suggested in a
previous PR.

* refactor(region selector): clean up unnecessary type checks

Co-authored-by: Ali Waseem <waseema393@gmail.com>

* ci: Autofix updates from GitHub workflow

---------

Co-authored-by: Ali Waseem <waseema393@gmail.com>
2025-10-21 17:32:21 -04:00
Alan Daniel d67f3408b2 nits in highlighting 2025-10-21 17:09:50 -04:00
Alan Daniel 32bba6dbee fix build 2025-10-21 17:01:44 -04:00
Alan Daniel 23a2da7119 memo highlighting 2025-10-21 16:38:56 -04:00
Alan Daniel e944d768fa improve mdx syntax highlighting 2025-10-21 16:35:24 -04:00
Alan Daniel a312b4699d Merge branch 'master' into alan/add-markdown-to-cms 2025-10-21 16:13:25 -04:00
Charis a73c4cf4bb docs(readme): fix dev instructions for internal/external (#39728) 2025-10-21 15:47:55 -04:00
Charis 3dc44d3a51 ci(dependabot): don't get prompted for major version updates for github actions (#39733)
Major version updates require more preparation and testing, so we only
want to update these on our schedule / if actually deprecated, not be
prompted as soon as a new major version comes out. We mostly want to
keep patch/minor updates so we can be aware of any vulnerability fixes.
2025-10-21 19:39:25 +00:00
Ali Waseem 167644d2de Add Ali Waseem to Humans.txt (#39726)
added myself to human.txt
2025-10-21 17:06:40 -02:30
Stojan Dimitrovski 153987462c feat: reduce profile information requests, faster page renders (#39729) 2025-10-21 20:23:53 +02:00
wong2andAlan Daniel 22a1025f0e docs: fix apple secret generator tool form spacing (#39612)
Co-authored-by: Alan Daniel <stylesshjs@gmail.com>
2025-10-21 12:35:12 -04:00
Alan Daniel 190d0c4e99 update contributors count at /careers page (#39598)
upd count
2025-10-22 00:33:32 +08:00
Ali Waseem 0c8b200ac0 Updated docs to use pnpm for studio (#39727)
updated docs to use pnpm
2025-10-21 11:59:54 -04:00
Stojan Dimitrovski 7646c167d6 feat: bump debug time of auth lock to 10s (#39724) 2025-10-21 15:20:55 +00:00
CharisandJoshen Lim 91645ade09 feat(region selector): get region status by desired size (#39631)
* feat(region selector): get region status by desired size

The available-regions endpoint now takes a desired_instance_size query
parameter to return more accurate status data.

* Align call of useOrganizationAvailableRegionsQuery in [slug] with RegionSelector, and rearrange some consts

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-10-21 11:08:57 -04:00
Prashant Sridharanandkemal 31368be3c1 Added new case study for Rally (#39721)
* Added new case study for Rally

* ci: Autofix updates from GitHub workflow

* chore: colour correct rally logos

---------

Co-authored-by: kemal <hello@kemal.earth>
2025-10-21 15:28:38 +01:00
Filipe Cabaço 541b6fc4f5 fix: improve realtime inspector (#39626)
* Add better error descriptions when the channel fails to join
* If there are no publications, database changes will be disabled and untoggled to prevent errors
2025-10-21 14:56:49 +01:00
Guilherme SouzaandChris Chinchilla 5f599a9f4f docs: add note regarding supporting full name when sign in with apple (#39672)
* docs: general improve apple sign in guide

* docs: add note regarding supporting full name when sign in with apple

* add ComposeAuth to spelling list

* Formatter

* apply code review fixes

# Conflicts:
#	apps/docs/content/guides/auth/social-login/auth-apple.mdx

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-10-21 09:37:14 -03:00
Cemal Kılıç 7df7c4eec3 feat(auth): use fetch with timeout for auth calls (#39714) 2025-10-21 15:13:30 +03:00