Commit Graph
1206 Commits
Author SHA1 Message Date
+8 24721005f3 Starbuck (#19731)
* d4 setup

* auth title

* Starbuck

* update video id

* starbuck main stage (#19725)

* Caption fixes for LWXd3 (#19680)

* Update 2023-12-13-supabase-branching.mdx

* Update 2023-12-13-supabase-branching.mdx

* fix: add requirement on Docker client for edge funcs deploy (#19624)

* fix: add requirement on Docker client for edge funcs deploy

* fix: docker name

Co-authored-by: Han Qiao <sweatybridge@gmail.com>

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

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

* fix: prettier

---------

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

* Add YouTube video, form link, more internal linking. (#19685)

* Add YouTube video, form link, more internal linking.

* More internal linking.

* Edit admonition.

* Swap OG image, add planetpg tag

* Prettier

* Update name

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>

* fix: update basic auth settings form (#19708)

* fix: allow formfield to not have an icon

* fix: convert radio buttons to formfields

* fix: update copy & icons in auth settings page (#19710)

* fix: add hcaptcha and cloudflare icons

* fix: update copy

* Chore/deprecate publications store (#19655)

* Hide RLS assistant features for orgs with HIPAA

* Replace all usage of meta.publications with react query

* Deprecate publications store from meta store mobx, shift updateTableRealtime logic to SidePanelEditor

* Address comments

* Fix create trigger (#19711)

* Chore/deprecate triggers store (#19712)

* Replace all usage of meta.triggers with react query

* Deprecate and remove ttriggers mobx store

* Fix

* Update apps/studio/components/interfaces/Database/Triggers/TriggersList/TriggersList.tsx

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

---------

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

* Chore/branching update requirements (#19670)

* Update requirements to enable branching

* Remove panel query when closing subscripton plan panel

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

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

* Lint

* Lint

* Update

---------

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

* Update branching info (#19715)

* Update branching info

* swap

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

* fix: time until hackathon end count down clock (#19716)

* build-d4 (#19709)

* build-d4

* Add images and more links.

* Update description.

* ADd mdx to filename.

* Fix and update images

* Edit filename.

* replace notion links and prettify doc

* fix title image link

* update title

* Update apps/www/_blog/2023-12-14-supabase-wrappers-v02-now-available.mdx

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

* Update apps/www/_blog/2023-12-14-supabase-wrappers-v02-now-available.mdx

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

* update filename,

---------

Co-authored-by: Bo Lu <lv.patrick@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

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

* Chore/deprecate functions store (#19714)

* Shift all usage of database functions from pg meta store to RQ

* Remove functions store from pg meta mobx store

* fix

* Fix

* Fixes

* fix

* Address comments

* Add build d4 (#19721)

add build item

* chore: add support sla of plans and non abuse copy (#19572)

* chore: add support sla of plans and non abuse copy
reword the SLA description of the popup to cover all paid plans
add support sla shown in support form based on plan
default expand support sla shown in support form
add non-abuse copy if user tries to submit high or urgent severity tickets

* fix: mispelling on prioritized

* fix: update copy based on comments

* starbucks-main-stage

* Update file name.

* Add og and thumb.

* Add video.

* Add LWX links.

* chore: Migrate profile information to use `react-hook-form` (#19675)

* Fix the icon in the theme listbox.

* Remove visible prop on FormSection since it used block which clashes with grid CSS class.

* Migrate the user profile form to use react-hook-form.

* Update apps/www/_blog/2023-12-14-supabase-auth-dentity-linking-session-control.mdx

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

* Update apps/www/_blog/2023-12-14-supabase-auth-dentity-linking-session-control.mdx

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

* chore: change current to all local for migrations in db reset command (#19728)

* change current to all local for migrations in db reset command

* Apply suggestions from code review

---------

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

* Update apps/www/_blog/2023-12-14-supabase-auth-dentity-linking-session-control.mdx

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

* chore: Fix the types in the `ui` package (#19633)

* Enable the typecheck command for the ui package.

* Ignore the stories.tsx files when typechecking.

* Remove the unused Avatar component. We can use the one provided by shadcn now.

* Rename the datatable.stories file.

* Fix various type errors.

* Fix the Toast component.

* Update apps/www/_blog/2023-12-14-supabase-auth-dentity-linking-session-control.mdx

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

* Update apps/www/_blog/2023-12-14-supabase-auth-dentity-linking-session-control.mdx

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

* Update apps/www/_blog/2023-12-14-supabase-auth-dentity-linking-session-control.mdx

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

* Update apps/www/_blog/2023-12-14-supabase-auth-dentity-linking-session-control.mdx

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

* Update apps/www/_blog/2023-12-14-supabase-auth-dentity-linking-session-control.mdx

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

* Update apps/www/_blog/2023-12-14-supabase-auth-dentity-linking-session-control.mdx

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

* Update apps/www/_blog/2023-12-14-supabase-auth-dentity-linking-session-control.mdx

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

* Update apps/www/_blog/2023-12-14-supabase-auth-dentity-linking-session-control.mdx

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

* Add images.

* Fix description.

* Add new date and admonition.

* Fix URL.

* Update apps/www/_blog/2023-12-14-supabase-auth-identity-linking-hooks.mdx

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Lakshan Perera <lakshan@supabase.io>
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Tyler <18113850+dshukertjr@users.noreply.github.com>
Co-authored-by: Bo Lu <lv.patrick@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Tobias Törnros <t.tornros@gmail.com>

* Update apps/www/_blog/2023-12-14-supabase-auth-identity-linking-hooks.mdx

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

* update d4 link

* fix prettier + more updates

* update announcement banners

* fix prettier

* X blog digest (#19687)

* Caption fixes for LWXd3 (#19680)

* Update 2023-12-13-supabase-branching.mdx

* Update 2023-12-13-supabase-branching.mdx

* lwx blog digest

* fix: add requirement on Docker client for edge funcs deploy (#19624)

* fix: add requirement on Docker client for edge funcs deploy

* fix: docker name

Co-authored-by: Han Qiao <sweatybridge@gmail.com>

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

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

* fix: prettier

---------

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

* Add YouTube video, form link, more internal linking. (#19685)

* Add YouTube video, form link, more internal linking.

* More internal linking.

* Edit admonition.

* Swap OG image, add planetpg tag

* Prettier

* Update name

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>

* fix: update basic auth settings form (#19708)

* fix: allow formfield to not have an icon

* fix: convert radio buttons to formfields

* fix: update copy & icons in auth settings page (#19710)

* fix: add hcaptcha and cloudflare icons

* fix: update copy

* Chore/deprecate publications store (#19655)

* Hide RLS assistant features for orgs with HIPAA

* Replace all usage of meta.publications with react query

* Deprecate publications store from meta store mobx, shift updateTableRealtime logic to SidePanelEditor

* Address comments

* Fix create trigger (#19711)

* Chore/deprecate triggers store (#19712)

* Replace all usage of meta.triggers with react query

* Deprecate and remove ttriggers mobx store

* Fix

* Update apps/studio/components/interfaces/Database/Triggers/TriggersList/TriggersList.tsx

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

---------

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

* Chore/branching update requirements (#19670)

* Update requirements to enable branching

* Remove panel query when closing subscripton plan panel

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

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

* Lint

* Lint

* Update

---------

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

* Update branching info (#19715)

* Update branching info

* swap

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

* fix: time until hackathon end count down clock (#19716)

* build-d4 (#19709)

* build-d4

* Add images and more links.

* Update description.

* ADd mdx to filename.

* Fix and update images

* Edit filename.

* replace notion links and prettify doc

* fix title image link

* update title

* Update apps/www/_blog/2023-12-14-supabase-wrappers-v02-now-available.mdx

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

* Update apps/www/_blog/2023-12-14-supabase-wrappers-v02-now-available.mdx

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

* update filename,

---------

Co-authored-by: Bo Lu <lv.patrick@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

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

* Chore/deprecate functions store (#19714)

* Shift all usage of database functions from pg meta store to RQ

* Remove functions store from pg meta mobx store

* fix

* Fix

* Fixes

* fix

* Address comments

* Add build d4 (#19721)

add build item

* update digest layout

* add community meetups link

* move main stage label

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Lakshan Perera <lakshan@supabase.io>
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Ramiro Nuñez Dosio <ramiro@supabase.io>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Tyler <18113850+dshukertjr@users.noreply.github.com>
Co-authored-by: Bo Lu <lv.patrick@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>

* Update images.

* Add images.

* linnk lwx

* Update apps/www/_blog/2023-12-14-supabase-auth-identity-linking-hooks.mdx

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

---------

Co-authored-by: Ramiro Nuñez Dosio <ramiro@supabase.io>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Lakshan Perera <lakshan@supabase.io>
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Tyler <18113850+dshukertjr@users.noreply.github.com>
Co-authored-by: Bo Lu <lv.patrick@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Tobias Törnros <t.tornros@gmail.com>
2023-12-14 15:58:42 +00:00
Ivan Vasilov acdacbadcd chore: Fix the types in the ui package (#19633)
* Enable the typecheck command for the ui package.

* Ignore the stories.tsx files when typechecking.

* Remove the unused Avatar component. We can use the one provided by shadcn now.

* Rename the datatable.stories file.

* Fix various type errors.

* Fix the Toast component.
2023-12-14 15:22:33 +01:00
Ivan Vasilov e5cd2686f7 chore: Migrate profile information to use react-hook-form (#19675)
* Fix the icon in the theme listbox.

* Remove visible prop on FormSection since it used block which clashes with grid CSS class.

* Migrate the user profile form to use react-hook-form.
2023-12-14 15:08:56 +01:00
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
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
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
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
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
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 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
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
Kevin Grüneberg fb4dc35493 chore: use light mode of lottie (#18705) 2023-11-07 20:17:17 +01:00
Yug Bhanushali 68a91f0381 fixes quotes in search result (using cmdk) crashes the application (#18302)
* fixed quotes in search result (using cmdk) crashes the application

* fixed quotes in search result (using cmdk) crashes the application

* fixes quotes in search result (using cmdk) crashes the application
2023-11-07 15:33:27 +01:00
Joshen Lim 9bc6b8e2ce Chore/make api docs permanent (#18749)
* Make all UI components behind useIsAPIDocsSidePanelEnabled permanent

* Deprecate table editor api side panel component

* Simplify table editor grid code RE API docs button

* Deprecate all old API page and components

* Fix NewProjectPanel

* Clean up Modal component in UI library and add empty state for feature preview

* Reinstate closable prop in Modal, add deprecated comment

* Add deprecate comments for lib/common/fetchers, to use data/fetchers instead
2023-11-07 13:50:34 +08:00
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
Ivan VasilovandJoshen Lim e02181aba8 feat: Realtime inspector (#17617)
* Initial work.

* Cleanup the listbox component.

* Set the endpoint correctly.

* Add checks for permissions on the realtime inspector.

* Make the select for choosing tokens.

* Make the JWT input work with the toggle.

* Change the icon for broadcast.

* Add a modal for sending an event.

* Fix the events table to use react-data-grid.

* Remove table id.

* Refactor the no-results component.

* Fix the listening state to match the new designs.

* Add a functional no results component.

* Remove unnecessary index page on realtime

* First round of small styling and interaction behaviours fixes

* Another round of small styling fixes

* One more styling fix

* Another style fix

* One last styling fixes

* Add line

* last last fix

* Rename events to messages.

* Rename all files related to realtime messages to use the message wording.

* Update the icon for realtime in the left sidebar.

* Minor fix for the shimmer line.

* Make the Realtime icons use currentColor.

* Listen to all schemas by default.

* Add all schemas option to the schema filter.

* Fix the colors for error rows in the realtime table.

* Fix the system icon to sit in center.

* Use the correct icon for the right bar navigation.

* Remove the realtime icon since it's not used anywhere.

* Fix the filter popover colors.

* Remove the side panel background color.

* Add link to documentation on the filtering panel.

* Refactor the RLS popover to the new design.

* Minor styling fixes.

* Add code editor to the send message modal.

* Update the wording per Terry suggestions.

* Remove default channel + fix filter button styling

* Small styling fixes

* Update messagestable

* Deprecate all schema selector, extend existing schema selector

* remove unnecessary divs

* Last few fixes

* okay last few

* Small padding issue

* Improve label

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-11-06 15:32:20 +08:00
Kevin Grüneberg c768f36eeb chore: cleanup older toggles (#18675) 2023-11-03 11:59:13 +00:00
Kevin Grüneberg 0ba347ba00 fix: subscription/addons links (#18663) 2023-11-02 20:28:14 +01:00