Commit Graph
5482 Commits
Author SHA1 Message Date
Joshen Lim ee1007dc24 Add telemetry page leave for www and docs (#29914)
* Add telemetry page leave for www and docs

* Feex
2024-10-16 18:37:59 +08:00
Wen Bo Xie fb2f7e2d43 fix: fully qualify table in send email auth hook (#29906) 2024-10-16 09:54:30 +02:00
Joshen Lim ed207751ad Update telemetry calls for docs to support PH (#29749)
* Update telemetry calls for docs to support PH

* Update telemetry calls for www to support PH

* Add ts ignore

* Remove use of useRouter for docs

* Add credentials include for www and docs for telemetry calls

* Update TELEMETRY_CONSENT in common for www and docs to reset telemetry opt in preference

* Update common telemetry to use new endpoint and payload, and trigger reset request when opting out of telemetry from ui patterns PrigacySettings

* Fix

* Fix

* Fix

* Fix build issue in docs

* Fix build issue in docs

* I hope this fixes the build issues

* once more...

* Fix

* Add credentials include

* Fix
2024-10-16 15:16:33 +08:00
Ivan Vasilov c506934a1b chore: Add Ivan to humans.txt (#29902)
Update humans.txt
2024-10-16 11:09:13 +08:00
Julien Goux b303834079 docs: remove create an organization recommendation in supabase integration (#29898) 2024-10-15 14:42:22 +02:00
sayil bec7841684 Update humans.txt (#29885) 2024-10-15 08:59:00 +00:00
Joel Lee b6f1e1bd78 fix: change to return jsonb (#29887) 2024-10-14 18:18:11 -04:00
t6t d7bfa10789 Docs // Typo fix // seeding-your-database.mdx (#29822)
Typo fix // Update seeding-your-database.mdx
2024-10-11 18:26:47 +00:00
Jan Tennert 51fa38988e docs: Update Kotlin OTP link verification docs (#29839)
Update OTP link verification section
2024-10-11 16:24:10 +00:00
Etienne Stalmans f357aa0859 chore: remove bruno from humans.txt (#29845) 2024-10-11 18:15:35 +02:00
Charis 1236406e88 fix(docs): ref scroll (#29819)
Fix various scrolling bugs with reference pages:

- Take out smooth scrolling as it tends to lead to buggy scrolling position
- Add overscroll-behavior: contain to the nav, otherwise overscrolling on the nav scrolls the main page, which causes the nav to jump around unexpectedly
- Put aria-current calculation in useEffect as otherwise it doesn't trigger properly on first load
2024-10-11 15:51:51 +00:00
Charis c8ed6e4cc1 feat(db, docs): prep to sync troubleshooting entries to github (#29824)
Add JSON schema validation for troubleshooting entries, and add columns for storing GitHub discussion metadata.

Also some minor UI tweaks for troubleshooting display.
2024-10-11 11:02:00 -04:00
Tyler Fontaine f92d99b3c9 update GUC links to official postgres docs (#29801)
* update GUC links to official postgres docs

* fix copy/paste errors
2024-10-10 10:52:42 -05:00
Charis d7db8412a5 chore(feedback): reroute notion feedback to teams (#29400)
With the new docs IA and some recent team restructuring, the docs
section-to-Notion team mapping needs to be updated.

Do not merge before the new IA is merged.
2024-10-09 12:47:40 -04:00
Charis 41d924b074 feat: new docs ia (#29364)
New Docs IA, mainly splitting up the miscellaneous bucket that is Platform into multiple sections
2024-10-09 12:38:34 -04:00
Oliver RiceandCharis bfa1af247f Document how to restore a project backup locally (#29674)
* document how to restore a project backup locally

* fix spelling error

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

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

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

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

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

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

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

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

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

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

* Update apps/docs/content/guides/platform/migrating-and-upgrading-projects.mdx

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

* show where to get image version

* prettier

* resolve feedback on back restore doc

* document purpose of local restore. note storage objects download

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-10-09 13:32:12 +00:00
Artur Zakirov be6bf76ffa Fix a typo in utils/supabase/server.js (#29781)
It seems that `utils/supabase/server.js` is not a valid JS code.
Specifically it has non-null assertion operator. Remove the operator to
make the code valid.
2024-10-09 12:05:00 +02:00
Joshen Lim 336d623910 Chore/refactor telemetry calls for dashboard to support PH (#29747)
* Refactor telemetry event into RQ hook, and update to support PH

* Refactor telemetry identify into RQ hook, and update to support PH

* Refactor telemetry page into RQ hook, and update to support PH

* Clean up and deprecate lib/telemetry

* Pretty

* Add ts-ignore in docs for telemetry calls temporarily

* Add credentials include for send event, page and identify mutation hooks

* Add consent check for event and page telemetry, allow RQ mutations for those to fail silently without a toast
2024-10-09 14:32:30 +08:00
TheOtherBrian1 d8717224f9 Update custom-postgres-config.mdx | fixed links (#29690) 2024-10-08 18:24:25 -04:00
Enzo 2ca63953d6 Include "to authenticated" in example rls policies (#29761)
"To Authenticated"

Update custom-claims-and-role-based-access-control-rbac.mdx and added "to authenticated" in the rls policy which only allows logged in users to query instead of non logged in users as per "Specify roles in your policies" found here supabase.com/docs/guides/database/postgres/row-level-security#specify-roles-in-your-policies
2024-10-08 22:22:10 +00:00
TheOtherBrian1 4da7d9563f Update prisma.mdx | rewrite links (#29699) 2024-10-08 18:17:13 -04:00
Wen Bo Xie a7a75416fd fix: update Developer project permissions (#29758) 2024-10-08 17:41:45 -04:00
Axole Maranjana 5becfc1b4c Update auth-google.mdx: update the userInfo object (#29705)
Update auth-google.mdx
2024-10-08 21:00:13 +00:00
github-actions[bot]andphamhieu 55bdda2401 feat: update mgmt api docs (#29708)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-10-08 20:58:24 +00:00
Joel Lee 6c42d303d0 feat: add section about multi-tenant sso (#29514)
* feat: add section about multi-tenant sso

* fix: expand AD to active directory
2024-10-08 15:02:09 +02:00
Andrew Valleteau 4bad8499ae feat: introduce _supabase database add supavisor to self-hosted (#29596)
* chore: move _analytics to a distinct database

Following: https://github.com/supabase/cli/pull/2707

BREAKING CHANGES:
When migrating from an older version you will need to manually create the new internal _supabase
database and analytics schema the same way the  and  do.
Via:

* feat: add supavisor to the self-hosted stack

* chore(docs): add docs about supavisor

* chore: fix reviewdog warning

* chore: fix typo

* chore: apply pr comments
2024-10-08 13:49:09 +02:00
Kevin Grüneberg a77a4c5b35 chore: kaizen changes for disk size billing (#29720) 2024-10-07 21:02:24 +08:00
Andrew ValleteauandHan Qiao 1c9af2eeed chore(docs): add custom seed paths documentation (#29512)
* chore: document new seeding behaviour

* chore: fix prettier in code examples

* chore: apply suggestions from code review

Co-authored-by: Han Qiao <sweatybridge@gmail.com>

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-10-07 14:52:32 +02:00
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