Commit Graph
1378 Commits
Author SHA1 Message Date
Charis 2a0c0e06b8 readd docs api config variables with fixes (#20309) 2024-01-23 07:53:10 +11:00
Jordi Enric ed736a7df6 ui fix: rm shadow (#20627)
rm shadow
2024-01-22 10:39:09 +00:00
Jordi Enric eef923e842 fix: add ref, a11y fix and forward ref (#20570)
* add ref, a11y fix and forward ref

* add test for navmenuitem
2024-01-22 11:03:25 +01:00
Jordi Enric b35443ccaa chore: migrate tabs component to new NavMenu component (#20447)
* migrate vault tabs to shadcn

* fix lightmode D:

* refactor to use <Link> so its more accessible

* rm commented code

* add navigation-tabs compo

* use shadcn tabs instead

* rm navigationtabs compo

* add new navmenu compo for tabs that require navigation

* make label optional and pass ref of nav element
2024-01-18 11:40:50 +01:00
Joshen Lim 36a0d62404 Fix toast alignment (#20431) 2024-01-15 18:17:02 +08:00
Francesco Sansalvadore d1b4e46592 Update www banners (#20194)
* remove lwx announcements
* update mobile consentToast
* update consentToast mobile links
2024-01-12 15:34:04 +01:00
Charis 94a07fe724 remove or warn about getSession calls in docs (#20308) 2024-01-10 14:30:26 +00:00
Charis 10da8f3f31 Revert "feat: display api urls and keys instead of placeholders in do… (#20302)
Revert "feat: display api urls and keys instead of placeholders in docs (#19672)"

This reverts commit 0e8ee2e890.
2024-01-10 05:45:44 -05:00
6d121f1546 feat(dashboard): Add column-level privileges management (#13745)
* add privileges page

* fix

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

* Trigger Build

* load permissions data for current table only

* fix style for light theme

* add a guide to Privileges

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

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

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

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

* Update doc

* Update docs

* progress moving privileges to pg-meta

* split up column privileges and table privileges

* adds loading state to toggles

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

* Cleanup

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

* Add alert if any columns have privilages

* Spelling

* fix api.d.ts

* fix link

* move to auth pages

* only show editable schemas

* limit roles

* auto select first table

* remove roles meta store

* inline toggling

* apply privileges all at once

* add preview and use new switch component

* fix spelling

* handle long column names

* warn users about losing changes when changing schemas/tables

* remove strange docs link

* fix feature preview after reload

* use shadcn select

* Update select.tsx

* Minor UX fixes

* Update toast

* Update feature preview image for cls

* update cls warnings

* update warnings

* fix toast message

* Add migration alert to preview page

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

* Shift local storage keys hard code to lib/constants

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-10 17:39:03 +11:00
CharisandJoshen Lim 0e8ee2e890 feat: display api urls and keys instead of placeholders in docs (#19672)
**feat:** adds a component to display API endpoints and anon keys in docs if user is authenticated
makes the getting started UX smoother so users don't have to jump back and forth between docs and trying to find their keys in dashboard

**out of scope:** it would be very cool to display these directly in the code blocks. I looked into it and it would require quite a bit of work forking and modifying code-hike, so out of scope for now

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-09 15:00:31 -05:00
Jordi Enric 3ee9e8fb28 Chore/update tailwind 3.4.1 (#20268)
* upgrade tailwind

* add package-lock

* upgrade in ui and config packages
2024-01-09 14:50:13 +01:00
ClarenceandAlaister Young 432de2fc69 chore: clean up on empty className attributes (#20203)
clean up on empty className attrib

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-01-08 05:49:28 +00:00
Joshen Lim 34a2ccdae3 feat/notifications v2 (#19162)
* Midway implementation notifications v2

* Some updates to Tab component

* Midway implementation notifications v2 again

* implement infinite scrolling and loading for notification sv2

* Add button actions

* Implement archive notifications

* Add filter dropdown for notifications

* Update date format

* Small style fix

* Update

* Update API codegen

* Add empt state

* Add empty state for archived notifications

* Fix type

* Final changes to notifications v2

* Small style fix

* Small fix

* Only mark notifications that come into view as read

* Update package lock
2024-01-08 12:52:48 +08:00
Charis a23f977e97 fix cmdk links (#19882)
* fix cmdk links

* fix studio links being broken in docs cmdk
2024-01-03 16:08:53 -03:30
Ivan Vasilov bf4421aca8 fix: Remove datatable story (#20019)
Remove the datatable story since we don't have a datatable component.
2024-01-02 11:56:43 +01:00
Clarence a665bb570a UI/Docs: fixed typos in tailwind-theming.md and removed trailing whitespace (#19960)
* docs: fixed typo drodowns -->  dropdowns

* docs: fixed typo Alernative -->  Alternative

* removed trailing whitespace
2023-12-22 10:51:21 +01:00
Terry SuttonandIvan Vasilov c37fa950ea Chore/rewrite roles form with shadcn (#19923)
* Fix new role form

* Rewrite form

* Commit a sin against ts

* Make the afterLabel a ReactNode.

* Fix minor type issues.

* Fix type

* Types

* Use lodash sortBy instead of the mutating array.sort.

* Fix the order of the roles with active connections.

* Sort the roles by lowercased names.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-12-21 23:45:47 +01:00
Francesco Sansalvadore 612858831f Update homepage customer stories (#19915)
update homepage customer stories
2023-12-21 14:19:08 +01:00
Francesco Sansalvadore 8da4fd2f18 chore: Migrate Lottie animation (#19922) 2023-12-21 08:45:26 +01:00
Joshen Lim 6f78b4fc2e Fix Listbox not re rendering properly (#19933)
* Fix Listbox not re rendering properly

* Remove console log

* Fix listbox not re rendering properly
2023-12-21 12:38:28 +07:00
Terry Sutton f30c08a3fd Fix/cmd k menu items (#19850)
Fix cmd menu items
2023-12-19 12:24:56 +01:00
Francesco Sansalvadore acd1c02cf9 Post X (#19828)
* chore/x-post

* update hero cta

* add blog post cta to client libs build stage item

* fix padding

* lw code cleanup
2023-12-18 16:12:51 +01:00
Francesco Sansalvadore c8bb436ba7 Bernard (#19782)
Launch Week X - Day 5 Announcement
2023-12-15 16:45:26 +01:00
Austin Tran b29676d390 fix: missed bottom menu in sidepanel on mobile (#18985)
* fix: missed bottom menu in sidepanel on mobile

* chore: specific height on lg based on suggestion
2023-12-14 15:44:59 -03:30
Francesco Sansalvadore 02887e5f85 Starbuck updates (#19737)
fix links
2023-12-14 16:34:21 +00:00
+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
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
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