Commit Graph
58 Commits
Author SHA1 Message Date
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
Charis b0b8b6b6e3 refactor: finish moving mdx to content directory (#21321) 2024-02-16 13:43:02 -05: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 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
Charis 2a0c0e06b8 readd docs api config variables with fixes (#20309) 2024-01-23 07:53:10 +11: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
CharisandJoshen Lim 0e8ee2e890 feat: display api urls and keys instead of placeholders in docs (#19672)
**feat:** adds a component to display API endpoints and anon keys in docs if user is authenticated
makes the getting started UX smoother so users don't have to jump back and forth between docs and trying to find their keys in dashboard

**out of scope:** it would be very cool to display these directly in the code blocks. I looked into it and it would require quite a bit of work forking and modifying code-hike, so out of scope for now

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-09 15:00:31 -05:00
Kevin Grüneberg 3909239961 chore: further reduce docs bundle size (#19927) 2023-12-21 08:43:09 +01:00
Kevin Grüneberg d4b0d58d2e chore: reduce main docs app bundle size (#19926)
chore: reduce main app bundle size
2023-12-20 23:24:13 +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
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
Greg Richardson 31c51672df feat(docs): add hoverable anchor links to h4 tags (#18702) 2023-11-03 15:37:36 +00:00
Rodrigo Martins MansueliandGreg Richardson 68d67ef0d5 feat: add-generic migration guides (#18182)
* feat: add-generic migration guides

* warning component

* Update apps/docs/pages/guides/resources.mdx

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

* Update apps/docs/pages/guides/resources/migrating-to-supabase/postgres.mdx

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

* Update apps/docs/pages/guides/resources/migrating-to-supabase/mssql.mdx

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

* copy

* Consistency across links

* Icon fix

* Prettier

* Fix import

* docs: fix h2 heading

* docs: fix h2 heading

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2023-10-19 09:04:19 -03:00
Oliver RiceandGreg Richardson 3fe7613b42 Expand Serverless APIs to REST + GraphQL (#17654)
* graphql section

* fix(federation): markdown image links

* feat(federation): support mkdocs admonition title

* feat(federation): remark pymdown tab support

* fix codehike path

* graphql icon renders

* replace serverless-apis with REST

* run prettier

* update serverless apis ref

* remove GraphQL and Realtime references from REST docs

* move realtime example to realtime overview section

* new section for apis

* prettier

* product label

* move realtime back to products

* feat: graphql nav menu + simplified path

* chore: remove console log

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2023-09-25 15:17:31 -06:00
Thor 雷神 Schaeff d63c295eb5 Merge pull request #14571 from hieuwu/hi/kotlin-starter-guide
Introduce guidelines to setup Supabase with Android Kotlin including sample with Jetpack Compose
2023-07-24 11:49:55 +08:00
Ivan Vasilov 28e36d0ddb Move the Admonition component to the ui package. 2023-07-20 22:57:08 +02:00
Andrew Smith 50525b928f Remove the FAQs section for Auth Helpers 2023-07-18 12:33:35 +00:00
Andrew Smith 9efa18be53 Add frequently asked questions to the auth helpers 2023-07-16 13:06:36 +00:00
Hieu Vu f6d435a3d8 docs: revert unrelated change 2023-06-08 22:45:09 +07:00
Hieu Vu e839bd08cd docs: update version and reformat code 2023-06-08 22:42:40 +07:00
Hieu Vu 82b60eec47 Merge branch 'master' into hi/kotlin-starter-guide 2023-06-08 22:01:45 +07:00
Hieu Vu 47ed8ef1bf docs: provide kotlin project setup component 2023-06-07 22:05:04 +07:00
Greg Richardson b8df7d7c2b feat(docs): code hike 2023-06-04 15:15:58 -06:00
Copple 21d835e2dd Adds a few more quickstarts with Colab links 2023-05-30 15:40:48 -06:00
Jan Tennert 3a7bb61d81 Add missing documentation, fix kotlin logo in light mode 2023-05-10 20:25:21 +02:00
Terry Sutton cefd1a9126 Update icons, for Marijana, at last. At long, long last. 2023-05-05 17:21:53 -02:30
Greg Richardson 64d83c8f2e refactor: move CodeBlock component to ui package 2023-03-24 15:11:12 -06:00
Terry Sutton 64814d4427 Add codehike steps 2023-03-16 12:00:39 +08:00
tvogel 89a6b19451 Add section about storage management
This section fixes the quick-start project such that uploaded avatar
images are not leaked and are cleaned up on user deletion, too.

For a newbie such as me, such information would have been super helpful to
get kicked off with consistent database/storage management.
2023-01-25 13:17:21 +01:00
Terry Sutton 36a38106a1 Add a readme describing how docs work, misc required cleanup 2023-01-06 10:21:46 -03:30
Andrew Smith 0d09831b8b Update social login guides
Add the correct steps for the Supabase Dashboard
2022-12-29 23:13:47 +00:00
Jonathan Summers-Muir dc7e615e41 chore: use next/image for images in articles 2022-12-20 11:22:36 +08:00
Jonathan Summers-Muir 90245cd58a add initialzing to list of common functions 2022-12-16 16:57:47 +08:00
Jonathan Summers-Muir 95a5ba25e0 Update index.tsx 2022-12-14 16:16:49 +08:00
Jonathan Summers-Muir 6afc1cc4ec add global flags 2022-12-14 16:16:16 +08:00
Jonathan Summers-Muir 09e16db420 remove codehike completely 2022-12-11 15:04:44 +08:00
Jonathan Summers-Muir 84a4856097 fix code block issue 2022-12-11 03:25:02 +08:00
Jonathan Summers-Muir 73bc0ea60b more fixes 2022-12-11 02:07:52 +08:00
Jonathan Summers-Muir 752c738419 some fixes 2022-12-09 22:53:03 +08:00
Jonathan Summers-Muir 40cf870a93 fix build 2022-12-09 20:28:14 +08:00
Jonathan Summers-Muir e794722baa removed codehike from ref docs 2022-12-09 20:02:25 +08:00
Jonathan Summers-Muir db7870d21f fix images 2022-12-08 14:27:28 +08:00
Jonathan Summers-Muir 18aed465b9 formatting of first intro docs for supabase v2 2022-12-08 14:14:57 +08:00
Jonathan Summers-Muir b0e7287475 add codehike to markdown in ref docs 2022-12-08 13:18:19 +08:00
Jonathan Summers-Muir bf20dd38cc fix builds 2022-12-08 11:17:12 +08:00
Terry Sutton 6d39c1ad94 Move common lib spec to json 2022-12-06 15:09:49 -03:30
Terry Sutton 4ce05f606f Merge branch 'master' into feat/docs2.0 2022-11-22 12:24:21 -03:30
Jonathan Summers-Muir 6c4bca8f0e started prepping for old vs new docs setup 2022-11-21 16:05:03 +08:00