Commit Graph
1181 Commits
Author SHA1 Message Date
Greg RichardsonandCharis d551209e46 Docs: semantic search (#22116)
* docs: semantic search

* docs(ai): add search links in overview

* docs: wording improvements

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

* docs: more wording improvements

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-20 17:54:28 +00:00
Jonathan Summers-Muir a4a4a7e26d Deprecate old Badge component (#22037)
* Update Badge.tsx

* refactor apps with new props

* Update APIKeys.tsx

* format

* remove old code
2024-03-19 10:33:12 +01:00
Charis 36afa653b3 chore: temporarily turn off docs feedback comments (#22049) 2024-03-18 12:48:32 +07: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
990148ebe0 feat(docs): serverless drivers. (#21994)
* feat(docs): serverless drivers.

* Apply suggestions from code review

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
2024-03-15 12:30:50 +00:00
c8d8e089b5 Docs: Hybrid search (#21955)
* docs: hybrid search

* fix: missing single quote in curl example

* fix: indent using spaces

* fix: link to reference docs

* fix: text spacing and line breaks

* docs: cap match_count to 30

Co-authored-by: Oliver Rice <github@oliverrice.com>

* docs: change 'in order to' to 'to'

* fix: change katex markup to double dollar sign

* docs: remove reference to reciprocal rank

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

* docs: remove note on what search means in postgres

---------

Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-13 12:14:22 -06:00
Charis 3124f3dad7 feat: add docs feedback widget (#21131)
Add a docs feedback widget to allow upvoting and downvoting pages.

Votes (completely anonymized, barely more than a counter) go to a database in the main supabase-com project. If the user has accepted telemetry, the votes also go to Logflare with a bit more info. Post-vote, logged-in users can leave a comment, which goes to the `platform/feedback/send` endpoint. There is a warning in the feedback modal that the feedback is not anonymous.
2024-03-11 20:28:25 -04:00
hawkcookieandCharis a97ffe6bda [DOCS] Fix text color in each Self-Hosting section is the same as the background (#21899)
fix wrong styling text color

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-11 18:14:37 +00:00
Jonathan Summers-Muir 07a6c5ab4e Chore/move cmdk (#21936)
* init

* fix build issues

* move deps over

* Update CommandMenuWrapper.tsx

* build fixes

* Update sitemap_www.xml

* reset

* Update sitemap_www.xml

* Update tsconfig.json

* Update package.json

* Update package.json

* Update package-lock.json

* Update package.json
2024-03-11 18:31:23 +08:00
Francesco Sansalvadore 827b01c37a improve hp perf on safari (#21845)
optimize www homepage performance
2024-03-08 11:00:45 +01:00
Han Qiao e10dd0cf2f fix: update docs api to match studio (#21862)
* fix: update branch docs to match latest api

* fix: type errors
2024-03-08 11:44:34 +08:00
14ca7b6ed9 docs: add sentry integration docs (#21439)
* docs: add sentry integration docs

* feat: add sentry edge functions monitoring guide.

* feat: add sentry functions example.

* fix: navbar.

* chore: nits.

* chore: add to functions example list.

* fix: formatting.

* chore: add nextjs example.

* fix: rename sentry guide

* remove configuration options

* Apply suggestions from code review

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>

---------

Co-authored-by: thorwebdev <thor@supabase.io>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
2024-03-06 14:50:03 +00:00
Tyler e6eaddbb54 docs: Removes overrideParams from the docs code (#21797)
Removes overrideParams from the docs code
2024-03-06 14:42:10 +09:00
Rodrigo Mansueli cb4ee4c6a0 feat: add edge functions headers page (#21784)
* feat: add edge functions headers page

* Update functions-headers.mdx
2024-03-05 14:44:43 -03:00
Tyler 64863f407f docs: Add params option to reference docs so that non-js client libs can add parameters (#21708)
* Adds params option for reference docs

* move params below description

* Apply suggestions from code review

* Update apps/docs/spec/supabase_dart_v2.yml
2024-03-05 15:06:07 +09:00
Minh AuandCharis 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
Madhav BansalandCharis 70c118df90 Guide to Setting Up TextLocal as Your Phone Login Provider (#21499)
* Add TextLocal SMS Login to NavigationMenu.constants.ts and create guide for Phone Auth with TextLocal

* Fix typo in Textlocal SMS Login

* Update Textlocal integration and documentation for DLT compliance.

* Addressed comments

* Update Textlocal SMS Login name

* Update Textlocal SMS Login name to 'Textlocal SMS Login (Community Supported)'

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 01:11:57 +00:00
Thor 雷神 SchaeffandCharis 7ce6958030 feat: add rbac claim auth hook. (#21263)
* feat: add rbac claim auth hook.

* feat: get user role from jwt.

* chore: update full-schema.

* feat: add RBAC guide.

* feat: use plpgsql.

* Apply suggestions from code review

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

* chore: make top level claim.

* chore: set search_paths.

* chore: accessing custom claims.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-04 14:24:32 +00:00
CharisandHan Qiao 538fb7ee0c docs: add federated terraform docs (#21307)
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-03-02 03:17:50 +00:00
Charis e444d337f1 chore: remove ipv4 deprecation banners (#21589) 2024-02-27 14:38:41 +08:00
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
754ee55cd0 chore: update themes and add dark-new theme set (#20865)
* chore: update themes and add dark-new theme set

* chore: update

* add deep dark css theme

* fix issue with wrong class

* chore: add `bg-studio` as a custom remapped color for studio background

* updated surface classes to use a surface-75.

* update backgrounds and borders

* Update CardButton.tsx

* Update NavigationIconButton.tsx

* chore: add theme selection

* Update package.json

* Update index.ts

* Update package.json

* update alias

* Update ThemeSettings.tsx

* chore: split up theme support

* remove old code

* Update index.ts

* add back in

* Update ThemeSettingsOld.tsx

* fix issue with system theme leaking through

* reset themes

* update imports

* packagelock updated

* Update ThemeSettingsWithPreferredTheme.tsx

* Update system.svg

* Update NavigationIconButton.tsx

* Update NavigationBar.tsx

* update

* Update light.css

* updated some colors

* light mode updated

* hacked

* prettier

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-02-15 16:56:18 +01:00
Abishya 718fead2e5 New billing FAQ documentation (#21258)
* New billing FAQ documentation

This documentation covers frequently asked questions around subscription plans, payments, invoices and billing in general.

* Corrected the misspellings (replacing 'z' with 's').
2024-02-15 10:52:12 +08:00
Charis 42723d8232 refactor: move ai, realtime, functions, remaining auth docs to content directory (#21259) 2024-02-14 17:39:05 +00:00
Ivan VasilovandTerry Sutton 5754c23abb feat: Move some components into ui-patterns (#20774)
* Change all imports in the ui package which import via the @ui shortcut.

* Add a new ui-patterns package. Add it to all apps.

* Migrate PrivacySettings from ui to ui-patterns.

* Migrate ConsentToast from ui to ui-patterns.

* Remove providers folder from ui package.

* Move GlassPanel.

* Migrate IconPanel.

* Migrate TweetCard.

* Migrate ThemeImage.

* Remove LWXCountdownBanner.

* Migrate CountdownWidget.

* Migrate SchemaTableNode.

* Migrate ExpandableVideo.

* Migrate ThemeToggle.

* Fix bunch of imports in the docs app.

* Revert some unnecessary changes.

* Expand the README.md.

* Fix the tailwind configs, they were using old folder structure.

* Fix leftover merge conflicts.

* Remove a deleted page in master.

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-02-12 12:44:00 +01:00
Charis 8a3201de35 fix: unescaped double quotes in combobox search (#21161)
Combobox also uses `cmdk` under the hood, which in the last update seems
to have changed the way it creates the query selector, so double quotes
now need to be escaped.
2024-02-09 15:27:09 -05:00
3ebb8ee747 Add docs for unsupported operations and replication (#20896)
* add docs for unsupported operations and replication

* ci: Autofix updates from GitHub workflow

* Update NavigationMenu.constants.ts

Co-authored-by: Bobbie Soedirgo <bobbie@soedirgo.dev>

* Update apps/docs/pages/guides/database/postgres/roles-superuser.mdx

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

* Update apps/docs/pages/guides/database/postgres/setup-replication-external.mdx

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

* Update apps/docs/pages/guides/database/postgres/roles-superuser.mdx

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

* Update apps/docs/pages/guides/database/postgres/setup-replication-external.mdx

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

* Update apps/docs/pages/guides/database/postgres/setup-replication-external.mdx

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

* Update apps/docs/pages/guides/database/postgres/setup-replication-external.mdx

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

* Update apps/docs/pages/guides/database/postgres/setup-replication-external.mdx

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

* Update apps/docs/pages/guides/database/postgres/setup-replication-external.mdx

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

* Update apps/docs/pages/guides/database/postgres/setup-replication-external.mdx

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

* address review comments

---------

Co-authored-by: github-tidy-bot <github-tidy-bot@supabase.com>
Co-authored-by: Bobbie Soedirgo <bobbie@soedirgo.dev>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-09 11:24:09 +00:00
Charis e20038e2f2 refactor: move auth guides into content directory (#20777)
Begin the process of moving our MDX files into their own content directory.

Fixed a few minor bugs re: ToC and tabs not rerendering consistently on page navigation. (The ToC thing wasn't a problem before the refactor, the tabs thing is a problem on prod.)

Moved MDX files can't import their own components, so everything they require needs to be back in the component prop for mdx-remote's serializer. Cleaned this up a bit and lazy-loaded heavy/rare stuff. Also, the component prop doesn't take arbitrary objects (only actual components), so imported data has to be wrapped in a component.
2024-02-07 17:25:08 +00:00
Kevin Grüneberg f7e60bf324 chore: upgrade prettier/eslint + autofix (#20785) 2024-01-30 10:54:02 +08:00
Charis fee05a03b9 docs: add server-side auth guide for nextjs (#20559) 2024-01-25 19:11:13 +00:00
Charis 2ee8fb8c41 fix: screen reader accessibility of homepage (#20654) 2024-01-23 16:04:44 +00:00
4fb6390303 chore: update edge functions ci/cd guide (#20652)
* chore: update edge functions ci/cd guide

* Apply suggestions from code review

* chore: run prettier

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Qiao Han <qiao@supabase.io>
2024-01-24 01:45:08 +11:00
Francesco Sansalvadore 83db476a17 ipv4 banners (#20666)
add ipv4 deprecation banner in www
2024-01-23 14:12:08 +01:00
Inian ae6fd68cee ipv4 addon docs (#20659)
* ipv4 addon docs

* review suggestions
2024-01-23 09:03:06 +00:00
Charis ef643f12dd make docs ipv4 banner non-dismissable (#20651) 2024-01-23 15:32:53 +11:00
Charis fb4fd01f0b fix docs nav dependency array (#20645) 2024-01-22 20:43:51 -05:00
Charis 06de0e23a0 add ipv4 deprecation banner to docs (#20641) 2024-01-23 11:08:43 +11:00
Charis 01c8c9e165 feat: add admonition about ipv6 (#20639) 2024-01-23 10:08:20 +11:00
Charis 2a0c0e06b8 readd docs api config variables with fixes (#20309) 2024-01-23 07:53:10 +11:00
Lakshan Perera 6912865aa6 chore: added a guide for edge functions routing (#20616) 2024-01-23 03:46:13 +11:00
ClarenceandCharis 40441af6f1 chore(docs): Fix key prop error in RefFunctionSection component (#20418)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-15 19:51:40 +00:00
egorandCharis fb30063d41 docs: add form to estimate realtime throughput (#20260)
* docs: add form to estimate realtime throughput

* fix: compute select resetting rls and filters

* fix: typos

* docs: info on compute impact on realtime streaming

* docs: add 200k realtime test results

* docs: fix realtime single thread processing desc

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

* docs: fix copy for realtime throughput estimation

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

* fix: review comments and add collapsed table view

* fix: change concurrency to connected clients

* docs: add rt 100k test results

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-15 14:24:47 +04:00
Clarence 4a0702110c chore: added missing key prop (#20403) 2024-01-13 18:59:58 +00:00
ClarenceandCharis c9ad03e4ac chore(docs): added missing key prop in CliCommandSection component (#20384)
docs: added missing key prop in CliCommandSection component

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-12 19:47:24 +00:00
ClarenceandCharis 974c534e4b chore(docs:) added missing key prop in CliGlobalFlagsHandler component (#20385)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-12 19:46:12 +00:00
Clarence aaaa7272fc docs: Add missing key prop in Footer component (#20361)
* docs: Add missing key pro in Footer component

* formatted the code
2024-01-12 00:59:09 +00: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