Commit Graph
100 Commits
Author SHA1 Message Date
Han QiaoandClaude 85573164f4 docs: document that branches are secure by default (#50193)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Docs update

## What is the current behavior?

The branching docs don't mention that new branches are created without
default privileges on the `public` schema.

Linear: BRA-189

## What is the new behavior?

- Working with branches: new "Default privileges on branches" section
covering the keep-enabled path (initial migration grants) and the revoke
path (new migration).
- Troubleshooting: new entry for `42501` permission denied errors on a
new branch.

## Additional context

None.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Documentation**
- Added troubleshooting guidance for permission-denied errors affecting
tables or functions on new branches.
- Explained how migrations can restore intended default privileges on
the `public` schema.
- Added workflows for retaining or revoking default privileges,
including dashboard configuration, migration-history repair, and
access-management steps.
- Added examples for granting or revoking access to sequences,
functions, and tables.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-11 16:27:37 +08:00
59c8ea3ddc docs(BRA-282): clarify that branches are created as clones of the base project (#49594)
## What kind of change does this PR introduce?

Docs update.


## What is the new behavior?

The branching docs now state consistently that every branch, preview or
persistent, is created as a clone of the base project, starting with
that project's schema, Edge Functions, and configuration. Data and
storage objects are not cloned by default.

## Additional context

This documents new branch-creation behavior. Two automated reviewers
flagged the clone wording and argued for a migration-replay description;
that reflects the previous implementation, so their findings don't apply
here and the clone framing stands.

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Jeremias Menichelli <jmenichelli@gmail.com>
2026-08-28 17:35:24 +08:00
Han Qiao 433175e79a Clarify behavior of preview branches in documentation (#48744)
Update the description of preview branches to clarify that they are
automatically deleted when a PR is merged or closed.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Documentation**
- Clarified that preview branches are temporary and automatically
deleted when a pull request is merged or closed.
- Removed outdated guidance stating that preview branches pause after
inactivity.
- Clarified that persistent branches remain available long-term and are
not automatically paused or deleted due to inactivity or pull request
closure.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-11 22:44:31 +08:00
Han Qiao ce81c2f6ec feat(studio): allow deleting a branch from general settings page (#47677) 2026-07-10 14:22:52 +08:00
7b02aa2f0d fix: allow pausing branch projects again (#47636)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Bug fix (regression).

## What is the current behavior?

#44172 replaced the old `isAwsK8s`-based check with an entitlement-based
check (`useCheckEntitlements('project_pausing', ...)`) for the pause
project button. In doing so, it also introduced an explicit `isBranch`
condition that unconditionally disables the pause button and shows
"Branch projects cannot be paused" for any branch project.

Prior to #44172, branches were exempt from the paid-plan pause
restriction entirely — the old `isPaidAndNotAwsK8s` computation
(`!isBranch && !isFreePlan && !isAwsK8s`) evaluated to `false` whenever
`isBranch` was `true`, so branch projects were never blocked by that
check. The new code changed this exemption into a hard block, which is
the regression: branches can no longer be paused at all.

## What is the new behavior?

Restore the original exemption: branch projects bypass the
`project_pausing` entitlement check (as they did the old AWS K8s check),
instead of being unconditionally blocked. The pause button and tooltip
for branches now only take into account permissions, project status, and
whether the project is active — matching pre-#44172 behavior.

```tsx
const buttonDisabled =
  (!isBranch && !projectPausingAllowedInOrg) ||
  project === undefined ||
  isPaused ||
  !canPauseProject ||
  !isProjectActive
```

## Additional context

Regression introduced in
https://github.com/supabase/supabase/pull/44172.


---
_Generated by [Claude
Code](https://claude.ai/code/session_01VdtDMaXzz8zgqQHSMbtMAA)_

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Updated project pause availability so the button now reflects the
correct conditions for branch and non-branch projects.
* Improved pause-related tooltips to show more accurate messaging based
on plan type and project status, including when pausing may not be
available on free plans.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2026-07-06 23:08:31 +08:00
08efb963f9 chore(studio): add custom instance type input to project creation GENCOMP-76 (#45660)
## Summary
- Adds a "Custom instance type" input on the new-project modal, rendered
directly below the existing custom Postgres version field and gated
behind the same non-prod check.
- Wires the value through
`custom_supabase_internal_requests.ami.instance_type`, merged with the
existing AMI search-tag payload so both can be set independently.

<img width="312" height="133" alt="Screenshot 2026-05-07 at 12 32 41 PM"
src="https://github.com/user-attachments/assets/d4190a0f-0a54-46e6-ac0b-967548a3903f"
/>

## Test plan
- [x] On a non-prod build, open the new-project modal and confirm the
"Custom instance type" field appears below "Custom Postgres version".
- [ ] Submit with only an instance type set and verify the request body
includes `custom_supabase_internal_requests.instance_type` and no `ami`
block.
- [x] Submit with both fields set and verify both `ami.search_tags` and
`instance_type` are sent.
- [x] Submit with neither set and verify
`custom_supabase_internal_requests` is omitted.
- [x] Verify the field is hidden in prod builds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
  * Added instance type field to project-creation wizard.
* Added an internal-only configuration panel for advanced customization.

* **Refactor**
  * Simplified Advanced Configuration panel layout and behavior.

* **Documentation**
  * Updated documentation links to use internal reference URLs.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2026-05-07 14:51:21 +08:00
67deabf67e fix: create etl publication as postgres (#45043)
## What kind of change does this PR introduce?

Bug fix

## What is the current behavior?

Creating a schema only branch fails because ETL publication is owned by
`supabase_etl_admin` which users have no access.

## What is the new behavior?

Since ETL supports user managed publications, create them through pgmeta
so it's owned by `postgres` role instead.

## Additional context

mirrors [upstream
etl](https://github.com/supabase/etl/blob/main/etl-api/src/db/publications.rs#L22-L51)
implementation


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Bug Fixes**
* Added guards to prevent creating publications when project or
connection info is missing, with clearer error logging.
* Ensure the project connection string is explicitly passed so
publications target the correct database.

* **Refactor**
* Publication creation now executes generated SQL directly against the
database, with correct handling of empty or selected table lists and
proper identifier quoting for reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
2026-04-27 19:45:26 +08:00
Han Qiao 3bf3750020 fix: update description for working directory (#42434)
## What kind of change does this PR introduce?

Bug fix https://github.com/supabase/cli/issues/4793

## What is the new behavior?

Updates config description to be less confusing.

## Additional context

Add any other context or screenshots.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Style**
* Updated field labels in GitHub integration settings for
clarity—renamed "Supabase directory" to "Working directory" with revised
description text.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-04 03:51:35 +00:00
Han Qiao 9b152f0ce5 fix: remove git branches from merge requests dropdown (#41817)
* fix: remove git branches from merge requests dropdown

* fix: disable merge on github connected branch

* chore: update merge tooltip
2026-01-09 17:44:55 +08:00
Han Qiao 50d057e914 docs: add migration down command to cli docs (#41794)
* docs: add migration down command to cli docs

* docs: remove hallucinated cli command

* chore: update command title
2026-01-08 23:50:04 +08:00
Han Qiao c0048901cd fix: disable logs viewer for initial workflow run (#41551) 2025-12-23 18:27:31 +08:00
Han Qiao 3590597c28 docs: warn for local development on public networks (#41298) 2025-12-12 20:20:08 +08:00
Han Qiao d02926a68f fix: allow branch to be paused and restarted (#40884)
* fix: allow branch to be paused and restarted

* fix: enable pause button on branches

* chore: remove unnecessary query to get project detail
2025-11-28 14:34:46 +08:00
Han Qiao 4766629ccf fix: check for modified functions by eszip hash (#40603) 2025-11-24 14:09:11 +08:00
Han Qiao 5b1d388507 Revert "fix(studio): remove include data toggle if no pitr" (#39784)
Revert "fix(studio): remove include data toggle if no pitr (#39533)"

This reverts commit b15b8f931e.
2025-11-12 02:28:00 +08:00
Han Qiao 04bac966a8 chore: document branch notification url (#40168)
* chore: document branch notification url

* chore: elaborate some parts
2025-11-05 08:24:53 +01:00
Han Qiao 1188196fba docs: explicitly enable seeding on remote (#39309) 2025-11-05 08:23:43 +01:00
Han Qiao bda94ac187 fix: use separate query clause for self hosted (#39711) 2025-10-21 09:16:10 +00:00
Han Qiao 3c9d46ffde fix: cron logs query to handle type cast (#39704) 2025-10-21 16:45:59 +08:00
Han Qiao 03af3b931d fix: allow merge request with stale PR to be closed (#39670)
* fix: allow merge request with stale PR to be closed

* chore: comment on review requested field
2025-10-20 12:31:45 +00:00
Han Qiao 6a416ab89f fix: update github app name for nimbus (#39606) 2025-10-17 11:35:41 +08:00
Han Qiao e5bab8208e fix: set 24h format when converting postgres timestamp (#39494) 2025-10-14 00:42:30 +08:00
Han Qiao 6026a824a3 fix: update queries for local edge function and cron logs (#39388) 2025-10-13 15:20:23 +08:00
Han Qiao 764eb8760c fix: binds studio listener to both ipv4 and ipv6 (#39383) 2025-10-09 13:44:23 +08:00
Han QiaoandCharis Lam d5d8d954cb feat: use new action status endpoint (#39159)
* feat: use new action status endpoint

* fix: flip incorrect conditionals

* chore: add step name to badge

* refactor(action-runs-query): cleaner types

* style(workflow logs): improve design of action run steps

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-10-07 04:11:28 +08:00
Han QiaoandCharis 77561e8e09 chore: replace branch id with branch ref (#38735)
* chore: remove unused mutation to disable branching

* chore: use branch ref in delete mutation

* chore: use branch ref in diff query

* chore: use branch ref in push mutation

* chore: use branch ref in detail query

* chore: use branch ref in update mutation

* Update apps/studio/data/branches/branch-query.ts

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-09-17 10:31:01 +08:00
Han Qiao 4a69c113e0 chore: update docs on minting custom jwt (#38653) 2025-09-16 20:57:59 +08:00
Han QiaoandJoshen Lim 0487fbf625 fix: let api handle signing key validation error (#38649)
* fix: let api handle signing key validation error

* Fix styles

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-09-12 17:50:27 +08:00
Han Qiao 55154a6065 fix: block data branch creation if PITR is disabled (#38630) 2025-09-11 21:29:27 +08:00
Han QiaoandJoshen Lim 1a78aecb05 fix: estimate data branch cost before creation (#38511)
* fix: estimate data branch cost before creation

* chore: comments to clarify conditionals

* Use addons endpoint to check for compute size instead

* Revert branchComputeSize changes

* Fix

* chore: update compute size only on data branch

* chore: replace slow query with disk size estimate

* Add loading and error states for disk attr, and update copy in create branch modal

* Update copy to improve transparency on billing

* Tiny fix

* Nit

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-09-09 17:00:12 +08:00
Han Qiao 7bd4a9e6f3 chore: update and remove deprecated cli command sections (#38512) 2025-09-09 01:18:26 +08:00
Han QiaoandJoshen Lim fa62afb097 fix: do not auto submit on toggling data branch (#38479)
* fix: display badge instead of tooltip

* Clean up

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-09-08 16:58:54 +08:00
Han Qiao fe068260ef feat: v1 migrations endpoint for self hosted (#38344) 2025-09-04 18:29:47 +08:00
Han QiaoandJoshen Lim 10a1deca66 fix: estimate time needed to create data branch (#38426)
* fix: estimate time needed to create data branch

* nit

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-09-04 16:59:47 +08:00
Han Qiao bc3a6e787b fix: update prod branch name together with git branch (#37976) 2025-08-19 17:32:30 +08:00
Han Qiao 55daeaf962 fix: defaults to diffing all schemas (#37923) 2025-08-19 17:26:02 +08:00
Han Qiao c32c74e34c fix: diff all schemas on branch merge (#37754)
* fix: diff all schemas on branch merge

* chore: remove branching limitation on schema and extensions

* chore: remove limitation from blog post

* chore: remove limitation from docs
2025-08-12 21:18:24 +08:00
Han Qiao 3f8db287d3 chore: add missing env vars to workflow (#37779) 2025-08-08 23:13:17 +08:00
Han Qiao f6fa4987c5 chore: remove extra space from curl command (#37713) 2025-08-06 17:29:33 +08:00
Han Qiao d83ef08ea1 docs: revive section on preparing github repository (#37627)
* docs: revive section on preparing github repository

* chore: remove unnecessary steps
2025-08-02 01:42:05 +08:00
Han Qiao 5e3518ffd6 docs: use the correct command for generating signing key (#37623) 2025-08-01 22:00:52 +08:00
Han Qiao 1a9c718cf9 docs: update inbucket reference to mailpit (#37427) 2025-07-26 00:03:43 +08:00
Han Qiao b215b982ef docs: update branching access control matrix (#37458) 2025-07-25 15:42:45 +00:00
Han Qiao 0620e2df8f fix: never create a default branch from modal (#37430) 2025-07-24 20:32:48 +08:00
Han QiaoandSaxon Fletcher 83b5664e6b fix: show run logs for gitless branches (#36949)
* fix: show run logs for gitless branches

* fix: show edit branch modal for production

* remove side panel github

---------

Co-authored-by: Saxon Fletcher <saxonafletcher@gmail.com>
2025-07-09 21:07:33 +10:00
Han Qiao a7d5ed0957 docs: simplify declarative schema usage example (#36698) 2025-06-27 00:44:18 +08:00
Han Qiao 94036ceaa0 chore: adjust branching price comms (#36685) 2025-06-26 05:09:53 +00:00
Han Qiao f95c5e6c31 docs: bump branching product stage to beta (#36508) 2025-06-18 22:11:23 +08:00
Han Qiao 8ccc03d6a8 docs: clarify backup restore for paused project (#36502) 2025-06-18 22:11:05 +08:00
Han Qiao 45485b294c docs: clarify local dev dependency on docker (#36501) 2025-06-18 22:10:33 +08:00
Han Qiao 4c91016d6d docs: default cli installation guide to npm (#35833)
* chore: default cli installation guide to npm

* Update getting-started.mdx
2025-05-26 13:02:07 +08:00
Han Qiao 806e6e92c5 docs: update cli installation step for pnpm (#35877) 2025-05-24 00:10:02 +08:00
b09440bd47 fix: move table create update delete to query route (#35662)
* fix: move table create update delete to query route

* chore: implement query to fetch a single table

* fix: retrieve table after update

* chore: assign type to update table payload

* chore: use updated table columns for edit

* chore: make executeSql castable with generic (#35685)

* Chore/refactor derivate more types from queries (#35687)

* chore: make executeSql castable with generic

* chore: derivate types from performed queries

- It allows to decouple more the frontend logic and the pg-meta/sql-query logic allowing to reduce the number of cast
and get closer types between what we do fetch and what we expect in our components

* fix: remove existing check

* chore: handle null comment and check

* fix: format check name as identifier

---------

Co-authored-by: avallete <andrew.valleteau@supabase.io>
Co-authored-by: Andrew Valleteau <avallete@users.noreply.github.com>
2025-05-20 10:34:59 +08:00
Han Qiao dc2f1270db fix: move column delete and update to query route (#35497)
* fix: move column create request to query route

* chore: replace table id with fully qualified name

* chore: consolidate default column value tests

* chore: consolidate array column tests

* chore: test setting default value to null

* fix: move column delete and update to query route

* chore: remove unused code
2025-05-15 11:42:29 +08:00
Han QiaoandAndrew Valleteau 80791c01b5 fix: move column create request to query route (#35532)
* fix: move column create request to query route

* chore: replace table id with fully qualified name

* chore: consolidate default column value tests

* chore: consolidate array column tests

* chore: test setting default value to null

* chore: remove unused code

---------

Co-authored-by: Andrew Valleteau <avallete@users.noreply.github.com>
2025-05-14 13:23:31 +08:00
Han Qiao 5601bb3e9c fix: move publication create and update to query route (#35633)
* fix: move publication create and update to query route

* fix: update mutation should use query route
2025-05-14 12:54:58 +08:00
Han Qiao ca06acef00 fix: move extension requests to query route (#35583)
* fix: move extension requests to query route

* chore: escape schema name as identifier
2025-05-13 00:31:18 +08:00
Han Qiao e2fddfeeeb fix: move policy requests to query route (#35500) 2025-05-12 23:54:46 +08:00
Han Qiao 5e75276e9c fix: move column create request to query route (#35491) 2025-05-06 16:38:36 +08:00
Han Qiao 9fb5c4ad14 chore: clarify how previews are based on persistent branch (#35137) 2025-04-21 20:59:51 +08:00
Han Qiao 56f0bb58c5 chore: update docker tag for dependabot (#35037) 2025-04-15 22:28:23 +08:00
Han QiaoandJoshen Lim 698e585a65 feat: fetch beta cli release version (#34923)
* feat: fetch beta cli release version

* Small refactors

* Fix

* Fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-04-14 16:20:03 +08:00
Han Qiao 5d8d1f92be fix: format build version for dependabot (#34933) 2025-04-11 18:48:12 +08:00
Han Qiao a38d76b571 chore: document network restrictions for branching cluster (#34863)
* chore: document network restrictions for branching cluster

* chore: custom styling
2025-04-10 09:29:29 +08:00
Han Qiao d49cfa3c81 chore: specify correct types for example tables (#34720) 2025-04-03 22:03:05 +00:00
Han Qiao fe8edf7d05 chore: clarify file name for diff command (#34652) 2025-04-02 05:00:59 +00:00
Han Qiao 73e885b513 chore: document how to rollback declarative schema (#34469)
* chore: document how to rollback declarative schema

* Update declarative-database-schemas.mdx

* Update declarative-database-schemas.mdx

* chore: warn about down migration
2025-03-28 15:01:54 +00:00
Han QiaoandCharis 462e0fce58 chore: add custom ORM guide to branching docs (#34454)
* chore: add custom ORM guide to branching docs

* chore: run prettier

* chore: use valid bash script

* Update apps/docs/content/guides/deployment/branching.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-03-28 01:25:05 +00:00
Han QiaoandTerry Sutton 7efd9704fa docs: explain how to order declarative schemas (#33832)
* docs: explain how to order declarative schemas

* Update declarative-database-schemas.mdx

* Update declarative-database-schemas.mdx

* Add prod note

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-02-25 22:25:48 +08:00
Han Qiao 122fdea3f1 docs: add a link to clarify verbose grant statements (#33722) 2025-02-21 00:43:43 +08:00
Han Qiao 0196d78cf5 docs: update schedule function example to store token securely (#33701) 2025-02-20 01:39:16 +08:00
Han Qiao 6ffe7d9062 docs: clarify branch merge behaviour (#33704)
* docs: clarify branch merge behaviour

* Update branching.mdx
2025-02-20 01:14:07 +08:00
Han Qiao 6c24be3703 chore: clarify local hook secrets should be stripped of prefix (#33581) 2025-02-13 16:01:16 +00:00
Han QiaoandCharis 9171a30fc5 docs: document using declarative schemas (#33253)
* docs: document using declarative schemas

* Rename declarative-schema-migrations.mdx to declaring-database-schemas.mdx

* chore: improve docs readability

* Apply suggestions from code review

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

* chore: rename title

* chore: back link to getting started

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-02-04 15:12:54 +08:00
Han Qiao 1dc92a529d docs: update project restore docs for past 90 days backup (#32990)
* docs: update project restore docs for past 90 days backup

* chore: rephrase a few lines
2025-01-22 08:56:40 -06:00
Han Qiao 5e12593262 Update branching docs to mention vercel connection (#32939) 2025-01-20 23:45:35 +08:00
Han Qiao 30a86fe0e8 docs: clarify the implications of branches auto pausing (#32854)
* Remote notice about pausing branches after inactivity

* Update branching.mdx

* Update branching.mdx

* Update branching.mdx

* Update branching.mdx
2025-01-17 13:37:56 +08:00
Han Qiao 16f950d615 Update import-maps.mdx to document deno.json (#32830)
* Update import-maps.mdx to document deno.json

* Update import-maps.mdx

* Update import-maps.mdx

* Update import-maps.mdx

* Run prettier
2025-01-17 00:27:26 +08:00
Han Qiao c5fd032a78 chore: clarify supported file paths for static files (#32818) 2025-01-16 13:12:23 +08:00
Han Qiao 7d74d69697 chore: update readme for employees example (#30964)
* chore: update readme for employees example

* chore: update readme title

* chore: wrap code example in admonition

* chore: revamp schema diff guide
2024-12-06 18:23:07 +08:00
Han Qiao 822cf92322 chore: update docs links to database migrations page (#30922) 2024-12-06 11:40:49 +08:00
Han Qiao 67e12df620 docs: improve database migrations guide (#30914) 2024-12-05 23:43:43 +08:00
Han Qiao 7f099d0e4c chore: simplify config for realtime example (#30889) 2024-12-04 21:08:41 +08:00
Han Qiao 0c8a498913 chore: simplify config for enterprise patterns (#30887) 2024-12-04 18:05:26 +08:00
Han Qiao b0abf4e580 chore: simplify config for edge functions (#30850)
* chore: simplify config for caching examples

* chore: simplify config for edge functions

* chore: upload example images to storage
2024-12-04 16:53:52 +08:00
Han Qiao 2d858ce37c chore: update collapsible for cli blogpost (#30882)
* chore: update collapsible for cli blogpost

* chore: replace aside with admonition
2024-12-04 08:05:17 +00:00
a014223a52 docs: blogpost for cli v2 (#30876)
* docs: blogpost for cli v2

* chore: update links to relative path

* chore: drop experimental flag from cli command

* chore: mention cli command for config push

* chore: reformat with prettier

* chore: unnest explanation on config as code

* add thumbs and update LW page

* Update 2024-12-04-cli-v2-config-as-code.mdx

* Apply suggestions from code review

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* chore: revert experimental flag

* update tip

* chore: remove unnecessary chart

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2024-12-04 08:54:07 +01:00
Han Qiao 29e1b6c051 chore: simplify configs for the rest of ai examples (#30839)
* chore: simplify configs for the rest of ai examples

* chore: document how to update project config

* chore: link to config docs
2024-12-03 22:29:44 +08:00
Han Qiao aa586cf3dc chore: update cli config for storage buckets (#30829)
* chore: update cli config for storage buckets

* chore: mention default import map location

* chore: add storage prefix to config id
2024-12-03 21:36:33 +08:00
Han Qiao 4348aa739c chore: simpler storage and ai config examples (#30781)
* chore: simpler storage config examples

* chore: simplify ai examples

* chore: simplify image search config
2024-12-02 19:19:35 +08:00
Han QiaoandCharis 83e2080407 docs: move database migrations to its own page (#30717)
* docs: move database migrations to its own page

* Apply suggestions from code review

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

* chore: fix prettier

* chore: minor dedupe and typos

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-11-29 08:28:41 +00:00
Han Qiao 5ea41f3be4 chore: update storage examples config file (#30712)
* chore: update storage examples config file

* chore: initialise supabase config for resumable uploads
2024-11-28 20:27:25 +08:00
Han Qiao 67cad2dc44 chore: declare fonts bucket in config (#30584) 2024-11-25 12:31:51 +08:00
Han Qiao 1440bf04dc chore: update auth url config for preview (#30544) 2024-11-19 22:41:24 +08:00
Han Qiao 906d788b43 feat: show device code on cli login (#30330)
* feat: show device code on cli login

* chore: use input otp to show verification code

* chore: update header formatting and copy consistency

* chore: destructure nonce in case api lies about types

* chore: note about minimum cli version
2024-11-07 07:53:14 +00:00
Han Qiao 0ec0ff03bc fix: add openai key to studio env (#30193) 2024-10-30 16:02:18 +00:00
Han Qiao e818ace2fb chore: add migration fetch section to cli docs (#29356) 2024-09-18 21:48:13 +08:00
Han Qiao c0bd1096ee chore: add bootstrap command to docs page (#28747)
* chore: add bootstrap command to docs page

* Update common-cli-sections.json
2024-08-20 01:04:54 +08:00
Han Qiao 8959a5656a fix(docs): add recommended docker settings for mac and windows (#28159)
* fix(docs): add recommended docker settings for mac and windows

* fix(docs): update analytics section in local dev guide

* Update getting-started.mdx

* chore: update screenshot for both light and dark modes
2024-07-26 10:18:25 +08:00
Han Qiao 082534aedd chore: update terraform database settings (#25867)
* chore: update terraform database settings

* Update production.tf
2024-05-08 16:48:53 +08:00