Commit Graph

80 Commits

Author SHA1 Message Date
Charis 2fb8b9f74c feat(docs): ai prompts section (#30342)
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-11-26 13:43:04 -05: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
Charis 837e314088 feat(docs): add visual contributing guide (#28214)
Add a contributing guide to docs, which links to resources for contributors
and includes examples of usable components when writing docs content.
2024-07-26 15:54:20 -04:00
Charis f4779d4844 refactor: migrate guides to app router (#23101)
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00
Francesco Sansalvadore 4feabb2f8b update docs ogs (#27210)
* update docs og img layout

* refactor

* update docs og image icon

* center icon and title vertically

* use svg supabase logo
2024-06-14 14:47:52 +02:00
Charis ec86bbc4fe feat: new auth ia (#22812)
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-05-07 20:15:06 +00:00
Charis 1d52dfacde feat: federated docs for linter (#22472)
* feat: federated docs for linter

* style: clean up

* fix: toc and link rewrite

* fix: remove console logs
2024-04-04 13:35:31 -04:00
Jonathan Summers-Muir a32fe646ca chore: add more opengraph to docs (#22103)
Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-03-19 14:56:46 +07:00
Greg Richardson 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
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
Ivan Vasilov 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
Youssef Bentaleb efd45d7dc6 🐞 fix: edit page link on wrapper broken 404 (#18700)
* 🐞 fix: edit page link on wrapper broken 404

* Update apps/docs/layouts/guides/index.tsx

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

---------

Co-authored-by: Chris Gwilliams <517923+encima@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-25 16:01:28 +00:00
Francesco Sansalvadore 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 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
Francesco Sansalvadore b91532f6c7 Migrate to styling tokens (#18314)
* migrate some www components to tokens

* consolidate InteractiveShimmerCard to Panel component

* update tokens in blog

* update tokens in careers page

* update tokens in customers section

* update tokens in open-source section

* update tokens in Realtime page

* update tokens in Storage and Vector

* update tokens in SplitCodeBlockCarousel

* update tokens in PGCharts

* remove unused css files

* update tokens in Card

* update tokens in Pricing page

* clean up priving page imports

* remove hardcoded theme vars

* migrate first half of defaultTheme.ts to tokens

* migrate second half of defaultTheme.ts to tokens

* improve inputs

* add foreground to text-light and text-lighter

* add foreground to text-light and text-lighter

* migrate docs components with styling tokens

* migrate docs components with styling tokens

* fix broken Repos component

* fix broken classes in blog

* update tokens on Button and other components

* update tokens on IconPanel

* update studio main layout base styling tokens

* update tokens across studio, docs and www

* update tokens across studio, docs and www

* update ui/Panel to styling tokens

* update ExampleProject and TableEditorMenu tokens

* www vector page tokens

* update studio UI tokens

* update other studio UI tokens

* update more studio UI tokens

* change tokens here, change tokens there

* finish updating colors with tokens variables

* add gui sandbox for theme experimentation

* use common package for www, docs and studio and fix Command K tokens

* provide light mode default tokens options

* fix conflict leftover

* update loading line

* fix className typo

* fix prettier

* update themeSandbox preset default values

* fix text-background0

* prettier

* update warningBanner with warning color

* switch all border-border with border-default

* improve border-secondary and foreground-muted in light mode

* force ring color on toggle

* fix button bg color and border-muted light token

* fix input bg color

* fix dark button hover

* fix homepage product card

* fix code-hike table header colors

* button dark border

* remove tabIndex leftover from homepage main ctas

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-07 03:40:53 +00:00
Greg Richardson c743800909 docs: update edge function url format 2023-09-19 15:34:41 -06:00
Copple 898b36abd1 docs: storage cleanup 2023-08-24 16:21:09 +02:00
Copple f8e4420929 A lot more docs 2023-08-22 21:30:30 +02:00
Jonathan Summers-Muir ab46d23d58 chore: update brand-900 to brand 2023-07-30 16:58:54 +08:00
Ivan Vasilov f05580fe95 Add expandable video on the side to the integration page. 2023-07-24 10:27:20 +02:00
Isaiah Hamilton 7d30d90f49 fix: Edit this page on GitHub link width 2023-06-14 22:05:37 -04:00
Andy Kenward 8d4e64c7c3 fix: use anchor instead of Link for external href 2023-05-16 13:24:08 +00:00
Francesco Sansalvadore c0d0c7452f chore: update import 2023-05-12 18:05:43 +02:00
Francesco Sansalvadore 47fb187034 docs: fix guides layout 2023-05-12 17:58:40 +02:00
Francesco Sansalvadore 6d422123ff cleanup 2023-05-12 11:30:30 +02:00
Francesco Sansalvadore 693305ee95 fix merge conflict 2023-05-12 11:26:52 +02:00
Francesco Sansalvadore f027427f6e Merge branch 'master' into fs/docs-homepage 2023-05-12 11:15:32 +02:00
Francesco Sansalvadore 6141b1bac3 Update apps/docs/layouts/guides/index.tsx
Co-authored-by: Greg Richardson <greg@supabase.io>
2023-05-12 11:09:49 +02:00
Terry Sutton 76e2986e1f Update stroke colours 2023-05-11 16:10:00 -02:30
Francesco Sansalvadore baf187d320 chore: docs homepage content 2023-05-11 16:08:37 +02:00
Francesco Sansalvadore 997cfd225d Merge branch 'master' into fs/docs-homepage 2023-05-11 14:59:09 +02:00
Francesco Sansalvadore 1657804c08 chore: add new docs homepage hero 2023-05-10 16:18:17 +02:00
Francesco Sansalvadore 946c3bb1aa chore: move ExpandableVideo to ui packages 2023-05-10 10:50:23 +02:00
Francesco Sansalvadore 7907172d3c chore: use modal for expanded video 2023-05-10 10:24:31 +02:00
Francesco Sansalvadore e75fe11b91 feat: add featured video in docs table of content 2023-05-08 20:02:37 +02:00
Isaiah Hamilton 0d022a191e run prettier 2023-03-20 16:23:06 -04:00
Isaiah Hamilton 1717101272 fix: og image link 2023-03-20 16:20:30 -04:00
Isaiah Hamilton 8838800e29 run prettier 2023-03-07 21:27:47 -05:00
Isaiah Hamilton aebbdf33d2 fix: encodeURIComponent 2023-03-07 21:26:08 -05:00
Isaiah Hamilton 1c25a4e2fc run prettier 2023-03-02 17:31:01 -05:00
Isaiah Hamilton 50fa4d7278 update types 2023-03-02 17:30:03 -05:00
Jonathan Summers-Muir e67b0d187b Update index.tsx 2023-02-24 15:39:33 +08:00
Jonathan Summers-Muir dee23e6556 fix more issue 2023-02-24 15:39:00 +08:00
Jonathan Summers-Muir 8d25c82699 capitalize type of page for og image 2023-02-24 15:21:41 +08:00
Jonathan Summers-Muir 766eaf4ea7 fix homepage 2023-02-24 15:06:06 +08:00
Jonathan Summers-Muir af7bdc123c Update index.tsx 2023-02-24 14:59:08 +08:00
Jonathan Summers-Muir 342697ab4d fix: issue with NextSeo not adding <title> tag in correctly. fixed up homepage meta data 2023-02-24 14:47:46 +08:00