Commit Graph

732 Commits

Author SHA1 Message Date
Charis
fb4fd01f0b fix docs nav dependency array (#20645) 2024-01-22 20:43:51 -05: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
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 雷神 Schaeff
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
Ariel Aharonson
6d121f1546 feat(dashboard): Add column-level privileges management (#13745)
* add privileges page

* fix

* fix: could have both global and column-specific privileges + is global per privilege

* Trigger Build

* load permissions data for current table only

* fix style for light theme

* add a guide to Privileges

* Update apps/docs/pages/guides/auth/column-level-security.mdx

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

* Update apps/docs/pages/guides/auth/column-level-security.mdx

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

* Update doc

* Update docs

* progress moving privileges to pg-meta

* split up column privileges and table privileges

* adds loading state to toggles

* Add feature flag, move from auth section to database section

* Cleanup

* Update meta store table lists, add header warnings, update docs

* Add alert if any columns have privilages

* Spelling

* fix api.d.ts

* fix link

* move to auth pages

* only show editable schemas

* limit roles

* auto select first table

* remove roles meta store

* inline toggling

* apply privileges all at once

* add preview and use new switch component

* fix spelling

* handle long column names

* warn users about losing changes when changing schemas/tables

* remove strange docs link

* fix feature preview after reload

* use shadcn select

* Update select.tsx

* Minor UX fixes

* Update toast

* Update feature preview image for cls

* update cls warnings

* update warnings

* fix toast message

* Add migration alert to preview page

* Add link to CLS from feature preview, and add empty state on CLS page if feature preview is not enabled

* Shift local storage keys hard code to lib/constants

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-10 17:39:03 +11:00
Charis
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
Clarence
432de2fc69 chore: clean up on empty className attributes (#20203)
clean up on empty className attrib

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-01-08 05:49:28 +00:00
Kevin Grüneberg
129b3d927a chore: move specs to docs folder (#20136) 2024-01-03 18:54:23 +01:00
Joel Lee
58de4a4f1b feat: add postgreSQL Hooks docs (#19310)
* feat: initial commit

* feat: add mfa verification hook

feat: update docs

fix: add section on writing own hook

feat: update guide

* feat: temp comit

* feat: update files

* feat: fix link

* fix: update copy

* Apply suggestions from code review

* feat: restructure content

* feat: subclass examples into accordions

* feat: reinstate  backticks

* Apply suggestions from code review

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>

* Apply suggestions from code review

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/pages/guides/auth/auth-postgres-hooks.mdx

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

* Update apps/docs/pages/guides/auth/auth-postgres-hooks.mdx

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

* Update apps/docs/pages/guides/auth/auth-postgres-hooks.mdx

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>

* Update apps/docs/pages/guides/auth/auth-postgres-hooks.mdx

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

* refactor: dump hooks into table

* refactor: restructure content

* refactor: change structure

* feat: add information about required claims

* feat: move claims into table

* feat: update structure

* feat: update with warning about jsonb operator

* Apply suggestions from code review

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

* feat: remove image of dashboard, address more comments

* feat: add additional plv8 and pg_net examples

* feat: swap out image, use 2 space tabs

* feat: format email requests

* Update apps/docs/pages/guides/auth/auth-postgres-hooks.mdx

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>

* docs: rewrite headers to active

* feat: add instructions on storing in vault

* Apply suggestions from code review

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>

* refactor: rephrase docs

* feat: drop headings

* chore: delete unused lines

* feat: address changes

* feat: rename fields

* feat: update example from testing

* fix: moinor owrding change

* Apply suggestions from code review

* Update apps/docs/pages/guides/auth/auth-hooks.mdx

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Update apps/docs/pages/guides/auth/auth-hooks.mdx

* Apply suggestions from code review

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>

* feat: make tabs active

* fix: remove unused files

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
2023-12-21 14:28:08 +00:00
Charis
4b1ade2e8d fix: improve information architecture (database) (#19847)
The REST and Database sections overlap in responsibilities, and the
Database subsections are getting quite long.

This clears up the responsibilities:

- Database operations belong primarily in `Database`
- Things that are specific to RESTful interactions (such as API keys)
  belong primarily in `REST API`
- `REST API` has a hub page that links out to `Database` for database
  operations

Left nav for the Database sectionis reorganized to make it more
beginner-friendly. `Fundamentals` and `Working with your database
(basics)` is what you really need to know to get started, and the rest
can be figured out later.
2023-12-19 13:08:12 +01:00
Francesco Sansalvadore
c8bb436ba7 Bernard (#19782)
Launch Week X - Day 5 Announcement
2023-12-15 16:45:26 +01:00
Inian
99fb3d9344 fly postgres docs (#19779) 2023-12-15 13:18:59 +00:00
Guilherme Souza
4ff8e11936 Add documentation for Swift v2 and update user management example to use Swift v2 (#19752) 2023-12-15 09:56:53 +08:00
Charis
7fdc3ce358 Revert "Feat/pdf file upload and extraction edge function example" (#19750)
Revert "Feat/pdf file upload and extraction edge function example (#15580)"

This reverts commit 62cdcf7149.
2023-12-14 18:46:48 +00:00
Adams Abdulhakeem
62cdcf7149 Feat/pdf file upload and extraction edge function example (#15580)
* feat: Feat/pdf file upload and extraction edge function example

* Added MDX file, slightly improvements on function code

* Added to the navbar, refactored into Deno.serve()

* Apply suggestions from code review

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Rodrigo Mansueli Nunes <rodrigo@mansueli.com>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2023-12-15 02:10:11 +08:00
Stojan Dimitrovski
d18bfcd5e3 docs: auth passwords page (#19490)
* docs: auth passwords page

* Add redirect from old url

* apply suggestion from @charislam

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: Kang Ming <kang.ming1996@gmail.com>
2023-12-14 00:21:57 -08:00
Kang Ming
cffbd0b21c docs: add user and identity management sections (#18767)
* docs: add user management section

* Update apps/docs/pages/guides/auth/auth-user-management.mdx

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

* Update apps/docs/pages/guides/auth/auth-user-management.mdx

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

* Update apps/docs/pages/guides/auth/auth-user-management.mdx

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

* docs: add identity linking guide

* Update apps/docs/pages/guides/auth/auth-identity-linking.mdx

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

* Update apps/docs/pages/guides/auth/auth-identity-linking.mdx

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

* Update apps/docs/pages/guides/auth/auth-identity-linking.mdx

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

* docs: update unlinkIdentity example

* docs: add js client lib references

---------

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-12 09:50:16 -08:00
Jan Tennert
e426517484 Update Kotlin docs for 2.0.0 (#18912)
* Rename gotrue to auth

* update columns

* rename gotrue to auth (again)

* improve postgrest docs

* add new modules

* rename logout

* Rename some more stuff

* Rename more stuff

* Rename guides

* Rename SSO docs

* Rename "phoneNumber" to "phone"

* rename some more stuff

* Add v2 docs

* Rename postgrest[..] to supabase.from(..)

* Migrate postgrest to new syntax

* Add explain, single & csv

* Rename storage

* Rename some more storage storage methods

* fix invalid docs

* fix duplicate id

* exclude sections for kotlin

* Rename password reset method

* Update tutorial

* Update realtime docs

* Update more realtime docs

* Update module docs

* add link to migration guide

* update installing

* document custom KotlinX Serializer

* update code to pass formatter

* Remove supabase.realtime.connect() docs

* fix typo

* update kotlin quick start guide

* add a note about making network request from the UI code

* run formatter

* add small kotlinx serialization change

* Apply suggestions from code review

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

* improve quickstart

---------

Co-authored-by: Tyler <18113850+dshukertjr@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-12 01:34:53 +09:00
Copple
e4578a3fe2 Docs/data apis (#19576)
* cleaning up data APIs and pooling

* Adds more GraphQL docs

* fix up "api"

* refine some more pooler language

* prettier

* update slug from dupe views to functions

---------

Co-authored-by: Oliver Rice <github@oliverrice.com>
2023-12-11 08:45:43 +01:00
Charis
9e56b3fb37 strengthen ctas on docs (#19114) 2023-12-08 14:58:37 -05:00
Tyler
c0cf4b114c docs: remove dart v0 and add dart v2 (#19269)
* remove dart v0 and add dart v2

* consolidate google and apple login docs to id token login

* add realtime ref docs

* adds auth update guide

* wrap up upgrade guide

* run prettier

* run prettier

* update presence methods

* udpate presence upgrade guide

* Apply suggestions from code review

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

* update is and in filter

* additional update after receving the review comments

* fix code formatting

* fix indents

* formatted the code

* update indentation

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-07 14:16:33 +09:00
James
7f773778d7 Add Roboflow to Third-Party Tools in AI & Vectors section (#19272)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-02 10:02:20 -05:00
Stojan Dimitrovski
4782f7955f docs: explain user sessions and session timeouts (#19128) 2023-11-21 18:52:33 +01:00
Nick Krantz
cfda583db9 fix: close mobile menu on click (#15588)
* chore: fix spelling of "libraries"

* fix: close nav when a ref navigation link on click

* fix: remove `!w-auto` from site layout when mobile menu is open

- The width change was causing a layout shift with the height of elements when the mobile menu would show and hide.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-20 12:35:10 -05:00
Thor 雷神 Schaeff
e9aea99af6 docs: Improve docs for joins and TypeScript (#19075)
* docs: joins and types docs.

* chore: changes from review.
2023-11-20 08:36:56 +00:00
Guilherme Souza
a2cd408ed2 docs: add getting started guide for Swift (#19044)
* docs: getting started guide for Swift

* Apply suggestions from code review

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

* Add new tutorial to menu

* Add correct image for tutorial

* style: format with-swift tutorial

* docs: add example to the repository

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2023-11-18 11:50:53 +00:00
Thor 雷神 Schaeff
ee18b5ac1f docs: add RN videos and discoverability improvements. (#18633)
* docs: add RN videos and discoverability improvements.

* Apply suggestions from code review

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* chore: run prettier.

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-11-18 05:42:33 +00:00
Copple
d2c51b1be9 Docs: Adds a page for enums (#18590)
* Adds a page for enums

* Adds some details on deleting values

* Update apps/docs/pages/guides/database/postgres/enums.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/postgres/enums.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/postgres/enums.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/postgres/enums.mdx

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

* removes dangerous operation

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-17 11:01:47 -05:00
Thor 雷神 Schaeff
ed9c4e67f1 feat: add react native auth blog and quickstart. (#19006)
* feat: add react native auth blog and quickstart.

* Grammarly check

* Minor edits.

* Added og image.

* chore: add password sign in and gif.

---------

Co-authored-by: Ramiro Nuñez Dosio <ramiro@supabase.io>
2023-11-16 19:06:50 +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
Monica Khoury
51ff9f826c Docs: New guide for importing large datasets (#18852)
* Adding a new guide for importing large datasets into Supabase

* Prettier

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Add new suggested changes

* Prettier

* Update apps/docs/pages/guides/database/large-datasets.mdx

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Fix indentation

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-16 12:53:28 +01:00
Thor 雷神 Schaeff
f14db85bfe expo push notifications guide and example. (#18952)
* feat: add push notifications example.

* feat: add push notifications guide.

* fix: remove trigger.

* chore: americanize.

* Apply suggestions from code review

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

* Apply suggestions from code review

* Apply suggestions from code review

* chore: run prettier.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-16 14:10:15 +08:00
Jonathan Summers-Muir
c222513546 [Docs] [Branching] Chore/branching docs (#18762)
* chore: initial branching docs added

* updated docs

* more changes

* Update tailwind.config.js

* Update branching.mdx

* Update tailwind.config.js

* more changes

* Update branching.mdx

* update images

* image refresh

* Delete example.jpg

* reword the top section

* Update branching.mdx

* image changeover

* Update next.config.mjs

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Apply suggestions from code review

* Apply suggestions from code review

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-15 12:19:19 +00:00
Shishiro
eb46d3c37b Sidemenu fixed for jwt (#18666)
Co-authored-by: shishiro <dheeravathshishiro@gmail.com>
Co-authored-by: Isaiah Hamilton <isaiah7hamilton@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-14 12:57:52 -05:00
Thor 雷神 Schaeff
d22e9c4e6f docs: passwordless auth docs improvements. (#18872)
* docs: passwordless auth docs improvements.

* fix: typo.

* Update apps/docs/pages/guides/auth/passwordless-login/auth-email-otp.mdx

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

* Update apps/docs/pages/guides/auth/passwordless-login/auth-email-otp.mdx

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

* Apply suggestions from code review

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

---------

Co-authored-by: Tyler <18113850+dshukertjr@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-14 12:46:30 +08:00
Tyler
1442e42b0a docs: update Kotlin docs to v1.0 (#18932)
* update kotlin docs version number to v1.0

* renaming client to supabase for the installing kotlin guide
2023-11-14 10:54:26 +08:00
Tyler
2538818bc6 docs: update version label of swift reference docs (#18931)
update version label of swift reference docs
2023-11-14 10:54:06 +08:00
Copple
fd230d657f Docs: explain() (#18886)
* direct copy from ChatGPT

* add new menu item, clean up items

* fix TOC video

* fix formatting from GPT

* Renaming the page - it should be more like a "job to be done" rather than "here is a specific function"

* re-ordering the sections - get people using it first, then teach them the details

* Adds the explain section to the docs
2023-11-13 16:58:05 +11:00
Guilherme Souza
fe7494f804 docs: update Swift docs for v1 release (#18682)
* docs: update auth section for Swift

* docs: fix wrong md for code section

* docs: update fetch data section for Swift

* docs: update insert data section docs for Swift

* docs: update using filter section

* docs: update modifier, filters and edge functions sections

* docs: update realtime section

* docs: update storage section

* docs: fix examples not building

* docs: add entry for rpc call with filters

* Update spec/supabase_swift_v1.yml

* Update spec/supabase_swift_v1.yml

---------

Co-authored-by: Tyler <18113850+dshukertjr@users.noreply.github.com>
2023-11-09 20:03:18 +09: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
Oliver Rice
9894a87bbb pg_cron docs: warn about scheduling system maintenance (#18754)
pg_cron warn about scheduling system maintenance
2023-11-07 06:56:29 +08:00
Copple
1e4e0254c5 docs: Edge Function docs (#18738)
* docs: Updating the Edge Function docs - making them more accessible

* fixing regional docs

* heading

* some integration guides

* cleans up the import maps guide

* cleans up the testing doc

* Actions

* cleaning up the error docs

* easier quick start

* fix spelling

* changing the page title

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

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

* Update apps/docs/pages/guides/functions/regional-invocation.mdx

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

* remove extraneous comma

* terry feedback

* Update apps/docs/pages/guides/functions/auth.mdx

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

* Update apps/docs/pages/guides/functions/auth.mdx

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

* 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>
2023-11-06 19:44:52 +00:00
Oliver Rice
b17459918f Move TCE info to pg_sodium extension (#18679)
* Move TCE info to pg_sodium extension

* typo: encryption

* use redirect system for tce docs
2023-11-04 21:35:38 +11:00
Lakshan Perera
24ae561baa chore(docs): remove global deployments guide (#18618) 2023-11-01 09:25:10 +00:00
Lakshan Perera
b8fafc524e feat(docs): Add guide for regional edge function invocation (#18617)
* feat(docs): Add guide for regional edge function invocation

* Update apps/docs/pages/guides/functions/regional-invocation.mdx

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* Update apps/docs/pages/guides/functions/regional-invocation.mdx

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* Update apps/docs/pages/guides/functions/regional-invocation.mdx

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* Update apps/docs/pages/guides/functions/regional-invocation.mdx

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-11-01 06:49:08 +11:00
Alaister Young
8057309e51 chore: upgrade next 13 + react 18 (#17839)
* update deps + image codemod (studio)

* update next links (studio)

* update deps

* update links (ui)

* remove next-transpile-modules

* move next-themes dependency

* chore: update ConfirmDialog

* chore: remove old ConfirmModal js file. migrated to TS

* dependency wrangling

* remove empty page

* update next links (www)

* First run bump react-data-grid-v7 beta 4

* fix package-lock.json

* more deps wrangling

* update recharts

* update sentry options

* fix some broken things in www

* studio fixes

* fix graphiql

* fix studio build

* fix menu hydration

* small build error

* update turbo

* fix www typescript errors

* docs image codemod

* links codemod docs

* fix docs typescript errors

* move useConsent to ui to prevent circular deps

* Fix links

* Fix homepage

* Fix links

* move studio/ to apps/

* Revert "move studio/ to apps/"

This reverts commit 1b0a985fcb.

* disable outputFileTracingRoot

* remove outputFileTracingRoot

* fix homepage product cards

* fix PrivacySettings links

* Fix links

* Fix the build for www.

* Minor fixes for JWTGenerator.

* Fix the docs and ui tests.

* Revert codehike back to 0.8.3

* remove ConfirmAlert()

* reenable babel because mobx hates me

* fix blog image and comparison page avatar

* Fix svg errors

* update image synthax

* Fix code hike

* Move the button in a div so that it doesn't inherit its parent height and make the button look weird.

* When components are defined in a component, they get recreated on each render. This makes them unstable in certain cases and causes infinite rerenders.

* Replace the next/head usage with next/script.

* Chore/upgrade next 13 fix table editor (#18431)

* fix table editor styling and fix row deletion logic

* Fix deleting selected rows from header, and fix checkboxes not clearing up

* Fix deleting all rows when filter applied, and fix deleting all rows

* Fix grid size styling issue

* Fix TS error

* Hydration errors

* studio org pages fixes

* fix more studio links

* audit logs fixes

* dropdown icon styling fixes

* fix some images in www

* upgrade to next 14

* try new sentry wrapper for api

* see if this is even invoked

* Revert "see if this is even invoked"

This reverts commit 86c3973ffa.

* Revert "try new sentry wrapper for api"

This reverts commit f67623ebad.

* Revert "upgrade to next 14"

This reverts commit a24dd6131e.

* chore: allow node version 19/20

* Try to fix the LogTable so that it renders with the newer "react-data-grid" version.

* Fix type errors in the log renderer code.

* Fix the replication screen.

* Add the CSS for the GraphiQL.

* Fix SQL editor results rendering

* Lint

* Fix SQL editor results height issue

* Fix auth RLS not invalidating RQ when toggling RLS

* Fix database tables new/edit column regressed

* Fix migrations page empty state if migrations schema not yet created

* Fix API side panel docs temp remove postgrest text for column description PK and FK

* Fix + improve timeout handling in SQL editor

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2023-10-31 05:51:46 +00:00
Jon Meyers
973b09284c Chore: update docs for new ssr package (#18455)
* update Next.js quickstart

* update docs to use ssr package

* update nav items to reflect new ssr pages

* add migration guide from auth-helpers to ssr

* add guides for astro and remix

* add new pages to sitemap.xml

* Update apps/docs/pages/guides/auth/server-side/overview.mdx

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

* Update apps/docs/pages/guides/auth/server-side/overview.mdx

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

* Update apps/docs/pages/guides/auth/server-side/creating-a-client.mdx

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

* Update apps/docs/pages/guides/auth/server-side/creating-a-client.mdx

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

* Add sveltekit example code

* Add another admonition for sveltekit

* Add express example

* Fix spelling mistake

* Run prettier to correct formatting

* fix createClient examples for Next.js

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Andrew Smith <a.smith@silentworks.co.uk>
2023-10-27 14:55:32 +11:00
Oliver Rice
f2508d2e82 Remove pg_repack from docs (#18476)
remove pg_repack from docs
2023-10-25 14:34:54 -05:00
Fabrizio
b1eafd3957 docs: Revamp storage docs (#18259)
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Fabrizio <fabri.feno@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
2023-10-24 23:46:55 +08:00