Commit Graph
31514 Commits
Author SHA1 Message Date
Ivan Vasilov e7b69c27b5 Merge branch 'master' into local-dev-perf 2025-06-02 13:40:35 +02:00
Joshen Lim 363b976e94 Fix service checks coming up state (#35705)
* Fix service checks coming up state

* Fix delete project redirect

* Smol fix

* Remove unnecessary padding in Delete Project Panel

* Address feedback

* Rename confusing isSuccess param to isHealthy
2025-06-02 16:28:23 +08:00
Tyler 8f2993dc0c docs: Add JSON type support for generated typescript types (#36013)
* docs: Add JSON type support for generated typescript types

* run formatter

* update heading format
2025-06-01 20:44:47 +09:00
Terry Sutton 0ffe63f062 add replication area to dashboard (#35946)
* First

* Update link

* Type issue
2025-05-30 13:31:37 -02:30
Ivan Vasilov f0ba86a6a9 Use the catalog version of next as a peer dep in ui-patterns. This shouldn't affect the apps, it's just for types. 2025-05-30 13:43:55 +02:00
Ivan Vasilov 58385cdb23 Readd the comments in the css. 2025-05-30 13:40:20 +02:00
Ivan Vasilov 6a03be8f7e Regenerate pnpm-lock from the master branch. 2025-05-30 13:33:55 +02:00
Kevin Grüneberg 4d7c4f3ae6 revert imports 2025-05-30 18:38:20 +08:00
Kevin Grüneberg bf2fe294cf reverts 2025-05-30 18:31:48 +08:00
Kevin Grüneberg 93fbd40b8d revert typescript change 2025-05-30 18:30:11 +08:00
Kevin Grüneberg db92f8a722 a 2025-05-30 18:26:23 +08:00
Kevin Grüneberg 6420f110d2 Merge branch 'master' into local-dev-perf 2025-05-30 18:25:35 +08:00
Ivan Vasilov 181f15752c chore: Move the files in ui-patterns under src folder (#36032)
* Move all components in ui-patterns into src folder. Add exports field for all files.

* Fix all apps to use the new ui-patterns.

* Fix the design-system build.

* Remove all unused rexports from ui-patterns index. Apps should use direct imports instead.

* Change the tailwind content property to include src folder of ui-patterns.

* Remove autoprefixer from the tailwind configs.

* Remove autoprefixer as a dependency.

* Fix the CVA conditions in FormLayout.
2025-05-30 12:46:22 +03:00
Stephen Morgan f202666790 fix: Sandbox email preview frame (#36010)
fix: sandbox email preview frame
2025-05-30 17:06:00 +12:00
Charis f58eead769 chore(docs): clean up environment variables (#36036)
Our environment variables are a bit of a mess, so cleaning them up:

- We have duplicate environment variables that resolve to the same thing
but just have different names, deduplicating all of these
- We have a .env.development (for publicly safe variables) and a
.env.example, we
really only need one
- Privately, we have a .env (for running scripts) and a .env.local (for
Next.js). Changing the dotenv source for scripts, so again we only need
one
2025-05-29 16:35:26 -04:00
Charis 33b9e1ed29 chore(docs): convert all scripts to esm (#35996)
Scripts currently use CJS, which is causing a bit of a mess when trying
to use shared utilities from the app. Converting everything to ESM so
there are fewer conflicts when adding new scripts going forward.
2025-05-29 15:44:55 -04:00
Charis aba0095bd7 feat(content api): add error endpoint (#35941)
* feat(content api): add error endpoint

Add an endpoint to return the details of a Supabase error, given the
error code and service.

Schema additions:

```graphql
type RootQueryType {
  "...previous root queries"

  """Get the details of an error code returned from a Supabase service"""
  error(code: String!, service: Service!): Error
}

"""An error returned by a Supabase service"""
type Error {
  """
  The unique code identifying the error. The code is stable, and can be used for string matching during error handling.
  """
  code: String!

  """The Supabase service that returns this error."""
  service: Service!

  """The HTTP status code returned with this error."""
  httpStatusCode: Int

  """
  A human-readable message describing the error. The message is not stable, and should not be used for string matching during error handling. Use the code instead.
  """
  message: String
}

enum Service {
  AUTH
  REALTIME
  STORAGE
}
```

* test(content api): add tests for top-level query `error`
2025-05-29 15:39:47 -04:00
Charis 4e547b31e8 ci(docs lint): fix workflow_run condition (#36038)
The originating workflow was changed so that lint failures fail the
workflow, so now we should be running the target workflow on failure,
not on success.
2025-05-29 15:26:02 -04:00
Charis a0a31f00e9 ci(docs lint): fix workflow for external lints (#35968)
Workflow for external lints still not working quite right.

1. The lint workflow should fail if linting fails, to block merge. Right
now the exit status of the linter is ignored; added a step to fix that.
2. The workflow_run event is not triggered by completion of the first
workflow. Couldn't find an obvious problem with the two, but saw online
that some people had problems with a quoted workflow name, so tried
renaming the workflows to avoid having to quote the names.
2025-05-29 14:46:49 -04:00
CoppleandCharis a61a39ff15 docs: compliance (#36016)
* Compliance docs

* lint spelling

* fixes headings

* Update apps/docs/content/guides/database/hardening-data-api.mdx

* ci: Autofix updates from GitHub workflow

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-05-29 19:35:25 +02:00
Jordi Enric 70bdeec24b add coverage option to ui-patterns (#35669)
add coverage option
2025-05-29 19:09:26 +02:00
Jordi Enric 21412b2e25 Add option to force sign out (#35991)
add option to force sign out
2025-05-29 19:09:16 +02:00
Monica Khoury bb8c3e591b Docs: fix broken link in security performance advisor features (#36031)
Docs: fix broken link in security performance advisor
2025-05-30 01:05:40 +08:00
Jordi Enric ba29cf187d Add copy schema to schema vizz (#34806)
* copy state

* add tooltip and better sql generation

* fix

* fix tooltip
2025-05-29 16:00:37 +00:00
Andrew Smith a2342c4207 docs(python): update realtime docs with async methods and notes (#36015)
* docs(python): update realtime docs with async methods and notes

* chore(docs): update with admonitions
2025-05-29 15:45:54 +00:00
Charis f0ff6cee8b fix(common): prevent errors when accessing local storage in certain browser setups (#36003)
fix(common): prevent errors when accessing local storage in certain
browser setups

Got many reports of errors from accessing localStorage on Safari,
probably due to certain user security settings that cause the browser to
throw an error on storage access.
2025-05-29 11:31:21 -04:00
hallidayo 943cf70934 fix: connect remix env name (#36020)
env name change
2025-05-29 15:29:57 +00:00
Kevin Grüneberg 9730fbd507 Merge branch 'master' into local-dev-perf 2025-05-29 23:13:29 +08:00
Kevin Grüneberg fb03d0414a chore: remove lw14 tickets (#36030) 2025-05-29 23:11:29 +08:00
Kevin Grüneberg 3b7e7f6219 Update package.json 2025-05-29 22:50:48 +08:00
Terry Sutton 62bc992baa Fix storage mime type not getting set on create (#36023) 2025-05-29 12:18:50 -02:30
Kevin Grüneberg dd19d8daca type fixes 2025-05-29 22:45:17 +08:00
Kevin Grüneberg 7916861e0e www bundler + remove LW ticketing 2025-05-29 22:35:53 +08:00
Kevin Grüneberg 25cea567b5 docs: shared pooler egress (#36009) 2025-05-29 22:03:41 +08:00
Kevin Grüneberg b224a59fbf switch design-system to bundler resolution 2025-05-29 22:01:20 +08:00
Kevin Grüneberg 331f39316d jesus take the wheel 2025-05-29 21:55:42 +08:00
Kevin Grüneberg bc83ca2ad8 Update withQueryParams.tsx 2025-05-29 21:49:07 +08:00
Kevin Grüneberg 939b91e09c incremental ts + docs types + docs module res 2025-05-29 21:44:55 +08:00
Cemal Kılıç f6b316e1cf chore(docs): update required claims for access token (#36021)
docs: update required claims for access token
2025-05-29 15:35:15 +02:00
Kevin Grüneberg 5490c5c8df Update index.tsx 2025-05-29 21:11:47 +08:00
Kevin Grüneberg 82a5a8ac36 Update index.tsx 2025-05-29 21:09:00 +08:00
Kevin Grüneberg 1689b6149c fmt 2025-05-29 21:05:09 +08:00
Kevin Grüneberg 45068ca6f7 Update FormLayout.tsx 2025-05-29 20:55:34 +08:00
Kevin Grüneberg 326ba585b3 Revert "css"
This reverts commit 1adec12980.
2025-05-29 20:42:59 +08:00
Kevin Grüneberg 1adec12980 css 2025-05-29 20:42:42 +08:00
Kevin Grüneberg 5241169072 scss -> css 2025-05-29 20:40:14 +08:00
Kevin Grüneberg fcc379edca Update pnpm-lock.yaml 2025-05-29 20:34:12 +08:00
Kevin Grüneberg 7ea07ebb57 Update AssistantCommandsPopover.tsx 2025-05-29 20:31:50 +08:00
Kevin Grüneberg e65e776090 refactor ui-patterns into src folder 2025-05-29 20:27:56 +08:00
Alaister Young c0c3710bde fix(studio): bypass pg meta route on self-hosted for ai endpoints (#35812)
* fix(studio): bypass pg meta route on self-hosted for ai endpoints

* fix hosted

* wrong way round
2025-05-29 20:16:49 +08:00