Commit Graph

32 Commits

Author SHA1 Message Date
Oliver Hogan
1a96462aa9 Fix Grammar/File Naming issus in "Update with-nextjs.mdx" (#27970)
* Fix Grammar in "Update with-nextjs.mdx"

* Fix misnaming of js/ts in "Update with-nextjs.mdx"
2024-07-14 12:33:25 +02:00
Hichem Dahi
e474541f41 fix(docs): Replace watch with watchEffect. Add additional details to clarify Account.vue file. (#27843)
Update with-vue-3.mdx

Replace watch with watchEffect. Add additional details to clarify the explanation of the Account.vue file.
2024-07-12 18:38:19 +00:00
Andrew Smith
b79a138055 fix(docs): update ssr guides and examples for nextjs and svelte (#27834)
[Summary by Charis]
Update SSR guides and examples for Next.js and Svelte:
- New `@supabase/ssr@0.4.0` API
- Misc. Svelte fixes
2024-07-08 15:06:59 -04:00
Andrew Smith
8124dcae54 update sveltekit guides with the latest ssr setup (#27641)
* update sveltekit guides with the latest ssr setup

* update style formatting
2024-07-01 19:39:43 -04:00
Arnold Rozon
056af94ed8 docs: Remove extra await from Swift sample (#27511)
Update with-swift.mdx

Removed extra await in `AppView` example
2024-06-25 20:41:55 +00:00
Tyler Pfaff
33c7e812c4 Fix errors being swallowed in account_page.dart and login_page.dart fixes #27104 (#27143)
* Refactor login_page with a _showSnackBar function

* Add an onError block to onAuthStateChange

Errors get swallowed without this error handler, I noticed it when I had requested too many magic link emails, there was no feedback in the ui, nor in the logs in the console.

* Fix SnackBars not being displayed and add a _showSnackBar function

* Fix code samples for login_page.dart and account_page.dart to reflect fixes in #27104

* Fix isError not being passed for an Unexpected Error in login_page

* Update flutter user management example to a more modern code

* Update the guide to match the new content

* run formatter

* got rid of excess code and minor format fix

---------

Co-authored-by: dshukertjr <dshukertjr@gmail.com>
2024-06-14 09:19:10 +00:00
Áom | Siriwat J
5d2920d028 [Fix #27119] Update PKCE example code on with-nextjs example (#27184)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-12 15:55:59 +00:00
Ivan Vlatković
1b6a32458f [docs] SvelteKit tutorial - do not throw redirect (#26396)
do not throw redirect

`throw redirect` is not used in SvelteKit v4 it's just `throw`

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:38:03 +00:00
Jacint Varga
07bfcfbc3c docs: updated with-expo-react-native.mdx (#26705)
The `react-native-url-polyfill` is not needed in Expo anymore since SDK 50 (the latest SDK is 51).

You can read more about it here:  https://docs.expo.dev/versions/unversioned/sdk/url/

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:37:44 +00:00
Thor 雷神 Schaeff
b0dd85d2a2 chore: update example dependencies. (#26381)
* chore: update example dependencies.

* chore: bump expo.
2024-05-17 13:39:31 +08:00
Peter
e167ecb804 Fix linting warnings in Flutter User Management Starter tutorial (#25090)
* Update User Management Starter Flutter to fix linting warnings

* bring Supabase instance up

---------

Co-authored-by: dshukertjr <dshukertjr@gmail.com>
2024-05-13 20:49:53 -05:00
Charis
0d1f8b8627 fix: sveltekit examples pass headers through (#23448)
The `x-supabase-api-version` header was added to Supabase APIs, so it
needs to be passed through in SvelteKit examples.
2024-05-02 11:28:43 -04:00
Honzoraptor
40b9a1f335 Fixed type error in SvelteKit user management app tutorial (#23371)
The type RequestHandler was missing in one of the code boxes with TypeScript code.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-30 15:51:52 +00:00
Saugat Dhimal
8d997ea3be fix: tabs actions path in with-nextjs.mdx (#23445)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-30 14:54:55 +00:00
Charis
170668431d fix: replace docs blockquotes with admonitions (#23160) 2024-04-22 15:45:19 -04:00
Charis
0c8f9942cf feat(understandability): add new server-side auth docs for sveltekit (#22574)
End-to-end guide for setting up Server-Side Auth with SvelteKit, covering:

- Protected routes
- Signin, signup, signout
- Protected data
2024-04-22 18:26:27 +00:00
Bredillet Thomas
22290daa47 Fix link to nuxt composables (#22852)
Fix lin to nuxt composables
2024-04-18 08:48:46 +00:00
Shounak Ghosh
700e2f097e docs: fixed typescript bugs in code blocks (#22689)
Fixed typescript bugs in code blocks of with-sveltekit.mdx 

Now utilising the `satisfies` keyword instead of explicitly typing the exported functions.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-15 17:26:24 +00:00
Guilherme Souza
c7217582ab chore: official supabase-swift (#22678)
* chore: remove community badge from supabase-swift

* chore: update realtime swift reference

* fix typo

* chore: update swift references

* chore: fix misspelling of behavior
2024-04-16 00:01:01 +10:00
Tyler Arbon
6f3bedeac5 Update with-sveltekit.mdx (#22635)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-12 03:04:11 +00:00
Charis
a1060c86de fix: better handling of getSession for sveltekit (#22381) 2024-04-03 07:18:46 -04:00
Kenta Nakamori
d62e4efb09 Update with-expo-react-native.mdx (#22193)
edit command
2024-03-25 04:09:57 +00:00
Nicolas Robinson
c8fd53a58e docs: update sveltekit tutorial with new @supabase/ssr package (#22087)
* docs: update sveltekit tutorial with new @supabase/ssr package

Related to issue #21851: Sveltekit guide still uses the old packages

* fix comment

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-19 05:35:13 +00:00
Tyler
6b3420a5fd docs: Remove storage management section from the quick starts. (#21985)
remove storage management to keep the guide simple
2024-03-16 08:03:06 +09:00
Turiiya
74a1d5fec1 docs: add missing import and type decl to sveltekit tutorial (#21634)
* docs: add missing import and type decl to sveltekit tutorial

* update +layout.server.ts in sveltekit code example

* update remaining

* chore: fix formatting

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-07 21:17:48 +00:00
Caleb L
b5da46a209 docs: fix typo in nextjs tutorial (#21822)
fix typo
2024-03-06 22:26:06 +00:00
Nick James
9a68e5a377 Update with-svelte.mdx (#21432)
### Account page fixed sign out function
2024-03-05 06:38:20 +00:00
Minh Au
fb9e6aa9b1 Sync NextJs Quick Start and Web App Tutorials (#21718)
* rename 'web app tutorials' to 'web app demos'

* replace auth helper with server-side auth

* add more descriptive instructions

* fix small typos

* create a section on supabase utitlies

* update middleware section to include utilities

* update supabase auth ui to include the utilities

* add a login/signup form

* replace supabase auth ui section with a note

* update PCKE section to use /auth/confirm route instead of /auth/callback

* update Account Page section to use utilities and switch locations

* update Sign out section to use utilities

* update bonus section to include utilities

* minor fixes

* Apply suggestions from code review

* format

* format

* fix js examples

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 01:04:48 -05:00
Charis
cb7c67864b chore: linting rule tweaks and error fixes (#21678) 2024-03-04 23:32:46 -05:00
Sheldon Fourie
3912e1ab46 Update profile now uses "avatarUrl" to correctly update avatar_url (#21555)
I noticed in the function to updateProfile the "avatar_url" was not using the passed in "avatarUrl" value.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-28 01:17:09 +00:00
Kristian Heitkamp
6889153e48 fix the path for routing (#21415)
This will make the page load if not logged in and eliminate the following error message:
Error: NG04014: Invalid configuration of route '/': path cannot start with a slash

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-21 00:08:22 +00:00
Charis
b0b8b6b6e3 refactor: finish moving mdx to content directory (#21321) 2024-02-16 13:43:02 -05:00