Commit Graph
31251 Commits
Author SHA1 Message Date
2b419c70a1 chore: add usercentrics for consent management (#35384)
* chore: add usercentrics for consent management

* client component to make next.js happy

* address feedback

* move consent state to common

* fix import

* ensure page events are sent correctly

* add feature flag provider to ui library site

* fix ui lib 500 error

* skip in test env

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2025-05-05 13:18:48 +08:00
Joshen Lim 3c3fe9b5f1 Chore/fix papercuts 020525 (#35427)
* Fix giant icon in roles edit button

* Fix portals for edge functions and realtime inspector

* Set refetchInterval to 2000 in DiskManagementForm if requested_modification in data

* Fix
2025-05-05 11:27:29 +08:00
divit 691ab75cb1 feat: change default us region to us east 2 (#35452) 2025-05-04 16:08:01 +05:30
Tyler 7bf04545d8 docs: Add some missing descriptions to the CLI reference docs (#35434)
* Add description for supabase-config-push

* docs: Add descriptions to a few cli commands and command groups

* delete the unnecessary note about linking a project

* fix/add cli-latest file to gitignore
2025-05-04 09:28:35 +09:00
Ahmad Khan 9ee61be79d doc fixes (#35435) 2025-05-03 17:03:14 +00:00
Charis f611fa11d9 feat (content api): add schemas and models for search results and guides (#35284)
Add models and GraphQL interface definitions for search results and guides (representing Markdown documents such as tutorials, etc.).

These aren't connected to anything yet, but putting them in a separate
PR to keep the review short and relatively simple.

Towards DOCS-214
2025-05-02 12:03:41 -04:00
Max Holmberg 9016b84657 Remove + character from code blocks (#35414) 2025-05-02 15:44:56 +00:00
Charis 5718684991 chore (content api): generate types from root schema (#35283)
Ensure that resolvers are properly typed by adding a script to generate
types from the root schema.
2025-05-02 11:25:35 -04:00
Charis 02aea98053 docs(third-party auth,clerk): correct examples (#35412)
Correct the code examples for the Clerk third-party auth docs:
- Fix TypeScript error
- Change RLS policy check to accept both [Clerk v1 and v2
JWTs](https://clerk.com/docs/backend-requests/resources/session-tokens)

Pulled code samples from an example app that I've checked in to make
maintenance and testing easier in the future.
2025-05-02 11:13:19 -04:00
Terry Sutton 651587d98a React-based (#35425) 2025-05-02 09:11:24 -02:30
Jordi Enric f01b4faab0 Update destructive regex and add tests (#35423)
update destructive regex and add tests
2025-05-02 12:03:08 +02:00
Jordi Enric 8e48426117 table exports: fix type, add tests (#35422)
fix type, add tests
2025-05-02 18:02:44 +08:00
Kevin Grüneberg 12ba4da4a5 feat: groundwork for larger instance sizes (#35373) 2025-05-02 15:45:03 +07:00
Jordi Enric 5a03fde0d6 fix table exports (#35420)
* fix table exports

* change return for removing square brackets
2025-05-02 16:12:55 +08:00
Inian c8a5c6736f fix(docs): update upgrading language (#35419) 2025-05-02 07:33:46 +00:00
Saxon Fletcher 3aadc009e6 feat: billing address, name and tax id for org creation/upgrade (#34922)
We currently get support requests about adding or amending invoices due to no billing address being set. Changes in this PR:
- Unify tax id and billing address into a single form
- Add ability to set billing name that diverges from org name
- Add ability to set billing address & tax id during org creation (only paid plans)
- Add ability to set billing address & tax id during plan upgrade
2025-05-02 10:10:41 +08:00
Terry Sutton 263b0c1c5b Fix pointer events (#35408) 2025-05-01 13:16:13 -02:30
Julian S 7307f96879 Update declarative-database-schemas.mdx (#35397)
The alert "Make sure your local database is stopped before diffing your schema." appears after completing the diff step.
It would be more useful to display it before performing the diff, to ensure that "supabase stop" is executed beforehand and not afterward.
2025-05-01 15:32:15 +00:00
yujiseok 2ca5a12854 fix broken Apple REST API link in auth-apple.mdx (#35404)
- replace broken Sign in with Apple REST API link
2025-05-01 15:25:22 +00:00
Pamela Chia 38173acc34 fix: error when telemetry groups unknown (#35403) 2025-05-01 19:24:39 +08:00
Charis 84ff291a09 fix(docs): wrappers tags (#35386)
Pull wrappers tags from tag docs_v*, not tag v*
2025-05-01 10:24:09 +10:00
Wen Bo Xie c638255cb2 fix: change notion to linear team mapping (#35363) 2025-04-30 20:54:53 +00:00
samroseandBobbie Soedirgo 0797b10bf3 docs: small correction in plan_filter doc for usage (#35379)
* docs: small correction in plan_filter doc for usage

* docs: fixing proofread comments

* docs: prettier formmatting fix

* docs: omit unnecessary `load` command

---------

Co-authored-by: Bobbie Soedirgo <bobbie@soedirgo.dev>
2025-04-30 15:48:57 -04:00
Nate Barbettini ae7759be9c fix(docs): Fix example file name in auth/quickstarts/nextjs.mdx (#35364)
fix: Fix example file name in auth/quickstarts/nextjs.mdx
2025-04-30 18:04:30 +00:00
Prashant Sridharan c35fe03ab6 Added Euka case study (#35385) 2025-04-30 18:45:56 +01:00
Charis 4466b9e262 revert(ui-patterns): admonition link underline (#35387)
Admonition link underline was added when admonitions were not "prose",
but admonitions are now "prose" again so it is redundant
2025-04-30 13:14:49 -04:00
dependabot[bot]andIvan Vasilov a343e864a0 build(deps-dev): bump react-router from 7.4.0 to 7.5.2 (#35263)
* build(deps-dev): bump react-router from 7.4.0 to 7.5.2

Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 7.4.0 to 7.5.2.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router@7.5.2/packages/react-router)

---
updated-dependencies:
- dependency-name: react-router
  dependency-version: 7.5.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Rerun the version bump.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-04-30 10:33:11 +00:00
Joshen Lim 5e0629cc09 Fix local version popover version (#35375) 2025-04-30 18:06:20 +08:00
Joshen Lim 4a5e1a8bd4 Update query block bar hover behaviour (#35374)
* Update query block bar hover behaviour

* Smol fix
2025-04-30 17:47:47 +08:00
Eduardo Gurgel 2004082a13 chore: add Eduardo to humans.txt (#35365) 2025-04-30 17:24:22 +08:00
angelicoandJoshen Lim 14562e9c8a chore: init useIsOrioleDbInAws (#35325)
* chore: check for cloud provider in useIsOrioleDb

* chore: introduce useIsOrioleDbInAwsNew instead

* chore: consolidate to using useIsOrioleDb

* chore: selectively include useIsOrioleDbInAwsNew in conditionals

* fix: prettier

* fix: incorrect cloud provider

* fix: update conditional instead

* fix: prettier

* Simplify logic

* Smol fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-04-30 15:29:48 +08:00
Daniel Gabriel 915af35334 fix(ui): enable portal for popover components (#35370) 2025-04-30 06:52:23 +00:00
21bbc93afa Chore/table editor filter sorts logic moved to hooks (#35138)
* init

* update Popovers to use new hooks

* Update Header.tsx

* made primitive components for filter and sorts

* Delete FilterPopoverWrapper.tsx

* Delete SortPopoverWrapper.tsx

* remove

* Create README.md

* Update README.md

* fix sort popover issues

* Update SupabaseGrid.tsx

* move DeleteConfirmationDialogs into context

* fix issue with

* more stuff for alaister

* fix ts and tables pages

* First round of clean up

* Update README.md

* Smol fix

* Fix issues identified

* Smol fix

* Fix updating table name in database/tables not invalidating

* Improve SQL editor invalidation logic

* Add fix to reopen last opened table when landing on table editor

* Smol fix

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-04-30 14:19:21 +08:00
Jordi Enric a5f9142fd4 fix logs datepicker handling global copy events (#35361) 2025-04-30 14:07:59 +08:00
Joshen Lim f08e5a3c17 Tiny update to delete confirmation modal (#35321) 2025-04-30 13:58:20 +08:00
Terry Sutton 65d0a3cd9b Remove logo (#35366) 2025-04-29 20:09:42 -02:30
Charis 9e8107c070 fix (content api): local dev introspection (#35279)
* feat (content api): add top-level schema query

Adds a top-level schema query that returns the stringified GraphQL
schema for this endpoint. Useful for LLMs to access the stringified
schema for prompting and tool calls.

Query shape:

```
query Search {
  schema
}
```

Query response:

```
{
  "data": {
    "schema": "schema {\n  query: RootQueryType\n}\n\ntype RootQueryType
{\n  \"\"\"Get the GraphQL schema for this endpoint\"\"\"\n  schema:
String\n}"
  }
}
```

Towards DOCS-214

* test (content api): add schema snapshot

Add schema snapshot test to prevent unintentional changes to public API
for this endpoint

* fixup! feat (content api): add top-level schema query

* fix (content api): local dev introspection

The validation rules that are used for security in production are
preventing GraphiQL from introspecting the schema in dev. Since this DX
feature is incredibly useful, I'm turning off the complexity and depth
validations for dev GraphiQL only. Local curls, etc., will still have
production-standard validation so it can be tested locally.
2025-04-29 16:00:34 -04:00
Charis ca1cd24a07 fix (content api): return graphql-spec compliant error (#35202)
GraphQL errors were occasionally returned as normal HTTP status code
errors, switched to using only GraphQL-spec compliant errors for the
/docs/api/graphql endpoint.
2025-04-29 15:51:07 -04:00
Charis f3583a05bc fix(docs): branch for wrappers docs (#35340)
Wrappers docs should not be pulled from the main branch, which contains
unreleased content, but instead from the latest release tag.
2025-04-29 15:39:46 -04:00
Charis e41d90926b feat (content api): graphql validation (#35191)
Continue building out the docs/api/graphql endpoint by adding more
validation:

-A query depth limiter
- A query complexity limiter

Also added dummy (empty) root resolver and schema, plus a dev-only
GraphiQL page for better DX.

Endpoint should still return a 404 for now as there is no resolver.
2025-04-29 15:27:21 -04:00
Charis a0f5c798df feat(content api): add dummy api/graphql route (#35141)
The first PR in a series to build out the Content API. Adds a dummy
GraphQL route with some tests: for now all this does is validate the
request body and return a 404.
2025-04-29 13:02:36 -04:00
Charis d51dc8c24e db (docs): new search functions (#35229)
Add some new search functions. Should behave roughly the same as the
search functions that are currently in use, but formatted to work better
for the new search endpoint(s).
2025-04-29 12:52:08 -04:00
Terry Sutton 2fadfc3374 Update og image for ui lib (#35357) 2025-04-29 16:49:15 +02:00
Joshen Lim 34147c3bd2 Fix theme mode radio item large (#35350)
* Fix theme mode radio item large

* Attempt to fix Logs.DatePickers.test by fixing a date for the test

* Revert
2025-04-29 18:06:24 +08:00
Jordi Enric 4976a8de82 fix Logs Date Pickers tests (#35351)
* fix tests

* fix naming

* fix names 2

* undo logspreviewer
2025-04-29 17:12:10 +08:00
Jordi Enric 37ee1c0ca2 fix logs filter popover position (#35334) 2025-04-29 11:17:29 +08:00
Joshen Lim 270935bec8 Chore/update tab labels when entering sql or table editor (#35219)
* Update table editor tab labels when entering table editor if labels dont match entity names

* Update sqlEditorTabsCleanup to also update tab labels if they dont match snippet names

* Update table editor tabs clean up logic to be consistent with sql editgor

* Clean up
2025-04-29 11:15:29 +08:00
Joshen Lim 5359176187 Add guards in table editor table state (#35320) 2025-04-29 11:04:26 +08:00
Charis ee87cc20e8 ci(docs): fix build timeouts (#35336)
Fix build timeouts by skipping type generation for reference pages
2025-04-28 16:54:07 -04:00
Joshen LimandIvan Vasilov 9088aa7fe8 Fix query block not showing labels (#35328)
* Fix query block not showing labels

* Readd the css file for react-resizable.

* Add react-resizable package to resolve a style.css file not found issue

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-04-28 22:13:38 +02:00