Commit Graph
2207 Commits
Author SHA1 Message Date
0f71a2a2cf Trinity (#19671)
* set up d3

* fix image

* fix some legacy image props

* update title

* countdown

* change label

* add blog post

* quick fixes

* update video id

* update blob link

* fix typo

* add post images

* halfway

* prettier

* final edits

* Add LWX links.

* prettier

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Ramiro Nuñez Dosio <ramiro@supabase.io>
2023-12-13 16:53:33 +01:00
Francesco Sansalvadore dabb62e1e0 Build 3 (#19663)
* add build stage items

* clean up keys

* remove duplicate post file

* add redirect in case the wrong link go picked up somewhere

* use correct link
2023-12-13 13:26:15 +01:00
PrasadandCharis Lam f27bcb808e Added missing shared data dependency in docs & reactflow in ui (#19592)
* Added missing shared data dependency in docs & reactflow in ui

* alphabetize packages

* update package-lock.json

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2023-12-12 20:23:11 +00:00
1fc96d5a92 HAL (#19636)
* add day 2 content setup

* update announcements

* change song

* hero banner

* change highlighted day 2 keywords

* feat: added edge functions blog post (#19625)

* feat: added edge functions blog post

* grammar

* apostrophes

---------

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

* update authors

* update blog link

* add blog post to dev menu

* add blog assets

* Small edits and internal linking.

* update video id

* add demo

* update iframe synthax

* Retroactive internal linking.

* fix blog copy

* prettifly

---------

Co-authored-by: Lakshan Perera <lakshan@supabase.io>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Inian <inian1234@gmail.com>
Co-authored-by: Ramiro Nuñez Dosio <ramiro@supabase.io>
2023-12-12 16:41:16 +01:00
cac702231c Flynn (#19599)
* Blog draft 1

* Updates

* Update images

* Prettier

* Edits

* Edits

* author update

* Apply suggestions from code review

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

* minor grammar

* first pass

* smol tweaks

* smol edits

* final edits

* Adds clarity

* more iteration of the product naming

* Add thumbs

* Updates

* Spelling

* Spelling

* build item

* update cta text

* set up d1

* d1 image

* blog post link

* add dynamic import

* add yt video

* update scroll top

* add x space

* x space target blank

* update promo banners

* Add yt video

* add Zoomable image to latest blog post

* Add github discussion links

* add hackathon

* improve main stage mobile card

* add latest post to nav

* New images

* update promo titles

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2023-12-11 12:22:21 -03:30
Alaister Young 9d8e8b068f chore: move role impersonation state into a context (#19510)
* chore: move role impersonation state into a context

* clean up ProjectContext.tsx imports

* move isRoleImpersonationEnabled to only relevant queries
2023-12-11 16:32:11 +11:00
Francesco Sansalvadore 2852d67f14 X Build Stage (#19531)
* start lwx pre release

* prepare data

* prepare layout

* main stage + build stage layouts

* lwx sticky nav

* update build stage layout

* more padding to meetups

* udpate build stage layout

* finish player

* dimm upcoming days

* update postgres blog link

* active link while scrolling lwx page

* increase x size

* update design blog subtitle

* smol fixes

* update design post link

* add target blank prop

* update post description

* update nav featured posts

* update design card descr

* The

* Fix nav indexes
2023-12-08 17:52:27 +01:00
Ramiro Nuñez DosioandFrancesco Sansalvadore 6e2910eb42 Blog post: Postgres Language Server (#19508)
* Blog post: Postgres Language Server

New blog post.

* Author, title, description.

* Add og image.

* Upate author data.

* Fix filename.

* Add diagrams.

* Fix author image.

* Fix toggle list.

* Fix diagrams.

* update blog image component and fix prettier

* prettier-ignore

* increase zoomed image size

* Add new thumb

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2023-12-08 11:42:54 +00:00
Kevin Grüneberg 88f35123e4 chore: capitalize on pricing page (#19524) 2023-12-08 10:44:00 +01:00
Kevin Grüneberg b71cae7ec3 chore: pricing page adjustments (#19509) 2023-12-08 09:58:19 +01:00
Charis f74ea081f2 fix broken docs search links in www and dashboard (#19520)
fix broken docs search links in www and studio
2023-12-07 20:27:56 -05:00
Charis d429fba73f perf: remove edge function for faster fts (#19500)
Unlike embeddings, FTS doesn't require a server-side secret, so the Edge
Function is just adding an intermediate hop for no benefit.
2023-12-07 12:05:29 -05:00
Jonathan Summers-MuirandIvan Vasilov 05c674e2a7 Realtime inspector icons colors (#19402)
* colors

* Fix leftover issues from merging from master.

* Fix the schema/table selectors loading states to eliminate layout shifts.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-12-07 13:51:16 +00:00
Charis 6c4311f723 fix: improve docs search ux and result rankings (#19450)
Improve the way docs are indexed and FTS results are ranked, so results are more relevant.

Also improve debouncing and searching UX so it feels a bit faster and you can scan the results more easily.
2023-12-06 12:27:33 -05:00
Charis b606a37e95 fix: implement force mounting for cmdk menu items (#19421)
* fix: implement force mounting for cmdk menu items

We want some command menu items to be force-mounted (that is, they
should be mounted regardless of what the current search value is.
Examples include all search results from docs, and docs search and
AI responses when within the docs site.

Force mounting isn't implemented in a published release of `cmdk`
(https://github.com/pacocoursey/cmdk/issues/164), but we can hack it in
the interim by manipulating the item value under the hood.

* remove experimental badge on AI answers
2023-12-06 11:33:54 -05:00
Ivan Vasilov efa055f068 fix: RLS Editor with Streaming AI - second attempt (#19462)
* Reapply all changes from the reverted PR.

* Move the API route to pages folder.

* Turn off outputFileTracing.
2023-12-06 15:54:22 +01:00
Kevin Grüneberg d6b7c1b7ba Revert "feat: Add streaming responses to the new RLS Editor (#19304)" (#19439)
This reverts commit a2b01e0bc5.
2023-12-05 16:50:26 +00:00
Ivan Vasilov a2b01e0bc5 feat: Add streaming responses to the new RLS Editor (#19304)
* Add vercel/ai. Commit additional next types.

* Add a API route in /app for streaming responses.

* Make the components work with streaming response.

* Add a dummy page to /app folder to fix a linking bug.

* Fix the dummy page.

* Fix the dummy page again.

* Add an empty layout to the app folder.

* Make the code snippets in the chat read-only.

* Remove queries and mutations for suggest.

* Reset the chat when closing the panel.

* Make the AI instructions a bit better.

* Don't render empty code blocks.

* Try to use remark for rendering the code. Style fixes for CodeBlock in AI assistant panel.

* Fix the styling of the definitions when sending them to OpenAI.

* Fix the css styling of the messages and code blocks.

* Move the suggest API route from app to pages folder.

* Revert the change for app API routes.

* Make the API route look like the rest of the API routes.

* Use Pre instead of Code because the <code> tags aren't working if between spans.

* Minor leftovers.

* Revert to using app route handlers.

* Change the wording on the diff header.

* Add nextjs types.

* Fix a missing import.

* Move AssistantChatForm back to db-new.

* Fix a build error.

* Rename the suggest route to assistant.

* Fix Joshen's comments.
2023-12-05 16:05:02 +01:00
Charis 6ae34935df improve docs search performance by removing preflight (#19395)
* refactor: remove credentials to prevent cors preflight

* fix: minor bug fix to source load counting

* set no-verify-jwt for search endpoints

* perf: reduce debounce interval

* fix: throw returned error from edge function

* fix: better error catching
2023-12-04 16:04:06 -05:00
Jonathan Summers-Muir c43f0e74a3 Admonition styling update (#19407)
* style update

* destructive

* Update index.tsx

* Update multi-factor-authentication.mdx
2023-12-04 22:47:10 +08:00
Stojan Dimitrovski f22ae374f2 feat: explicit gotrue-js package dependency, version 2.58.0 (#19405) 2023-12-04 11:21:26 +01:00
Jonathan Summers-Muir df55638e04 Fix/docs alerts / stephike / images (#19401)
* step hike and alerts fixed

* fix images
2023-12-04 10:48:35 +01:00
7abc9d24c4 Chore/more server actions (#19379)
* First

* Fix the parsing of SQL.

* Get thread data action

* Remove old page

* Wait for data to complete

* SSR everywhere

* Remove unused

* Add monaco settings

* update loaders

* Add sorting

* supress hydration warnings

* Fix profile layout

* more server action action

* fixes

* Update page.tsx

* Update actions.ts

* Update AssistantChatForm.tsx

* init

* add polling

* Update actions.ts

* redirect to message id

* Update page.tsx

* Update page.tsx

* handle run loading states with use client state with valtio

* reduce first load JS

* test action v1

* test action v2

* server action test 3

* test action 4

* test action 5

* test 6

* test 7

* test 7

* test 8

* test 9

* test 10

* test 11

* TEST 12

* TEST 13

* try and make it work

* Update page.tsx

* Update actions.ts

* redirect added in

* Update page.tsx

* Update SchemaFlow.tsx

* Update SchemaFlowHandler.tsx

* 14

* Update SchemaFlow.tsx

* move parse tables to client

* a11y fixes

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-12-03 21:01:14 -03:30
a5ffe1e693 Chore/remove react query (#19332)
* First

* Fix the parsing of SQL.

* Get thread data action

* Remove old page

* Wait for data to complete

* SSR everywhere

* Remove unused

* Add monaco settings

* update loaders

* Add sorting

* supress hydration warnings

* Fix profile layout

* more server action action

* fixes

* Update page.tsx

* Update actions.ts

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-12-01 15:41:51 -03:30
Jonathan Summers-Muir 903be591de schema visualizer styles moved to UI package (#19313)
* init

* tidy
2023-12-01 04:41:33 +08:00
Jonathan Summers-MuirandTerry Sutton 5ef9784506 chore: added pattern UI for assistant input (#19294)
* chore: added pattern for input

* migrated whole form over

* Update packages/ui/src/patterns/AssistantChatForm.tsx

* Update packages/ui/src/patterns/AssistantChatForm.tsx

* Update packages/ui/src/patterns/AssistantChatForm.tsx

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-11-30 14:22:39 -03:30
Ivan VasilovandGreg Richardson 33f617a6cc Migrate all apps and packages to use OpenAI v4 lib (#19270)
* Migrate all apps and packages to use OpenAI v4 lib.

* Minor fix.

* refactor: improve types for completion chunks

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2023-11-30 09:01:51 +00:00
Francesco Sansalvadore 98f5ea35c5 Update PromoToast (#19311)
update PromoToast visual
2023-11-29 23:27:36 +01:00
Kevin Grüneberg 0c5022c170 chore: bump next / remove unused webpack config (#19300) 2023-11-29 10:57:36 +00:00
1f38fe2012 feat: New Policy Editor (#19166)
* Add two more sizes to the Panel component.

* Add alias for the older openai-api library. The new one is added under the openai name.

* Add API routes

* Add components for the new AI RLS panel.

* Bunch of changes to the AI Policy Editor.

* Add a button for opening the new Policy Editor.

* Add a feature flag for the new editor.

* Add a confirmation modal when closing the panel.

* Fix leftover data when closing the panel.

* Make the copy button work.

* Add the next/swc packages to package-lock.json.

* Merge master

* Scaffold debug sql in rls editor

* Small improvements to policy chat

* Hook up debug to ai assistant panel

* Improve debug UX

* Add debug request badge

* Some styling fix

* Small styling fix

* Another small styling fix

* Shift create new policy ai button + fix error stylign with code editor height

* Add tooltips to apply changes and copy code from assistant message

* Hide assistant button is not platform

* Small lint

* Add default error handlers to all AI RQ mutations

* Small fix

* Remove IS PLATFORM check for rls assistant

* Add placeholder to RLS code editor

* Fix diff + rls code editor

* Add placeholder message after sending prompt

* Small style

* RLSCodeEditor hit tab if empty to populate placeholder text

* Light mode nudeges

* Update logic for when confirmation close modal should show

* Set render overview ruler as false for rls diff editor

* improve chat UX to make it smoother (thank you alaister for your help 🙏)

* Dynamically do keepPreviousData

* Gracefully handle errors for add prompt

* Use animated ai icon while message is loading

* using Sheet component

* Address commernts

* Bit more improvements

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-29 17:12:50 +08:00
Jonathan Summers-MuirandTerry Sutton d1c65ed77d chore: add non authenticated flow (#19243)
* add a new component for input

* add textArea

* some colors

* rename

* Update page.tsx

* move files

* Update ChatInput.tsx

* Update Header.tsx

* chore:upgrade next14

* Update package-lock.json

* update graphql

* add graphql dep

* Update package.json

* Update package-lock.json

* added server action in

* more actions

* getting actions in everywhere

* Update ConfirmDeleteThreadModal.tsx

* Update Input.tsx

* update modal action

* Bump nextjs in database-new to v14.

* fix build

* trying server hooks

* more experiemntal stuff

* update delete

* shimmering

* update thread UI

* Update actions.ts

* Update actions.ts

* Update Thread.tsx

* Update Input.tsx

* updated

* delete thread updated

* chore: add non authenticated flow

* fix build

* Update page.tsx

* fix builds

* Update package-lock.json

* Update package.json

* Update package-lock.json

* Add login message

* Cleanup

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-11-28 15:35:06 -03:30
Charis 4c39abd88a fix hydration error on promotoast (#19283) 2023-11-28 12:42:15 -05:00
Francesco SansalvadoreandJonathan Summers-Muir 7c8ac579a4 Feat x (#19250)
* make dark: selector work again

* create new LWX page and move previous to lw8 folder

* set up initial sign in with github flow

* set up ticket layout

* clean up TicketForm

* connect to lwx_tickets table and sign in with github

* update landing page content

* ticket layout

* share actions

* add prize section

* fix lw7 types

* fix lw7 types

* update content

* update realtime icon color

* lwx og ticket

* cleanup

* fix types in previous lw

* fix ticket copy icon
gst

* add lwx Promo banners

* golden ticket

* lwx-ticket-og

* update announcement banner

* update

* update colors

* update swag prize

* add padding to keyboard image

* update text
gst

* update ticket bg and countdown colons

* clean up

* update lwx cta color

* update functions

* platinum

* update og

* update og

* add og image and update supabase logo

* add ticket customization form

* update meta description

* fix import

* fix import

* bg

* fix realtime

* add hover interaction on lwx shape

* svg loader

* setTimeout on window.open to fix safari

* eager load ticket assets

* eager load background

* use next/link for ticketActions

* design PromoToast

* promoToast in docs

* fix referral link

* fix stuff

* update og functions

* update og functions

* update PT timezone shift

* update ticketing flow layout

* update ticketing flow layout

* prefetch right user link

* toggle ticket customization form

* update og regular bg

* remove lwx title when ticket

* remove edit button on ticket in share page

* optimize og generation function

* asd

* fix www announcement banner

* spacing

* center share link

* update mobile ticket bg

* maybe add logic to hide presence if low traffic

* add lwx favicon

* truncate shareable url

* fix keyboard image ratio

* update discount copywriting

* add keyboard controls to customization form

* update lwx favicon

* update lwx favicon

* update FaviconImports

* update tickets page

* stickers

* Revert "stickers"

This reverts commit d7d7d9beb9.

* update lockfile to fix turbo darwin 64 bug

* stickers

* make x always visible on mobile

* format favicon manifest

* update social sharing text

* fix typo

* update social share text

* remove window.open

* update promo toast info

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-28 16:31:14 +01:00
Charis ba3ba81434 feat: add full text search to docs (#19112)
Feature

Adds a full-text search endpoint for docs search, to provide more comprehensive and faster results. Each docs search now performs both FTS and embeddings-based search, and displays results as soon as the first set of results is returned.

Refactor

Slight refactor of the embeddings search to make only one trip to the database, and transfer less content in the JSON. This now uses a different function than the RAG step for Supabase AI.

Bug fix

Fixes a bug where some search results were being filtered out by the cmdk menu.

Removes an obsolete guide. Content is now elsewhere and it messes up search results.
2023-11-27 14:32:22 -05:00
efab162ff9 Chore/server actions (#19200)
* Migrate database-new to use server actions.

* Revert the package-lock.json changes, leftover from a rebased commit.

* Add server actions config back

* Cleanup

* Cleanup

* Undo

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-11-24 13:15:43 -03:30
Charis 268c6016ee restyle admonitions to match alerts and streamline types (#19186)
* fix: streamline admonition types

Streamline types available for admonitions:

- Remove `info` and replace with `note`
- Add `deprecation`

Display the type on all admonitions, even if they have a label. Makes it
explicit what level of advice you are looking at (since color and icon
are ambiguous).

* change admonition to use alert under the hood
2023-11-24 10:41:37 -05:00
Jonathan Summers-Muir afd18c0e81 Chore/db design input component (#19191)
* add a new component for input

* add textArea

* some colors

* rename

* Update page.tsx

* move files

* Update ChatInput.tsx

* Update Header.tsx
2023-11-24 16:15:28 +01:00
cc64b6e291 Fix button padding with icon (#19188)
* Fix button padding with icon

* Apply suggestions from code review

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

* The proper fix

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2023-11-24 14:35:33 +08:00
fbfe910c22 Initial work on database.new visualizer (#19027)
* Initial commit.

* Remove bunch of unneeded deps.

* Fix the providers.

* Minor fixes to make the themes work.

* Fix prettier errors.

* Add default constraint.

* Midway styling

* General styling improvements

* More styling stuff

* Bit more styling

* Bit more pizzazz

* Scaffold all threads modal

* Small style fix

* Ensure loading state persist in new page until redirect

* Fix

* Test';

* Add basic validation

* Fix

* Remove console logs

* Hide show all threads button

* chore: style the blocks

* fix: stroke width

* add some shadow

* stroke width

* Update TableNode.tsx

* Swap hide chat for hide code

* more sidebar styling

* Resolve conflicts

* Some style fixeds

* Some style fixeds

* mock profile

* update user dorpdown

* Update globals.css

* Chore/db new layouts and url params (#19142)

* chore: layouts

* Fix + clean up

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>

* Fix header

* Scaffold profile and conversations

* Some quick styling

* Update apps/database-new/.env.local.example

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

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2023-11-22 12:31:32 -03:30
+14 247c72fff2 SQL Editor: CLI commands to import snippet as migration/seed (#17341)
* feat(sql-editor): cli commands to import snippet as migration/seed

* fix(sql-editor): reword to download snippet

* chore(sql-editor): update wording

* Move to tabed ui, move download button to context menu

* Inline

* 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>

* fix: duplicate eslint dependency (#19028)

* Update sveltekit.mdx (#18998)

Extended authorization section of docs to mention use of Sveltekit sequence helper function for protecting routes alongside defining Supabase session. Also provided new code.

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

* fix: add hello world example to edge functions quickstart (#19030)

* Fix project card status not showing (#19034)

* Fix project card status not showing

* Fix tooltip project card styling

* chore: update cli reference doc (#18934)

* Add docs for updating the image versions (#18160)

see #17930

* chore: fix casing of "encryption at rest" (#19032)

* chore: update self-hosted image versions (#18935)

chore: update image versions for docker/docker-compose.yml

* (docs) Update arg name that resulted from adapters release (#19024)

update arg name that resulted from adapters release

* docs: Fix an example (@supabase/ssr package) for Next.js API Route (#19009)

Update creating-a-client.mdx

replace `appendHeader` with `setHeader` for the Next.js API route example.

* chore: cleanup studio dependencies (#19040)

* Fix code text color (#19042)

* make dark: selector work again

* fix reference docs code color

* feat: remove note about tus rollout (#19007)

it has been rolled out to all projects

* docs: update language in database-size.mdx code block (#19033)

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* 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>

* Update hugging-face.mdx: fix example curl request (#17667)

The example request did not match the example edge function because there is used prompt and in the curl script was used query

* docs: fix syntax error in create role command (#17755)

* Update auth-sso-saml.mdx (#17856)

* docs: Update auth-google.mdx (#18119)

* fix: Bump up Realtime to 2.25.35 (#19048)

* Update llamaindex.ipynb doc_hash to hash (#18838)

* Update llamaindex.ipynb doc_hash to hash

Update `doc_hash` to `hash` since running this as-is provided an `AttributeError`. 

Here's what the Python build-in `vars` gives me (truncated):

```python
{'id_': 'd94b1287-b3ef-4aba-ac6b-7a4e353b0327',
 'embedding': None,
 'metadata': {},
 'excluded_embed_metadata_keys': [],
 'excluded_llm_metadata_keys': [],
 'relationships': {},
 'hash': '4c702b4df575421e1d1af4b1fd50511b226e0c9863dbfffeccb8b689b8448f35',...}
```

* fix: SimpleWebPageReader & StorageContext imports

* chore: revert python version change

---------

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

* fix: add reference docs back to search index (#19054)

Reference docs weren't being indexed properly because the specs weren't
getting checked out at build time.

* 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>

* 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>

* docs: Update mentions of `foreign table` to `referenced table` (#18656)

* replace foreignTable parameter with referencedTable parameter

* remove redirects

* rename any mentions of foreign table to referenced table

* fix one mention of foreign table

* update some links

* guide: add pgroonga videos to pgroonga guide (#19073)

add pgroonga videos to pgroonga guide

* docs(swift): rename `authStateChanges` and remove `File` from upload method (#19067)

docs: fix authStateChanges and upload documentation

* Small style fixes

* Style

* Update

* Update

* Update UI components positioning for DownloadSnippetModal

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
Co-authored-by: Ramiro Nuñez Dosio <ramiro@supabase.io>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: uncapped1599 <126204291+uncapped1599@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Lakshan Perera <lakshan@supabase.io>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Div Arora <darora@users.noreply.github.com>
Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Taishi <taishi.k0903@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
Co-authored-by: Joseph Yu <39754176+joseph082@users.noreply.github.com>
Co-authored-by: Maidi <mareike.haug@web.de>
Co-authored-by: Shinya Fujino <shf0811@gmail.com>
Co-authored-by: Andrei Soroker <soroker@gmail.com>
Co-authored-by: Isaac Abotsi <abotsi@users.noreply.github.com>
Co-authored-by: Filipe Cabaço <filipe@supabase.io>
Co-authored-by: Jason R. Stevens, CFA <jason@thinkjrs.dev>
Co-authored-by: Guilherme Souza <grsouza@pm.me>
Co-authored-by: Tyler <18113850+dshukertjr@users.noreply.github.com>
2023-11-21 20:32:07 +08:00
Francesco Sansalvadore 03086284a1 Fix active option selection colors (#18946)
update active option selection colors
2023-11-20 15:49:13 +07:00
Francesco Sansalvadore 573f002271 Fix code text color (#19042)
* make dark: selector work again

* fix reference docs code color
2023-11-17 14:17:48 +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
Jonathan Summers-MuirandCharis 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
5cad547aad Fix: Change SMS_TEMPLATE field from input to textarea (#16077)
Change SMS_TEMPLATE field from input to textarea

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Ant Wilson <awalias@users.noreply.github.com>
2023-11-15 14:06:49 +08:00
Kevin Grüneberg 30958d87fb fix: build times storybook/swc (#18965) 2023-11-14 21:45:12 +01:00
Joshen Lim 30375c55a0 Chore/revert changes to api docs (#18865)
* Reinstate API docs files and pages

* Add API side panel back to feature preview

* Nav bar to link to api page if feature is not toggled

* Hide API docs button behind feature preview for auth users, storage and edge functions

* Use new API side panel for table editor, and update the language selector to make it more apparent

* Fix feature preview modal styling

* Merge master resolve conflicts

* Add URL to graphiql in API docs side panel, which links to /api/graphiql without the docs layout menu

* Add auth enabled flag for user management section in Docs

* Add realtime enabled flag for subscribe to changes section in Docs

* Add realtime enabled flag for API docs side panel

* Update redirect next config
2023-11-13 13:56:09 +08:00
Terry Sutton 671324ecaf Fix/storybook build (#18854)
Update storybook
2023-11-09 09:33:20 -03:30
Francesco Sansalvadore ae4d3c916c Fix link underline brand color (#18817)
fix link underline brand color
2023-11-08 10:51:04 +00:00