Commit Graph
33 Commits
Author SHA1 Message Date
Chemsdine 9ec32d68df Changed -an List- to -a List- (#36856)
* Changed -an List- to -a List-

* Changed an List to an array
2025-07-04 15:19:29 +00:00
Hieu Vu 60d9202bdd Docs: Improve chip text in Dart and Kotlin examples (#35740)
Improve chip text in dart and kotlin examples
2025-05-20 16:02:59 +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 80ee4c9ab0 fix: examples (#33276) 2025-02-03 14:14:08 -05:00
Charis 93885b090f chore: examples (#33183) 2025-01-30 13:08:46 -05:00
Bobbie Soedirgo 1f9af325c2 docs: add example to order parent table by referenced table (#32920)
* docs: add example to order parent table by referenced table

* docs: more ordering by referenced table examples
2025-01-21 15:59:50 +08:00
Kang Ming b842621f3a docs: update oauth guides (#30411) 2024-11-11 19:46:35 +08:00
Ivan Vasilov b0cf2bf6fa chore: Move parser package to packages folder (#29522)
* Move the spec/parser package into packages folder.

* Fix the spec generation with the new paths.

* Remove the spec folder from prettierignore.

* Run prettier on the spec folder (without regenerating, that's should be done by the product teams).
2024-09-25 23:45:14 +02:00
Tyler fe25383047 docs: Add redirectTo and authScreenLaunchMode parameter to signInWith OAuth calls in Flutter docs (#29407)
docs: add redirectTo and authScreenLaunchMode parameter to signInWithOAuth calls in Flutter docs
2024-09-26 00:14:40 +09:00
Tyler 45246ab67e docs: fix Flutter reference docs auth.resend code example (#28892)
docs: fix resend docs for Flutter
2024-09-04 16:13:35 +09:00
Tyler b4e2b156af docs: fix a mismatch between the sample code and sample response (#28466)
* docs: fix a mis-match between the sample code and sample response

* fix onAuthStateChange unsubscribe code

* Revert "fix onAuthStateChange unsubscribe code"

This reverts commit 8d438ae145.

* fix code sample for unsubscribing in Flutter
2024-08-15 14:40:33 +08:00
Charis fc164b5d07 Refactor/app router refs (#28095)
Migrates client SDK References to App Router. (Management and CLI API references aren't migrated yet, nor are self-hosting config references.)

Some notes:

Big changes to the way crawler pages are built and individual section URLs (e.g., javascript/select) are served. All of these used to be SSG-generated pages, but the number of heavy pages was just too much to handle -- slow as molasses and my laptop sounded like it was taking off, and CI sometimes refuses to build it all at all.

Tried various tricks with caching and pre-generating data but no dice.

So I changed to only building one copy of each SDK+version page, then serving the sub-URLs through a response rewrite. That's for the actual user-visible pages.

For the bot pages, each sub-URL needs to be its own page, but prebuilding it doesn't work, and rendering on demand from React components is too slow (looking for super-fast response here for SEO). Instead I changed to using an API route that serves very minimal, hand-crafted HTML. It looks ugly, but it's purely for the search bots.

You can test what bots see by running curl --user-agent "Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" <URL_OF_PAGE>

Also added some smoke tests to run against prod for the crawler routes, since we don't keep an eye on those regularly, and Vercel config changes could surprise-break them. Tested the meta images on Open Graph and all seems to work fine.

With this approach, full production builds are really fast: ~5 minutes

Starts using the new type spec handling, which is better at finding params automatically, so I could remove some of the manually written ones from the spec files.
2024-08-13 16:12:59 -04:00
Charis f4779d4844 refactor: migrate guides to app router (#23101)
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00
Nil Gàllego 5336920c64 docs: Add crypto package for Apple sign-in functionality (#27664) 2024-07-02 03:46:03 +00:00
Tyler e402fb90ad docs: Add missing sample responses to the Flutter reference docs (#26935)
* reformat the existing responses

* change the format of the code block to json

* Add responses for the select query

* docs: Adds response and data to basic postgrest methods

* docs: Add sample response to all postgrest methods

* docs: Add MFA responses

* Add responses for auth admin methods
2024-06-05 00:59:07 +09:00
Tyler 3deeeb4988 docs: Add response and params to the storage reference docs for Flutter (#26815)
* docs: Add response and params to the storage reference docs for Flutter

* update storage response language to dart

* revert the sample response type to json
2024-05-30 03:26:08 +09:00
ec86bbc4fe feat: new auth ia (#22812)
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-05-07 20:15:06 +00:00
Tyler 52c80e6c66 docs: Add parameters for Flutter reference docs on Auth and Edge functions method. (#22331)
Add parameters for the remaining auth methods and functions
2024-04-12 10:02:39 +09:00
TylerandCharis 31a8add418 docs: add anonymous sign-in docs for Flutter (#22596)
* docs: add anonymous sign-in docs for Flutter

* minor code fix

* Update apps/docs/content/guides/auth/auth-anonymous.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-09 22:47:17 +09:00
hawkcookieandCharis 684c478901 docs: Fix broken SITE_URL link (#21896)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-19 08:09:41 +00:00
Tyler d8394689ca docs: Add params to Flutter docs for filters, modifiers, and add a few missing modifiers. (#21869)
* Add all init options

* Add params to CRUD methods

* Add params to basic auth methods

* fix typo

* Update filter params

* Add params to filters and modifiers
2024-03-12 13:46:35 +09:00
Tyler 14ea8512e7 docs: Add parameters to basic CRUD and auth methods for Flutter (#21796)
* Add all init options

* Add params to CRUD methods

* Add params to basic auth methods

* fix typo
2024-03-07 10:01:51 +09:00
Tyler 64863f407f docs: Add params option to reference docs so that non-js client libs can add parameters (#21708)
* Adds params option for reference docs

* move params below description

* Apply suggestions from code review

* Update apps/docs/spec/supabase_dart_v2.yml
2024-03-05 15:06:07 +09:00
Tyler af9306bfea docs: Add missing descriptions for Flutter docs (#21339)
Add missing descriptions for Flutter docs
2024-02-20 18:53:34 -05:00
Tyler 43a1405d37 docs: Add missing code in the apple sign in example for Flutter reference docs. (#21362)
Add missing code in the apple sign in example
2024-02-20 18:29:37 -05:00
Charis be699817fb fix: mismatched code example in dart spec (#21267) 2024-02-15 09:42:40 +08:00
6e25cd693a Fixed signInWithOAuth example documentation (#21198)
* Fix .env.example STUDIO Variables

* Fixed signInWithOAuth example documentation

* Fixed signInWithOAuth example documentation

---------

Co-authored-by: riccardocucia <riccardocucia@gmial.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-14 03:29:23 +00:00
Tyler 7393769be5 docs: Updated Flutter reference docs for filters to be more aligned with js docs (#21036)
* Updated Flutter docs to have better contains and contained by example

* Add data source to Flutter docs

* Tidy up the using filters section

* fix: show the data directly in sample response
2024-02-07 01:28:25 +00:00
Imad Atyat-AllahandCharis 7b92ef9f2e fix: typo from "resetPassswordForEmail" to "resetPasswordForEmail" (#20713)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-25 15:56:00 +00:00
Kamil Bażanow 616a6981ba docs(Auth): update signup behavior for existing confirmed user (#20638) 2024-01-22 17:47:53 +00:00
TylerandCharis 90e3289c6b docs: Add signInWithSSO to Flutter docs. (#20511)
* Add sso sign in to Flutter docs

* docs: Add Flutter SSO method

* Add Dart code sample on SSO guide

* Update apps/docs/spec/supabase_dart_v2.yml

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-19 07:52:53 +09:00
Tyler 81d5b97799 docs: Add setSession() and refreshSession() to Flutter docs (#20424) 2024-01-16 09:34:59 +09:00
Kevin Grüneberg 129b3d927a chore: move specs to docs folder (#20136) 2024-01-03 18:54:23 +01:00