Skip to content

dont merge, just going over some designs - #1517

Closed
hobbleabbas wants to merge 1 commit into
masterfrom
sh-designtests
Closed

hobbleabbas wants to merge 1 commit into
masterfrom
sh-designtests

Conversation

@hobbleabbas

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Bug fix, feature, docs update, ...

What is the current behavior?

Please link any relevant issues here.

What is the new behavior?

Feel free to include screenshots if it includes visual changes.

Additional context

Add any other context or screenshots.

@MildTomato MildTomato closed this May 11, 2021
@MildTomato
MildTomato deleted the sh-designtests branch May 17, 2021 05:11
spydon added a commit that referenced this pull request Jul 16, 2026
…ain reference updates

Adds Dart reference entries for supabase-flutter features (parity with
supabase-js). Uses the new reference pipeline (stacked on #47994): sections
come from category/subcategory fields on each YAML entry, so
common-client-libs-sections.json and the JS spec are not touched.

- auth: OAuth 2.1 server authorization API (oauth.getAuthorizationDetails/
  approveAuthorization/denyAuthorization) under a new "OAuth Server" section
- auth admin: custom OIDC/OAuth providers admin API
  (admin.customProviders.list/create/get/update/delete) under a new
  "Custom Provider Admin" section
- realtime: onHeartbeat, plus onPostgresChanges pattern/negated/multi-filter
  and column-selection examples
- postgrest: explain() format option

Adds partials for the two new subcategories (oauth-server,
custom-provider-admin) and registers their group-header ids in HEADER_IDS.

Source PRs: supabase-flutter #1499, #1516, #1517, #1519, #1526.
spydon added a commit that referenced this pull request Jul 16, 2026
…ain reference updates

Adds Dart reference entries for supabase-flutter features (parity with
supabase-js). Stacked on #47994: methods carry no section metadata and inherit
it from the nearest section header. New sections are added as header entries
(with category/subcategory) plus overview partials.

- auth: OAuth 2.1 server authorization API (oauth.getAuthorizationDetails/
  approveAuthorization/denyAuthorization) as a new "OAuth Server" section
- auth admin: custom OIDC/OAuth providers admin API
  (admin.customProviders.list/create/get/update/delete) as a new
  "Custom Provider Admin" section
- realtime: onHeartbeat, plus onPostgresChanges pattern/negated/multi-filter
  and column-selection examples
- postgrest: explain() format option

Adds partials for the two new sections and registers their header ids in the
converter's HEADER_IDS.

Source PRs: supabase-flutter #1499, #1516, #1517, #1519, #1526.
spydon added a commit that referenced this pull request Jul 16, 2026
…ain reference updates

Adds Dart reference entries for supabase-flutter features (parity with
supabase-js). Stacked on #47994: methods carry no section metadata and inherit
it from the nearest section header. New sections are added as header entries
(with category/subcategory) plus overview partials.

- auth: OAuth 2.1 server authorization API (oauth.getAuthorizationDetails/
  approveAuthorization/denyAuthorization) as a new "OAuth Server" section
- auth admin: custom OIDC/OAuth providers admin API
  (admin.customProviders.list/create/get/update/delete) as a new
  "Custom Provider Admin" section
- realtime: onHeartbeat, plus onPostgresChanges pattern/negated/multi-filter
  and column-selection examples
- postgrest: explain() format option

Adds partials for the two new sections and registers their header ids in the
converter's HEADER_IDS.

Source PRs: supabase-flutter #1499, #1516, #1517, #1519, #1526.
spydon added a commit that referenced this pull request Jul 20, 2026
…ain reference updates (#47728)

> **Stacked on #47994** (`docs/dart-reference-categories-in-yaml`).
Review/merge that first; GitHub will retarget this to `master` once it
lands.

## What

Adds Dart client library reference entries
(`apps/docs/spec/supabase_dart_v2.yml`) for features shipped in
[`supabase/supabase-flutter`](https://github.com/supabase/supabase-flutter)
(parity with `supabase-js`).

Rebuilt on the **new reference pipeline** (#47224 / #47994): each
method's section comes from `category` / `subcategory` fields on its own
YAML entry, with subcategory overviews as committed partials under
`spec/reference/dart/v2/partials/`. As a result this PR no longer
touches `common-client-libs-sections.json` or `supabase_js_v2.yml` (the
earlier shared-nav id rename is unnecessary now that Dart no longer
reads that file).

## Changes

**Auth (OAuth 2.1 server)** — new **OAuth Server** section
- `oauth.getAuthorizationDetails()`, `oauth.approveAuthorization()`,
`oauth.denyAuthorization()`

**Auth admin** — new **Custom Provider Admin** section
-
`admin.customProviders.listProviders/createProvider/getProvider/updateProvider/deleteProvider`,
including `customClaimsAllowlist`

**Realtime**
- `onHeartbeat`
- `onPostgresChanges` examples for the new pattern/negated filter
operators, multiple filters, and column selection

**Postgrest**
- `explain()` `format` option (`ExplainFormat.text` / `.json`)

## Pipeline plumbing

- New partials: `oauth-server.json`, `custom-provider-admin.json`
- `generate-dart-reference.ts`: registers `oauth-server-api` and
`admin-custom-providers-api` group-header ids in `HEADER_IDS`

## Source PRs

supabase-flutter: #1499, #1516, #1517, #1519, #1526

## Verification

`pnpm codegen:references:new` builds cleanly and the nav renders the new
**OAuth Server**, **Custom Provider Admin**, and Realtime
**onHeartbeat** entries.

## Notes

- `RealtimeChannelConfig.replicationReady` (#1526) is omitted since
there is no reference slot for channel-config options.
- The **OAuth Server** section also appears in #47971 (which adds
`listGrants` / `revokeGrant`). Whichever lands second should drop the
duplicate section header/partial and keep both sets of methods.

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

## Summary by CodeRabbit

* **New Features**
* Added OAuth 2.1 server consent-flow methods for retrieving, approving,
and denying authorization requests.
  * Added admin APIs for managing custom OIDC/OAuth providers.
* Added Realtime heartbeat monitoring and advanced Postgres change
filters.
  * Added text and JSON output options for query explanations.

* **Documentation**
* Expanded Dart API reference coverage across Auth, MFA, Passkeys,
Database, Realtime, and Storage.
* Added dedicated reference sections for OAuth Server and Custom
Provider administration.

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

This branch had an error being deployed

1 failed, 2 active, and 1 inactive deployments
Preview – www — 41097e31 Deployed May 10, 2021 by vercel[bot]
Preview – nextjs-todo-list — 41097e31 Deployed May 10, 2021 by vercel[bot]
Preview – main — 41097e31 Deployed May 10, 2021 by vercel[bot]
Preview – docs — 41097e31 Deployed May 10, 2021 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants