Commit Graph
4286 Commits
Author SHA1 Message Date
TinsFoxandCharis Lam 677c0252a0 docs(auth): complete nextjs page router code (#19100)
* docs(auth): complete nextjs page router code

* format with prettier

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2023-11-20 13:18:40 -05:00
Jonathan Summers-MuirandTerry Sutton a19b1589ef [chore] remove docusauraus based files (#19087)
* remove

* Delete README.md

* Update

* Update

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-11-20 17:43:10 +00:00
Nick KrantzandCharis cfda583db9 fix: close mobile menu on click (#15588)
* chore: fix spelling of "libraries"

* fix: close nav when a ref navigation link on click

* fix: remove `!w-auto` from site layout when mobile menu is open

- The width change was causing a layout shift with the height of elements when the mobile menu would show and hide.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-20 12:35:10 -05:00
Thor 雷神 Schaeff e9aea99af6 docs: Improve docs for joins and TypeScript (#19075)
* docs: joins and types docs.

* chore: changes from review.
2023-11-20 08:36:56 +00:00
Thor 雷神 Schaeff 772c4ac119 docs: update scopes docs. (#19090)
* docs: update scopes docs.

* docs: backlink to oauth app creation docs.
2023-11-20 07:06:01 +00:00
GaryAustin1 2a4e4442b0 Update access-control.mdx to fix missing () and cast to text (#19083)
Using storage.foldername(name)[1] requires this format: (storage.foldername(name))[1]

Also comparing the result to auth.uid() requires a cast.  I showed using auth.uid()::text as the example.
2023-11-20 14:17:58 +11:00
Gareth 726efdc441 docs: remove unused invalidate method import (#17858) 2023-11-19 22:50:24 +01:00
Tyler 3ac4759537 guide: add pgroonga videos to pgroonga guide (#19073)
add pgroonga videos to pgroonga guide
2023-11-19 02:57:18 +00:00
Tyler 831220c03e docs: Update mentions of foreign table to referenced table (#18656)
* replace foreignTable parameter with referencedTable parameter

* remove redirects

* rename any mentions of foreign table to referenced table

* fix one mention of foreign table

* update some links
2023-11-19 02:39:28 +00: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
Isaac Abotsi c5f9e4b04a docs: Update auth-google.mdx (#18119) 2023-11-17 18:12:35 +00:00
Andrei Soroker 6f15f66d38 Update auth-sso-saml.mdx (#17856) 2023-11-17 17:28:47 +00:00
Shinya Fujino 90dd579b90 docs: fix syntax error in create role command (#17755) 2023-11-17 17:16:51 +00:00
Maidi 33ec8bdb8a Update hugging-face.mdx: fix example curl request (#17667)
The example request did not match the example edge function because there is used prompt and in the curl script was used query
2023-11-17 16:36:16 +00:00
d2c51b1be9 Docs: Adds a page for enums (#18590)
* Adds a page for enums

* Adds some details on deleting values

* Update apps/docs/pages/guides/database/postgres/enums.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/postgres/enums.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/postgres/enums.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/postgres/enums.mdx

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

* removes dangerous operation

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-17 11:01:47 -05:00
aa9071f9d2 docs: update language in database-size.mdx code block (#19033)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-11-17 14:34:05 +00:00
Inian 38a360ed3d feat: remove note about tus rollout (#19007)
it has been rolled out to all projects
2023-11-17 14:30:53 +00:00
Francesco Sansalvadore 573f002271 Fix code text color (#19042)
* make dark: selector work again

* fix reference docs code color
2023-11-17 14:17:48 +00:00
Taishi 702e62eeb1 docs: Fix an example (@supabase/ssr package) for Next.js API Route (#19009)
Update creating-a-client.mdx

replace `appendHeader` with `setHeader` for the Next.js API route example.
2023-11-17 13:37:41 +00:00
Oliver Rice cd9bd9f4fa (docs) Update arg name that resulted from adapters release (#19024)
update arg name that resulted from adapters release
2023-11-17 13:25:04 +00:00
Copple 15ba7e1502 Add docs for updating the image versions (#18160)
see #17930
2023-11-17 12:21:40 +00:00
Lakshan Perera 54b1e1656c fix: add hello world example to edge functions quickstart (#19030) 2023-11-17 00:48:55 +00:00
uncapped1599andCharis 44b9ced215 Update sveltekit.mdx (#18998)
Extended authorization section of docs to mention use of Sveltekit sequence helper function for protecting routes alongside defining Supabase session. Also provided new code.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-16 14:48:03 -05:00
Thor 雷神 SchaeffandRamiro Nuñez Dosio ed9c4e67f1 feat: add react native auth blog and quickstart. (#19006)
* feat: add react native auth blog and quickstart.

* Grammarly check

* Minor edits.

* Added og image.

* chore: add password sign in and gif.

---------

Co-authored-by: Ramiro Nuñez Dosio <ramiro@supabase.io>
2023-11-16 19:06:50 +00:00
Francesco SansalvadoreandJonathan Summers-Muir be9590c890 Multiple themes management (#18871)
* set up multiple themes in studio

* set up multiple themes in studio

* set up multiple themes in docs and www

* update all resolvedTheme to also include deep-dark

* update all resolvedTheme checks to also include deep-dark

* update tailwind.config.js tokens

* update tailwind.config.js tokens

* update leftover scale12 token

* update if resolvedTheme _doesn't_ include 'dark'

* update more styling tokens

* add dynamic themes to CmdK

* fix nav and footer for multi theme

* add data-theme selector output to transformTokens.js

* update code-hike.css to target data-theme css

* update tailwindcss to ^3.3.5

* ThemeImage with light and dark src for www and docs

* add brand-button styling token

* update old dark theme boolean

* update old dark theme boolean

* make homepage product visuals themeable

* update product page themed images

* update badge green with brand

* fix roles list appearance

* fix auth widget in auth page

* update more dark logic

* update more dark logic

* add button default bg and border

* update pricing page theme styling

* clean up Themeimage

* remove forceDark in homepage

* update dark:border-dark occurrences

* update dark:border-dark occurrences

* fix dark mode base colors

* remove foreground-strong

* fix notification badge bg

* remove some dark: selectors

* update dark: selectors

* update code-hike deep dark bg color

* fix comment typo

* update border-button-hover token

* fix customer story logo

* remove some more dark: selectors

* restore forceDark in www homepage

* fix auth react icon

* fix homepage product visuals

* remove theme

* add brand-link token

* fix checkbox bg

* npm install

* more visible EntityListItem active bg

* fix --background-alternative-default css vars

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-16 16:41:53 +00:00
51ff9f826c Docs: New guide for importing large datasets (#18852)
* Adding a new guide for importing large datasets into Supabase

* Prettier

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Add new suggested changes

* Prettier

* Update apps/docs/pages/guides/database/large-datasets.mdx

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Fix indentation

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-16 12:53:28 +01:00
Div Arora 12c08d36d4 chore: mention that db is restart as part of transition to physical backup (#19008) 2023-11-16 10:29:18 +01:00
Thor 雷神 SchaeffandCharis f14db85bfe expo push notifications guide and example. (#18952)
* feat: add push notifications example.

* feat: add push notifications guide.

* fix: remove trigger.

* chore: americanize.

* Apply suggestions from code review

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

* Apply suggestions from code review

* Apply suggestions from code review

* chore: run prettier.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-16 14:10:15 +08:00
Charis e11717493f wrap tab lists to prevent overflow (#18859)
Quick fix to add a wrapping option that makes tabs visible if there are
many of them.

Long-term fix would be to detect overflow and switch to a dropdown in
that case. Or use dropdown for smaller screens only and let it wrap on
larger screens (since it will be rarer for wrapping to trigger there).
2023-11-15 16:09:58 -05:00
Jongwoo Han d42ac302f9 docs: Replace deprecated command with environment file (#18988) 2023-11-15 12:58:57 -05:00
Italo A 909c0f3f1d fix: missing typo (#18983) 2023-11-15 13:42:17 +00:00
Ohrrkan 9a850e2e94 Update query-optimization.mdx (#18980) 2023-11-15 12:47:48 +00:00
Jonathan Summers-MuirandCharis c222513546 [Docs] [Branching] Chore/branching docs (#18762)
* chore: initial branching docs added

* updated docs

* more changes

* Update tailwind.config.js

* Update branching.mdx

* Update tailwind.config.js

* more changes

* Update branching.mdx

* update images

* image refresh

* Delete example.jpg

* reword the top section

* Update branching.mdx

* image changeover

* Update next.config.mjs

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Apply suggestions from code review

* Apply suggestions from code review

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-15 12:19:19 +00:00
6bangs b940348519 Missing semicolon in row-level-security.mdx (#17968) 2023-11-14 21:48:20 +00:00
Copple f91543d363 docs: clarifying the login step for local development (#18553) 2023-11-14 22:36:25 +01:00
Oliver Rice aaec377b51 docs: 1 liner explanation of RLS in auth docs (#18592) 2023-11-14 22:28:44 +01:00
Oliver Rice 392b3fc460 docs: Update vecs references from create_collection to get_or_create_collection (#17707) 2023-11-14 22:26:12 +01:00
Kevin Grüneberg 30958d87fb fix: build times storybook/swc (#18965) 2023-11-14 21:45:12 +01:00
Charis 9a6afbb961 fix comment tag appearing in title (#18966)
Comment tags were appearing in the generated title on guide pages and
showing up in OG images and Google Search results.
2023-11-14 15:09:49 -05:00
Alvin d4666822a3 tiny spelling fix (#18964) 2023-11-14 14:56:25 -05:00
86f03f854a Improved the auth/callback doc to solve the url bug (#18734)
Co-authored-by: Andrew Smith <a.smith@silentworks.co.uk>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-14 13:24:14 -05:00
eb46d3c37b Sidemenu fixed for jwt (#18666)
Co-authored-by: shishiro <dheeravathshishiro@gmail.com>
Co-authored-by: Isaiah Hamilton <isaiah7hamilton@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-14 12:57:52 -05:00
Aditya Nandan 09f333fecd docs: remove ! from ci.yml for comparing types.gen.ts (#18943)
Previously it meant - 
```if not changes in types.gen.ts {
    show changes;
    exit with code 1 (which means error);
}```

Now it means - 
```if changes in types.gen.ts {
    show changes;
    exit with code 1 (which means error);
}```
2023-11-14 12:36:05 -05:00
兰天游 fa985e9012 feat: add ignore as recommended by React docs (#16385) 2023-11-14 12:35:25 -05:00
Isaiah HamiltonandAndrew Smith 8094fad4b4 Add install docs to python docs (#17942)
* add install docs to python docs

* update custom edit url

* run prettier

* remove python from excludes

* Remove local install section from docs

---------

Co-authored-by: Andrew Smith <a.smith@silentworks.co.uk>
2023-11-14 17:30:02 +00:00
Joel Lee b11e1f4337 chore: update pg_net docs (#18942)
Update pg_net.mdx
2023-11-14 17:51:47 +07:00
jbawbandAnt Wilson 7218ee233d Adding provider scope example (#16178)
* Adding provider scope example

* Update apps/docs/pages/guides/auth/auth-helpers/auth-ui.mdx

* Update apps/docs/pages/guides/auth/auth-helpers/auth-ui.mdx

---------

Co-authored-by: Ant Wilson <awalias@users.noreply.github.com>
2023-11-14 08:37:27 +00:00
Philipp SteinrötterandGreg Richardson f0a7ed977b recommend OrbStack (#17293)
* recommend OrbStack

since this has been a life-changer for me as a avid cli user, and I keep recommending it to people, it might we a good addition to the docs. not sure if supabase wants to recommend other software here, and, if so, whether this is the right place for it.

* add admonition

* docs: adjust wording on docker tools

* fix: format

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2023-11-14 15:42:20 +08:00
d22e9c4e6f docs: passwordless auth docs improvements. (#18872)
* docs: passwordless auth docs improvements.

* fix: typo.

* Update apps/docs/pages/guides/auth/passwordless-login/auth-email-otp.mdx

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

* Update apps/docs/pages/guides/auth/passwordless-login/auth-email-otp.mdx

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

* Apply suggestions from code review

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

---------

Co-authored-by: Tyler <18113850+dshukertjr@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-14 12:46:30 +08:00