Commit Graph
5454 Commits
Author SHA1 Message Date
Guilherme Souza 00150f68b7 chore(docs): add example for swift and python on realtime RLS (#29684)
* chore(docs): add example for swift and python on realtime RLS

* add await
2024-10-04 10:31:50 -04:00
Vincent Fretin ce724e91bb Fix wrong style width value in solid tutorial (#29688)
* Fix wrong style width value in solid tutorial

* update the line also in the code

* sync with the doc
2024-10-04 14:26:40 +00:00
Div Arora 7b943ace72 chore: add a note on tsdb flavour (#29667) 2024-10-04 06:23:08 +08:00
a0eff938ff New connection management docs (#29166)
* recreated connecting-to-postgres

* adding GUI quickstart section with DBeaver

* moved psql and pgadmin docs to GUI quickstart

* added Prisma installation docs. Moved postgres.js and Drizzle into own section

* added connection management docs

* moved supavisor troubleshooting guide into troubleshooting section. Probably should not merge without adding more guides

* updated IPv4 Add ons docs

* removed typo

* Update apps/docs/content/guides/platform/ipv4-address.mdx

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

* Update apps/docs/content/guides/platform/ipv4-address.mdx

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

* Update apps/docs/content/guides/database/supavisor.mdx

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

* Update apps/docs/content/guides/database/prisma.mdx

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

* Update apps/docs/content/guides/database/connection-management.mdx

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

* Update apps/docs/content/guides/database/connection-management.mdx

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

* Update apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts

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

* removed repetition in connection-management | added photos

* Update apps/docs/content/guides/database/connecting-to-postgres.mdx

Co-authored-by: Stas <sts@abc3.dev>

* Update apps/docs/content/guides/platform/ipv4-address.mdx

Co-authored-by: Stas <sts@abc3.dev>

* Update apps/docs/content/guides/database/connection-management.mdx

Co-authored-by: Stas <sts@abc3.dev>

* Update apps/docs/content/guides/database/connecting-to-postgres.mdx

Co-authored-by: Stas <sts@abc3.dev>

* Update apps/docs/content/guides/platform/ipv4-address.mdx

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

* Update apps/docs/content/guides/database/connecting-to-postgres.mdx

Co-authored-by: Stas <sts@abc3.dev>

* updated proxy suggestions

* added redirects

* added images to connection-management guide

* added unique ids to titles in prisma-troubleshooting section

* added images to connection guide

* added new images to prisma guide

* reformatted admonition

---------

Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Stas <sts@abc3.dev>
2024-10-03 19:42:49 +00:00
Charis 358a82123c enh(docs): default to full file for CodeSamples (#29670)
If no lines are specified, default to inserting the full source file.
2024-10-03 14:48:07 -04:00
Lakshan Perera ef6353e84c Edge Function example on image manipulation (#29658)
* chore: add magick-wasm example functions

* chore: add image manipulation guide
2024-10-03 17:47:55 +08:00
Div Arora 642f13b951 chore: add docs on additional params being exposed for user control (#29548) 2024-10-03 02:42:39 +02:00
Charis a29dc5de4b feat(docs): main troubleshooting page (#29120)
* feat(docs): main troubleshooting page

* feat(docs): global troubleshooting page layout

* feat(docs): global troubleshooting page filter logic

* enhance(docs): troubleshooting page ui & filters

Improve UX and accessibility of global troubleshooting search page.

- Implement TroubleshootingFilterStateProvider for managing filter state
- Add TroubleshootingFilterEmptyState component
- Improve TroubleshootingFilter UI with applied filters display
- Update TroubleshootingPreview component with better layout and accessibility
- Add TroubleshootingEntryAssociatedErrors component for displaying related errors
- Refactor Troubleshooting utils and schemas
- Update troubleshooting content template

* feat(docs): individual troubleshooting pages

Add individual pages for detailed information on troubleshooting
entries. Small fixes to UI for troubleshooting displays.

- Wrap GlobalTroubleshootingPage with SidebarSkeleton
- Add TroubleshootingErrorListDetailed component for detailed error display
- Implement TroubleshootingBackLink component for navigation
- Update TroubleshootingPreview to use Next.js Link and include parent page
- Refactor Footer component to accept className prop
- Add hideFooter option to SidebarSkeleton
- Minor updates to TopNavBar and other utility functions

* fix: minor styling issues

* tweak(troubleshooting docs): use breadcrumbs

* tweak(troubleshooting docs): use sidebar for filter

* enhance(troubleshooting docs): navigation, keywords

Better navigation for individual troubleshooting entries, using a
version of the sidebar + keywords handling via search params for good
linking behavior

Details:

- Add TroubleshootingSidebar to TroubleshootingPage
- Implement query state management for keywords using nuqs
- Improve accessibility and styling of troubleshooting components
- Update empty state handling and related keywords display
- Upgrade nuqs package to version 1.19.1

* fix(docs): wrap useSearchParams in Suspense

* seo(docs): add canonical link to troubleshooting

* enhance(docs,troubleshooting): auto-reveal errors

On troubleshooting search pages, if the searched term matches a hidden
error, auto-reveal it when searching. When the search term is cleared,
hide programmatically-opened errors while preserving user-opened ones.

* enhance(docs,troubleshooting): search bar

Add search bar to individual troubleshooting pages

* fix(docs): breadcrumb links

Fix breadcrumb linking so it uses next/link instead of reloading entire
app on navigation.

* fix(docs): typo

* enh(docs): new troubleshooting design

* enh(docs): use new multi-select

* enh(docs): troubleshooting responsive styles

* Update apps/docs/content/troubleshooting/monitor-supavisor-postgres-connections.mdx
2024-10-02 17:10:12 +00:00
Michael Sumner 78e10c8989 Update with-react.mdx (#29546)
Fix syntax error
2024-10-02 15:34:58 +00:00
Paul Cioanca 7d46547e11 chore: update database upgrade docs to outline newly eligible for upgrade extension versions (#29648) 2024-10-02 18:34:20 +03:00
github-actions[bot]andphamhieu 0a2886fa61 feat: update mgmt api docs (#29581)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-10-02 15:33:46 +00:00
Guilherme Souza 503415602c docs: add facebook auth swift example (#29587)
* docs: add facebook auth swift example

* format
2024-10-02 08:17:34 -03:00
Etienne Stalmans 37c2fc5831 chore: remove Alex from humans.txt (#29638) 2024-10-02 10:53:29 +02:00
Jan TennertandCharis 0381676f91 Add Kotlin v3 docs (#29531)
* Update docs

* add v3 docs

* add note about kotlin targets

* Apply suggestions from code review

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

* Update apps/docs/spec/supabase_kt_v3.yml

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-10-01 23:57:05 +00:00
Misha Kaletsky ec70baf0a3 Clarify how to use the service role key with the rest API (#29629)
I struggled with this for a while. v0 was able to figure this out from the docs, but I wasn't, so I thought an explicit example which makes it easy to go from values you see in the dashboard to what-do-i-need-to-do would help.
2024-10-01 23:29:24 +00:00
Rodrigo Mansueli 6176d1b130 chore: Update NavigationMenu.constants.ts (#29620)
Update NavigationMenu.constants.ts
2024-10-01 15:38:31 +00:00
Ivan Vasilov cb1e3a8170 chore: Prep work for pnpm (#29610)
* Add all missing libraries in the packages/apps.

* Add all missing Vitest imports to the tests.

* Add some missing exports to ui.

* Fix the admonition export.

* Fix various minor bugs.

* Migrate the ui package to use vitest.
2024-10-01 11:29:37 +02:00
Kamil Ogórek d5107e4ea2 docs: Add section about dynamically generated redirect url (#29612) 2024-10-01 11:24:37 +02:00
Joel Lee f58afe2e76 fix: update to make explicit that there can be multiple secrets (#29553) 2024-10-01 07:28:42 +00:00
Ivan Vasilov 09a62662d8 chore: Clean up ui-patterns imports (#29132)
* Switch all top-level imports for ui-patterns components to use specific components when importing.

* Remove the @ui-patterns shorthand since it works exactly the same without the @.

* More import fixes.

* Fix the ui-patterns tests.
2024-09-30 21:41:26 +02:00
TheOtherBrian1 b06a9624db Update custom-postgres-config.mdx (#29068) 2024-09-30 13:57:19 -04:00
Mohammed Yasin Mulla ab732975c4 fix: auth0 icon in light mode (#29571)
* fix: auth0 icon in light mode by inverting the fill color of the icon in light mode

* fix: auth0 icon in /docs/guides/resources page
2024-09-30 12:20:44 +00:00
Kyle Malloy a2be5836ad Missing import in Astro example (#29460) 2024-09-30 07:14:22 +00:00
Łukasz Jan Niemier 974cb23552 chore: add myself to humans.txt (#29472) 2024-09-30 07:11:10 +00:00
Tyler a916150022 example: Update web, iOS, and Android code to the latest Flutter version (#29582)
* example: Update web, iOS, and Android code to the latest Flutter version

* Update dev dependencies to the latest
2024-09-30 13:22:04 +08:00
Charis 16f2b8e19a fix(docs): mkdocs admonitions (#29565) 2024-09-27 17:49:00 -04:00
Charis d2a988e158 fix(docs): footnotes (#29564)
* deps(docs): add mdast gfm support

* fix(docs): footnotes
2024-09-27 19:35:19 +00:00
Wen Bo Xie 759612848e feat: add paying project free micro upgrade note (#29498)
* feat: add paying project free micro upgrade note

* improvements
2024-09-27 15:16:31 -04:00
Charis c2fe11850d feat: embed code samples from github (#29519)
Add the ability to embed code samples from GitHub into tutorials, so we can have a single source of truth for the source code.

Introduces the <$CodeSample /> syntax, which is a special syntax and not a real React component (see the directives/README.md for why on earth I did it this way -- in this specific case, CodeHike adjusts the MDX syntax tree before it gets compiled, and we need to adjust it ourselves before CodeHike sees it, so we need to get down to the level of manipulating the AST in order to make this work with CodeHike).

Adjusted one of the example tutorials to use this new feature as a test.
2024-09-26 15:54:57 -04:00
Kang Ming 328155a4d1 docs: update email_address_not_authorized description (#29544) 2024-09-26 09:38:33 -07:00
Stojan DimitrovskiandJoel Lee ef4ba685e3 docs: add updated auth custom smtp docs (#29532)
* docs: add updated auth custom smtp docs

* apply suggestion from @J0

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>

* final suggestions

* add info about ssr

---------

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-09-26 15:17:21 +02:00
c69ac64ad5 docs: update custom domain docs for verification process (#29344)
* docs: update custom domain docs for verification process

* fix: ensure the ui experience for custom domains matches the flow

* chore: prettier formatting fixes

* docs: only reference a single txt record for custom domains

* fix: drop undefined from dns table type

* automatically poll for custom domain ssl status

* Minor UI tweaks

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-26 16:55:36 +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
Guilherme Souza d22f64029e chore(docs): add section for swift error codes (#29520) 2024-09-25 17:19:47 -03:00
Francesco Sansalvadore 0af74174e0 fix docs alert z index (#29516) 2024-09-25 15:16:06 +00: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
Guilherme Souza e4042bca70 chore(docs): fix auth apple guide by removing import GoTrue (#29513) 2024-09-25 13:29:21 +00:00
Charis f5ec2d2c06 fix(ref docs): Improve markdown normalization to preserve code block braces (#29063)
Braces must be escaped in non-code-blocks (or the site won't build),
but preserved in code blocks. This requires a more complex approach than
we were using:

- Parse the initial markdown and identify code blocks
- Escape braces only in non-code sections of the markdown
2024-09-25 09:22:46 -04:00
Div Arora a050d7997c chore: add explicit note about third-party service responsibilities (#18397) 2024-09-25 20:19:39 +08:00
Wen Bo XieandCharis 4f71dd45ca fix: add project permissions breaking changes note (#29495)
* fix: add project permissions breaking changes note

* Update apps/docs/content/guides/platform/access-control.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-09-24 21:58:11 +00:00
Wen Bo Xie 9f40b1f06b fix: correct project permissions access control (#29491) 2024-09-24 16:51:15 -04:00
TheOtherBrian1 c970e444a5 Update metrics.mdx | put .env variables in quotes (#29479) 2024-09-24 12:11:46 -04:00
Charis 679d49ca7d chore(docs): remove prefetch on ref nav (#29481) 2024-09-24 11:47:16 -04:00
Ivan Vasilov dfdc688592 chore: Bump next, vite and dompurify to non-vulnerable versions (#29476)
* Bump dompurify to non-vulnerable version.

* Bump next package to non-vulnerable version.

* Bump vite to non-vulnerable version.

* Bump path-to-regexp.

* Bump rollup to a non-vulnerable version.

* Revert vite bump.
2024-09-24 16:09:59 +02:00
Joel Lee 2ea86eb8ba fix: update OTP rate limits to 360 per hour (#29176) 2024-09-24 11:28:35 +00:00
Kevin Grüneberg cddd29c510 chore: explicit docs about reducing disk size (#29467) 2024-09-24 16:05:25 +08:00
Copple f0b135597d chore: update cli reference doc (#29466) 2024-09-24 04:09:04 +00:00
Brayden 38d7d938bc fix: update link in authorization.mdx (#29433)
fix link in authorization.mdx

Was linking to https://supabase.com/docs/guides/realtime/docs/guides/realtime/protocol#access-token which does not exist.
2024-09-23 15:16:39 +00:00
Chase Granberry b4211367a7 docs: update Realtime log_level config example (#29414)
* docs: update Realtime log_level config example

* fix: prettier
2024-09-23 11:10:19 -04:00
github-actions[bot]andphamhieu 99a62b2f37 feat: update mgmt api docs (#29442)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-09-23 15:01:56 +00:00