Commit Graph

6149 Commits

Author SHA1 Message Date
Charis
ac04e0ddfc test(content api): add prod smoke tests for searchDocs (#35528) 2025-05-20 11:43:14 -04:00
Copple
5bc5af2b47 chore: update cli reference doc (#35765) 2025-05-20 11:55:16 +08:00
Tyler
87ce4bb886 docs: Make the broadcast from database functions security definer (#35760)
Make the broadcast from database functions security definer
2025-05-20 00:46:00 +09:00
Pierre Vieira
df9f581eee Fix: update extension name for Google login in auth-google.mdx (#35704) 2025-05-16 19:56:42 +00:00
Stojan Dimitrovski
554290b44c docs: mention processLock when using react native (#35076) 2025-05-16 20:00:30 +02:00
Pierre Vieira
8e43416557 Update auth-google.mdx to reflect the new Auth object (#35681) 2025-05-15 15:41:41 +00:00
Ofir Levitan
2f475ae9f9 remove dart invoke example that's not relevant (#35672)
removed example
2025-05-15 15:09:04 +00:00
Charis
e4d76be290 chore(docs): allow partners fetch to be revalidated by tag (#35676)
## Before

Partners fetch is showing stale data from a few months ago

## After

Partners fetch can be revalidated by tag. The revalidation will be
triggered by a DB function when the partners table is changed.
2025-05-14 14:13:11 -04:00
Gajendra Singh Rathore
29bc60602a Update auth-apple.mdx (#35657)
Config name correction based on "AppleLoginConfig"
2025-05-14 12:52:42 +00:00
Charis
01a1f86d7d fix(docs feedback): route security feedback to security team (#35658)
## Before

Feedback on security pages is being routed to general docs feedback.

## After

Feedback on security pages is routed to security team.
2025-05-14 08:15:52 -04:00
Andrew Smith
6806ff5755 fix(docs): update callback url to use token_hash instead of token (#35643) 2025-05-13 14:07:49 +00:00
Andrew Smith
c621403b93 fix(docs): update invalid redirect urls link in ref docs (#35646) 2025-05-13 13:52:21 +00:00
Paweł Gulbinowicz
642a15f068 chore: add Paweł Gulbinowicz to humans.txt (#35647) 2025-05-13 13:36:09 +00:00
Charis
6ba23ac7c9 fix(docs): crawlers page generation for pages with mdx components (#35629)
# Before

Crawlers pages that used MDX components with defined attributes errored.
Example: /docs/reference/kotlin/installing

# After

The pages do not error.
2025-05-13 09:24:21 -04:00
Charis
0b85947c7c fix(docs): jwt generator (#35628)
Fix a UI display issue for the JWT generator: when the dropdown is used
to switch between the anon and service role key, the displayed JWT
claims did not change. The actual state changes, and the keys generated
are correct, but they just don't display because the text area is
controlled andd oesn't sync with the state.

Changed the text are to take a key dependent on the state so the
displayed UI should change properly.

Does _not_ affect the actually generated API keys. Double-checked that
these are the same before and after.
2025-05-13 13:24:06 +00:00
Balazs Hevesi
9a60d83cd2 Fix indentation for solid.js quickstart docs (#35619) 2025-05-12 18:25:03 +00:00
Illia Basalaiev
3f77aa3b20 remove empty code block websockets.mdx (#35623) 2025-05-12 19:24:06 +02:00
Riccardo Busetti
eafcc81df3 Add Riccardo Busetti to humans.txt (#35620) 2025-05-12 13:15:06 +02:00
hallidayo
07a8d234cb feat: deprecated auth ui admonition (#35610)
ui link in admonition
2025-05-12 00:39:42 +00:00
Nikolaj
33eb11c052 Added <$CodeTabs> to Pages Router tab (#35612)
* Added <$CodeTabs> to Pages Router tab

There was an inconsistency between the App Router and Pages Router page, which was only a small detail.

* Update apps/docs/content/guides/auth/server-side/nextjs.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-05-12 00:29:23 +00:00
Ivan Vasilov
0cb08341f6 chore: Bump nextjs for the docs app (#35333)
* Bump all versions of postcss to 8.5.3.

* Run next/codemod on the docs app.

* Move two experimental flags into stable. Add next-mdx-remote as a transpiled package.

* Add extra folders to the clean command in docs.

* Fix type errors in docs test.

* Run prettier on the new files.

* remove turbopack, fix fetch revalidation, fix metadata awaits

Couple of minor fixes:
- Turbopack doesn't work in dev because of known MDX loader limitations
(cannot load functions in MDX plugin config)
- Fetches not cached by default anymore in Next 15 so need to manually
cache the ones we need
- Missing a few awaits for metadata generation with page params

* Bump the graphiql version because headlessui/react is not building with Next 15.

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-05-08 09:27:22 +00:00
Terry Sutton
fe60571754 Add dashboard screenshots to cron page (#35534) 2025-05-08 10:40:40 +08:00
hallidayo
19a04fbd87 docs: env in quickstarts (#35533)
* react quickstart env

* nuxt quickstart env

* vue quickstart env

* solid quickstart env
2025-05-07 19:27:00 +00:00
Kevin Grüneberg
77d99e0f04 chore: branching compute hours copy (#35524) 2025-05-07 15:31:03 +00:00
Nico Kempe
3fcc5538b7 docs(auth-js): add nonce usage note to reauthenticate() docs (#35206)
docs(auth-js): include reminder to pass OTP as nonce in updateUser()

Add one‑liner on using the received OTP as the `nonce` in updateUser()
2025-05-06 23:27:36 +00:00
Charis
03dcd51700 feat(content api): search result for cli reference (#35488)
## Before

Search results ignored if they are CLI references.

## After

Search results returned for CLI references.
2025-05-06 19:23:40 -04:00
Charis
f57cde2cea feat(content api): add troubleshooting guide search results (#35487) 2025-05-06 19:07:44 -04:00
hallidayo
d7c1666ea2 docs: timescaledb snippet (#35509)
extensions snippet change
2025-05-06 17:18:31 +00:00
Charis
badcf17f70 feat(content api): add client library api reference search results (#35484)
* feat(content api): add client library api reference search results

Allow searchDocs results to also return function references from the
client library APIs

* fix(content api): refine language enum handling
2025-05-06 13:11:29 -04:00
Copple
22ee5dfe2a chore: update cli reference doc (#35490) 2025-05-06 12:11:42 -04:00
Kevin Grüneberg
e1bd23d66f fix: do not translate USD prices (#35466)
When translation tools go over prices, they wrongfully convert USD into other currencies without changing the price. $25 becomes Rp25 (Rupiah).

By using `translate='no'` we avoid the translation of pricing info. There are some tooltips left that are not covered yet, but this should be the majority already.

Kept the docs Pricing component as simple as possible, just wrapping in a span to avoid translation, not modifying any formatting.
2025-05-06 12:03:35 +08:00
Charis
df4b1867b8 feat (content api): add global search query (#35290)
Add a top-level field to search docs globally. Right now this only
returns Markdown guides (not references, GitHub discussions, or partner
pages.

The full GraphQL schema at this point:

```
schema {
  query: RootQueryType
}

type RootQueryType {
  """Get the GraphQL schema for this endpoint"""
  schema: String!

  """Search the Supabase docs for content matching a query string"""
  searchDocs(query: String!, limit: Int): SearchResultCollection
}

"""A collection of search results containing content from Supabase docs"""
type SearchResultCollection {
  """A list of edges containing nodes in this collection"""
  edges: [SearchResultEdge!]!

  """The nodes in this collection, directly accessible"""
  nodes: [SearchResult!]!

  """The total count of items available in this collection"""
  totalCount: Int!
}

"""An edge in a collection of SearchResults"""
type SearchResultEdge {
  """The SearchResult at the end of the edge"""
  node: SearchResult!
}

"""Document that matches a search query"""
interface SearchResult {
  """The title of the matching result"""
  title: String

  """The URL of the matching result"""
  href: String

  """The full content of the matching result"""
  content: String
}
```

Towards DOCS-214
2025-05-05 14:32:10 -04:00
Charis
bf71606db8 refactor (content api): helper classes for errors (#35288)
Splitting out a PR with some helper classes for error handling that will be used
donwnstream.
2025-05-05 14:03:42 -04:00
Julian S
8693a9909b Fix anchor link on seeding-your-database.mdx (#35456)
Fixing anchor link on link to title, from #splitting-up-your-seed-data to #splitting-up-your-seed-file
2025-05-05 17:48:59 +00:00
Charis
50a40f3f64 fix(local dev): download aws secrets manager (#35410)
* fix(local dev): download aws secrets manager

## Before

Local dev secret pull was failing because the AWS secrets SDK was not
available.

## After

SDK added as dev dependency in root.

* Remove the aws-sdk from the apps since it's present in the root package.json.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-05-05 15:38:25 +00:00
Francesco Sansalvadore
a4cfcd9b2e global user dropdown in docs and www (#35063)
* docs: user nav dropdown

* www: user dropdown nav

* update menus

* chore: add complete local storage allowlist

* move all local-storage to common

* reload after logOut

* add local storage key changes from #35175

* fix errors

* add more keys

* fix merge bugs

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-05-05 11:48:06 +02:00
Alaister Young
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
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
Inian
c8a5c6736f fix(docs): update upgrading language (#35419) 2025-05-02 07:33:46 +00:00
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
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
samrose
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