Commit Graph
9298 Commits
Author SHA1 Message Date
CropWatchandCharis 95fddcc5fb Update postgres-changes.mdx (#19368)
Fixed spelling mistake

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-02 22:05:53 +00:00
Justin ChavezandCharis 9055176d1b Update downloads.mdx with correct private storage URL (#19375)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-02 22:03:09 +00:00
JamesandCharis 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
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 cabba4400b chore: sitemaps update (#19372) 2023-12-01 17:31:30 +00:00
Ramiro Nuñez Dosio e39215d7b8 Removed duplicate sentence. (#19369) 2023-12-01 14:48:59 +00:00
3483c59e33 Automatic CLI login (#19362)
* Automatic CLI login

* Added images.

* Create Kamil's author and add images.

* Fix filename and other things.

* Update 2023-12-01-automatic-cli-login.mdx

* Fix description.

* Fix video.

* fix blog

* Fix date.

* Updated text based on Stojan's feedback.

* Update apps/www/lib/authors.json

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

* Update apps/www/_blog/2023-12-01-automatic-cli-login.mdx

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

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
2023-12-01 14:16:01 +00:00
Ivan Vasilov 5fed762d1f fix: Remove the become a partner button from the Experts page (#19359)
* Remove all become a partner buttons from the partner page.

* Move the private env vars to env.local.example
2023-12-01 11:48:39 +01:00
Joshen LimandCopple f65c847b54 Chore/rls ai assistant updates (#19325)
* Have rls ai assistant sit in feature preview + shown via feature flag

* Support editing existing policy in new AI assistant panel

* Beef up feature preview

* Shift AI settings modal to components/ui and add AI settings to RLS AI assistant panel

* Update apps/studio/components/interfaces/App/FeaturePreview/RLSAIAssistantPreview.tsx

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

* Update apps/studio/components/interfaces/App/FeaturePreview/RLSAIAssistantPreview.tsx

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

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-12-01 11:24:12 +01:00
Thor 雷神 Schaeff 3a41744af8 chore: update docs with new helper types. (#19163)
* chore: update docs with new helper types.

* chore: update naming.
2023-12-01 08:01:21 +00:00
Joshen Lim 8467b847c5 Enforce pg 15 to enable branching (#19354) 2023-12-01 15:57:26 +08:00
Guillem García faf66c0d39 docs: change Local Development href to '/guides/cli/getting-started' (#19336) 2023-11-30 18:56:52 -05:00
Ivan Vasilov f102168588 fix: Ignore other types of statements when parsing the SQL query (#19343)
Allow other types of statements in the SQL query, but only createStatement will be type-safe and taken into consideration.
2023-11-30 18:23:19 -03:30
Joshen LimandJonathan Summers-Muir 6435c945b2 Chore/enabling branching fixes (#19324)
* Close branch modal when navigating to other page

* Remove pitr gate for enabling branching and add strong recommendation instead

* Fix SSL toggle not triggering

* Update EnableBranchingModal.tsx

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-30 20:58:07 +00:00
Jonathan Summers-Muir 903be591de schema visualizer styles moved to UI package (#19313)
* init

* tidy
2023-12-01 04:41:33 +08:00
Ramiro Nuñez Dosio 1dc0fe35e2 Fix typo (#19339) 2023-11-30 18:28:25 +00:00
Oliver Rice b919cc6506 Replace references of dbdev pglet with package for easier terminology (#19337)
remove reference of dbdev pglet and replace with package
2023-11-30 19:13:12 +01: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
a51cc06f41 Customer Story: Shotgun (#19329)
* Customer Story: Shotgun

* Update apps/www/_customers/shotgun

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

* Update apps/www/_customers/shotgun

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

* Added avatar and image.

* Add file type

* add shotgun images and clean up

* update article date

* optimize image

* optimize image

* Last changes.

* Fixes.

* fix prettier

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2023-11-30 15:24:26 +00:00
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
Terry SuttonandCharis 38dfd14c31 Chore/update branching doc (#19116)
* Updates

* update

* Update apps/docs/pages/guides/platform/branching.mdx

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

* Update apps/docs/pages/guides/platform/branching.mdx

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

* Update apps/docs/pages/guides/platform/branching.mdx

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

* Prettier

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-30 01:02:45 +00:00
Jonathan Summers-Muir d01e7b5df6 Update index.tsx (#19305) 2023-11-29 20:40:31 -03:30
Terry SuttonandIvan Vasilov 59084e547d Dont assert data existing (#19316)
* Dont assert data existing

* Fix other two occurrences.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-11-30 01:06:17 +02:00
Francesco Sansalvadore 98f5ea35c5 Update PromoToast (#19311)
update PromoToast visual
2023-11-29 23:27:36 +01:00
Joshen LimandCopple f56bfa58cb Chore/enforce pitr for enabling branching (#19303)
* Enforce PITR on dashboard to enable branching

* Add warning if disabling pitr when branching is enabled

* Update apps/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx

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

* Update apps/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx

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

* Update apps/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx

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

* Update apps/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx

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

* Prettier

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-11-29 21:14:26 +08:00
Kevin Grüneberg 0c5022c170 chore: bump next / remove unused webpack config (#19300) 2023-11-29 10:57:36 +00:00
Joshen Lim 0fbbb70817 chore: bump simple maps (#19302) 2023-11-29 11:48:37 +01:00
Kevin Grüneberg 2e69df4bb4 chore: bump openapi-typescript (#19299) 2023-11-29 11:17:03 +01: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
Pamela Chia f07fc0bfa3 chore: update privacy policy (#19258)
* chore: update privacy policy

Update new privacy policy and previous version.
Removed services that we stopped using in supabase

* fix: convert cookies table to use purer markdown
2023-11-29 15:15:39 +08:00
Copple a038a1e123 fix broken images (#19287)
* fix broken images

* trying new images

* remove broken
2023-11-28 20:40:42 +00: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
Francesco Sansalvadore fa85d9febd Chore x (#19282)
update share copy
2023-11-28 16:32:04 +00:00
T04435 d5340a94a8 docs: fix bug in ssr guide email flow pkce (#19281) 2023-11-28 16:08:27 +00:00
Jonathan Summers-MuirandTerry Sutton fe053fffb1 Chore/server state hooks (#19203)
* 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

* fix build

* Update package-lock.json

* Update edit thread modal

* fixing build

* reset

* Update package-lock.json

* Update SpreadsheetImport.utils.ts

* reset

* Update package-lock.json

* Update sitemap_www.xml

* pacakge update

* change to node 18

* Fix deleting threads

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-11-28 12:35:44 -03:30
Rodrigo Martins Mansueli 356f1ef654 chore: Update grafana link (#19279)
Update metrics.mdx
2023-11-28 12:59:17 -03: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
CoppleandCharis 5cdea0d426 Adds a detailed overview for FDWs (#19039)
* Adds a detailed overview for FDWs

* Update apps/docs/pages/guides/database/extensions/wrappers/overview.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-28 14:04:47 +00:00
Joshen LimandAlaister Young f47a7385ab Assign keys to each side panel editor on the table editor to ensure that input fields have the latest data (#19264)
* Assign keys to each side panel editor on the table editor to ensure that input fields have the latest data

* move rowsPerPage to valtio + more cleanup

* remove sidepanel row optimistic updates

* Change prop for listbox in input field from default value to value

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2023-11-28 21:24:37 +11:00
Yaoda LiuandCharis 3786aa54fc Update document image-search-openai-clip.mdx (#17621)
* Update document image-search-openai-clip.mdx

Update document for breaking changes.

* Update apps/docs/pages/guides/ai/examples/image-search-openai-clip.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-27 18:47:20 -05:00
Bo LuandKamil Ogórek 554ffd7a6c docs: add schame name for wrappers extension creation (#19244)
* docs: add schame name for wrappers extension creation

* Update apps/docs/pages/guides/database/extensions/wrappers/overview.mdx

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

---------

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
2023-11-28 09:44:14 +11:00
Esteban Dalel RandTerry Sutton 4a4416ee9b Fix error on route for Next JS tutorial (#18686)
Fix error on route

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-11-27 21:29:13 +00:00
Luca Bertelli 69d3482fff Update storage_management.mdx (#18385)
Handle the case in which the new `avatar_url` is set to null.
2023-11-27 21:24:01 +00:00
David Lorenz a17ab16af7 Update creating-a-client.mdx because of redundancy / confusion (#19130)
As to my research the header passing is already containing the changed cookie (as cookies are part of the header) so the second setting of the cookie becomes unnecessary.
2023-11-27 21:01:09 +00:00
Long Hoang 9a9df8579b chore: add link to auth0 comparison in nav (#19236) 2023-11-27 17:29:00 -03:30
Kyle KukshtelandCharis Lam 43cd5cc772 Update image-transformations.mdx (#18991)
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2023-11-27 20:58:44 +00:00
Ivan Vasilov e32b146bc1 chore: Bump the OpenAI lib version to v4 in the docs app (#19253)
Bump the OpenAI lib version to v4 in the docs app.
2023-11-27 21:23:05 +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
Oliver Rice f5f039ed05 Docs: Rename serverless apis to data apis (#19256)
* serverless apis -> data apis

* capitalization fix
2023-11-27 12:04:48 -06:00
Bobby Galli 7ef690dcc4 docs: update auth-apple.mdx (#19257)
fix typo loose should be lose
2023-11-27 17:33:25 +00:00