Commit Graph
327 Commits
Author SHA1 Message Date
Charis 7cf2eae953 fix: statically build the right nav on each page (#21469)
Before: All pages have the Home nav menu in static HTML, which is blown away and replaced by the proper nav menu upon hydration. This leads to jankiness when the page first loads and an unpleasant flash of the wrong nav menu (especially obvious on the JavaScript ref page, which takes a long time to process and rerender the nav).

Now: All pages have their correct nav menu in static HTML.
2024-02-23 11:38:06 -05:00
Charis b0b8b6b6e3 refactor: finish moving mdx to content directory (#21321) 2024-02-16 13:43:02 -05:00
d07c27a35f removed duplicate cookiestore function (#21179)
Co-authored-by: Chris Gwilliams <517923+encima@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-14 02:42:02 +00:00
Charis b06dc92cae replace old diagrams with new ones from design (#21170)
* swap out old diagrams for new ones

* swap out images in readmes

* fix docker guide image

* test readme image display
2024-02-12 10:46:35 +00:00
Ronan O'DriscollandCharis ec2d463e7a Minor clarification in wording on Getting Started With Flutter Guide (#20996)
Minor clarification on Getting Started With Flutter

This sentence was confusing to me (I thought I should put my own domain as the scheme) because of the "you can change it to whatever you like". This change clarifies that the guide is only referring to the host for the deep link.

The discord discussion gives further details of the challenge I had because of my misinterpretation: https://discord.com/channels/839993398554656828/1202047697948004472/1202047697948004472

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-05 19:30:36 +00:00
c8a04c0909 docs: fix code snippets for expo tutorial (#20766)
* docs: fix compiler errors for expo react native tutorial

https://github.com/supabase/supabase/issues/20764

* docs: use `expo-document-picker` for expo react native tutorial

https://github.com/supabase/supabase/issues/20764

* docs: update text to reflect library replacement

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

* expo-react-native: change from rn document picker to expo-image-picker

* docs: run prettier for expo tutorial

* docs: add missing contentType and fileExt for expo tutorial

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Samir <samir.js.zip@gmail.com>
2024-01-30 20:29:02 +00:00
b5eb4066ae fix: more pooler conn string updates (#20849)
* fix: swap examples for pooler conn string

* fix: clarify how to get pooler string in branching docs

* fix: double scrollbar caused by banner

* fix: more fixes to connection docs re: pooling

* update postgres images

* restore accidentally deleted image

* appease prettier

* update connecting guide

* Update add-pg-server-conn-info.png

* replace projectref with a placeholder

* spelling nit

* update image

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Inian <inian1234@gmail.com>
2024-01-30 16:08:50 +08:00
Kevin Grüneberg f7e60bf324 chore: upgrade prettier/eslint + autofix (#20785) 2024-01-30 10:54:02 +08:00
45632cb503 feat(blog): Rails getting started. (#20351)
* feat(blog): Rails getting started.

* chore: updates.

* Update apps/www/_blog/2024-01-29-ruby-on-rails-postgres.mdx

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

* Update apps/www/_blog/2024-01-29-ruby-on-rails-postgres.mdx

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

* Update apps/www/_blog/2024-01-29-ruby-on-rails-postgres.mdx

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

* chore: fly deploy and session mode.

* Apply suggestions from code review

Co-authored-by: Ant Wilson <awalias@users.noreply.github.com>

* chore: session mode.

* chore: better secrets.

* Apply suggestions from code review

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

---------

Co-authored-by: Ant Wilson <awalias@users.noreply.github.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2024-01-29 15:57:16 +00:00
Virgil Nilson 2409b0b898 fix typo (#20801) 2024-01-29 13:09:51 +01:00
Jonathan Summers-Muir d03bbe75ed chore: update migration guides for new assets (#20786)
* update image and text

* Update database-settings-host.png

* update redwood

* Update database-settings-host.png

* update resources pages
2024-01-27 09:40:15 +00:00
Trevor GilbertandCharis d38e9bb6b5 Update with-swift.mdx (#20712)
The documentation states that in the `AppView` we should use `for await state in await supabase.auth.onAuthStateChange()`. This is invalid. If you test it, you should be using `for await state in await supabase.auth.authStateChanges`.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-25 16:12:44 +00:00
Charis 2a0c0e06b8 readd docs api config variables with fixes (#20309) 2024-01-23 07:53:10 +11:00
Stojan Dimitrovski a564bd5bd4 docs: add info about React Native AppState and Supabase Auth (#20287) 2024-01-22 16:46:41 +00:00
Thor 雷神 SchaeffandAnt Wilson a4c20afc5c feat(blog): Laravel getting started. (#20350)
* feat(blog): Laravel getting started.

* chore: updates.

* chore: final updates.

* Update apps/www/_blog/2024-01-22-laravel-postgres.mdx

---------

Co-authored-by: Ant Wilson <awalias@users.noreply.github.com>
2024-01-22 13:22:22 +00:00
1b87103e86 fix: update connection strings for ipv6/supavisor (#20394)
* fix: update connection strings for ipv6/supavisor

* Update redwoodjs quickstarter with the latest prisma instructions

* Update screenshot for obtaining connection string

* Add the direct_url back to redwood quickstarter guide

* update redwood guide

* update screenshots and connecting text

---------

Co-authored-by: dshukertjr <dshukertjr@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
2024-01-17 11:24:24 -05:00
Tyler 23a5b59eae fix: Update pgbouncer mentions to supavisor and add warning to pgbouncer article (#20387)
* Update pgbouncer mentions to supavisor and add warning to pgbouncer article

* run prettier

* minor text update
2024-01-13 08:15:26 +09:00
Charis 94a07fe724 remove or warn about getSession calls in docs (#20308) 2024-01-10 14:30:26 +00:00
Charis 10da8f3f31 Revert "feat: display api urls and keys instead of placeholders in do… (#20302)
Revert "feat: display api urls and keys instead of placeholders in docs (#19672)"

This reverts commit 0e8ee2e890.
2024-01-10 05:45:44 -05:00
Thor 雷神 SchaeffandCharis 32771601ce feat(quickstarts): Laravel and Rails. (#20264)
* feat(quickstarts): Laravel and Rails.

* Apply suggestions from code review

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-10 07:48:05 +00:00
CharisandJoshen Lim 0e8ee2e890 feat: display api urls and keys instead of placeholders in docs (#19672)
**feat:** adds a component to display API endpoints and anon keys in docs if user is authenticated
makes the getting started UX smoother so users don't have to jump back and forth between docs and trying to find their keys in dashboard

**out of scope:** it would be very cool to display these directly in the code blocks. I looked into it and it would require quite a bit of work forking and modifying code-hike, so out of scope for now

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-09 15:00:31 -05:00
Chris GwilliamsandInian 855c7b5030 Update docs for Supavisor launch (#20234)
* update arch docs to mention supavisor

* update docs to mention supavisor where relevant (in place of pgbouncer)

* update supavisor conn string

* trigger checks

* prettier

---------

Co-authored-by: Inian <inian1234@gmail.com>
2024-01-09 22:02:13 +08:00
ClarenceandAlaister Young 432de2fc69 chore: clean up on empty className attributes (#20203)
clean up on empty className attrib

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-01-08 05:49:28 +00:00
Hieu VuandCharis c09caa317a Update Kotlin tutorials to be aligned with supabase-kt v2.0.0 (#19998)
* Update Kotlin tutorials with supabase 2.0.0

* Update build gradle

* Update with-kotlin.mdx

* Update with-kotlin.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-03 18:27:57 +00:00
Hamza Seif 93bf60d88b docs, fix grammar mistake. (#20095)
Update with-nextjs.mdx, fix grammar mistake

fix grammar mistake
2024-01-02 14:53:35 +00:00
Charis 671b05bc4b fix: standardize headings sentence case in docs (#19954)
* fix: standardize headings sentence case in docs

* Revert exceptions
2023-12-22 13:59:57 -05:00
Bobby GalliandCharis b6fa0f528c docs: update with-ionic-angular.mdx (#18613)
* docs: update with-ionic-angular.mdx

* Fix compile errors
* Update syntax to match @supabase/supabase-js v2
* Correct spelling/grammar mistakes found by Grammarly

I waffled a bit on what to do about the untyped errors. I opted for any because the point of this tutorial is a minimal demostration of supabase that's approachable to a beginner/intermediate level developer. With that in mind, it felt more important to keep the code concise instead of type checking error in every catch block.  Totally open to feedback here.

Additionally, I was a bit indecisive on handling the API change re: returning errors instead of throwing. I opted to throw the error immediately if one was returned because that was the only way I could guarantee that the sample snippets worked the same as they did before this update without doing a deep dive.

* Apply suggestions from code review

* chore: run prettier

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-21 19:50:37 +00:00
Kevin Grüneberg 3909239961 chore: further reduce docs bundle size (#19927) 2023-12-21 08:43:09 +01:00
ClarenceandJordi Enric dc1941321f docs: fixed multiple docs typo (#19890)
* docs: fixed typo coodinates -->  coordinates

* docs: fixed typo eachother -->  each other

* docs: fixed typo limitiations -->  limitations

* docs: fixed typo auomatically -->  automatically

* docs: fixed typo deavice -->  device

* docs: fixed typo bootstapping -->  bootstrapping

* docs: fixed typo bootstapping -->  bootstrapping

* docs: fixed typo deavice -->  device

* docs: fixed typo deavice -->  device

* docs: fixed typo bootstapping -->  bootstrapping

* docs: fixed typo aslo -->  also

* docs: fixed typo Licence -->  License

---------

Co-authored-by: Jordi Enric <37541088+jordienr@users.noreply.github.com>
2023-12-20 11:08:04 +00:00
hallidayoandCharis 04c4b4d047 docs: Next user management app (#19845)
changed to use POST

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-19 19:13:04 +00:00
Nico KempeandCharis add4018d08 Fix Incorrect URL in Supabase Docs for Studio Source Code (#19878)
Fix the studio source code link

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-19 18:23:03 +00:00
Tyler eae972b55a blog: update past Flutter blog content to use supabase_flutter v2 (#19634)
* update flutter quick start and example app to use flutter v2

* update examples and blog articles to use Flutter SDK v2

* fix versions used in examples

* update image picker to 1.0.5

* minor code refactor for sample code
2023-12-19 11:34:03 +09:00
e426517484 Update Kotlin docs for 2.0.0 (#18912)
* Rename gotrue to auth

* update columns

* rename gotrue to auth (again)

* improve postgrest docs

* add new modules

* rename logout

* Rename some more stuff

* Rename more stuff

* Rename guides

* Rename SSO docs

* Rename "phoneNumber" to "phone"

* rename some more stuff

* Add v2 docs

* Rename postgrest[..] to supabase.from(..)

* Migrate postgrest to new syntax

* Add explain, single & csv

* Rename storage

* Rename some more storage storage methods

* fix invalid docs

* fix duplicate id

* exclude sections for kotlin

* Rename password reset method

* Update tutorial

* Update realtime docs

* Update more realtime docs

* Update module docs

* add link to migration guide

* update installing

* document custom KotlinX Serializer

* update code to pass formatter

* Remove supabase.realtime.connect() docs

* fix typo

* update kotlin quick start guide

* add a note about making network request from the UI code

* run formatter

* add small kotlinx serialization change

* Apply suggestions from code review

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

* improve quickstart

---------

Co-authored-by: Tyler <18113850+dshukertjr@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-12 01:34:53 +09:00
shinriyoandCharis e4d4fc584e Update with-svelte.mdx (#19398)
It does not use an FQDN for the redirect.
It should be http://localhost:5173/

FQDN do means "Fully" Qualified Domain Name.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-04 03:24:15 +00:00
Esteban Dalel RandTerry Sutton 4a4416ee9b Fix error on route for Next JS tutorial (#18686)
Fix error on route

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-11-27 21:29:13 +00:00
Vincent Ip, probably 433e728006 docs: variable should be let as it is reassigned (#19217) 2023-11-26 14:34:35 +01:00
Gareth 726efdc441 docs: remove unused invalidate method import (#17858) 2023-11-19 22:50:24 +01:00
a2cd408ed2 docs: add getting started guide for Swift (#19044)
* docs: getting started guide for Swift

* Apply suggestions from code review

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

* Add new tutorial to menu

* Add correct image for tutorial

* style: format with-swift tutorial

* docs: add example to the repository

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2023-11-18 11:50:53 +00:00
Thor 雷神 SchaeffandCopple ee18b5ac1f docs: add RN videos and discoverability improvements. (#18633)
* docs: add RN videos and discoverability improvements.

* Apply suggestions from code review

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

* chore: run prettier.

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-11-18 05:42:33 +00:00
兰天游 fa985e9012 feat: add ignore as recommended by React docs (#16385) 2023-11-14 12:35:25 -05:00
Abhijeet Biswal df6b6048e0 fixed: User Management App with React example has a bug (#18894) 2023-11-13 08:55:26 -03:30
hallidayo a0c44862d0 docs: styling heading (#18890)
added styling header
2023-11-13 06:11:37 +00:00
Pulkit Batra e835b898d7 docs: Fix Svelte tutorial import snippet (#18729)
The error message I receive is: "Cannot find module 'src/supabaseClient' or its corresponding type declarations." This error indicates that the TypeScript compiler is unable to locate the module I'm trying to import.
2023-11-06 12:54:15 +00:00
Jon Meyers 1382088239 Chore: make snippet in Next.js quickstart consistent (#18719)
make example consistent with other examples
2023-11-04 11:32:46 +01:00
Muhammad SaleemandJon Meyers 1e26db282c updated createClient() function for latest nextjs app otherwise it won't work with it (#18692)
updated createClient() code

Co-authored-by: Jon Meyers <jonathon.d.meyers@gmail.com>
2023-11-03 13:39:25 +00:00
Steven Clontz 29d2529c6c Fix documentation error for SvelteKit User Management (#18593)
Update with-sveltekit.mdx
2023-10-30 17:15:31 +00:00
Jon Meyers dffa80e32c Chore: Update all instances of NextJS with Next.js (#18521)
Update all instances of NextJS with Next.js
2023-10-30 17:38:51 +11:00
973b09284c Chore: update docs for new ssr package (#18455)
* update Next.js quickstart

* update docs to use ssr package

* update nav items to reflect new ssr pages

* add migration guide from auth-helpers to ssr

* add guides for astro and remix

* add new pages to sitemap.xml

* Update apps/docs/pages/guides/auth/server-side/overview.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/auth/server-side/overview.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/auth/server-side/creating-a-client.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/auth/server-side/creating-a-client.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Add sveltekit example code

* Add another admonition for sveltekit

* Add express example

* Fix spelling mistake

* Run prettier to correct formatting

* fix createClient examples for Next.js

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Andrew Smith <a.smith@silentworks.co.uk>
2023-10-27 14:55:32 +11:00
b1eafd3957 docs: Revamp storage docs (#18259)
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Fabrizio <fabri.feno@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
2023-10-24 23:46:55 +08:00
Thor 雷神 Schaeff 17d3000ac7 docs: improve expo quickstart. (#18398)
* docs: improve expo quickstart.

* fix: admonition spacing.

* fix: spacing.
2023-10-24 02:44:35 +00:00