* 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
* 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>
**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>
* 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
* 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>
* refactor: ai sql logic to common package
* feat: ai sql tests
* feat: test rls policy ai chat assistant
* refactor: jest env loading
* feat(ai): improve sql title and description quality
* fix: ai message role type
* Move the new files to a separate package.
* Remove a forgotten console.log.
* Migrate the tests to use snapshots and commit the snapshots.
* Separate the functions which require edge runtime to be exported via /edge subpath.
* Bust the turbo cache when one of the deps has been rebuilt.
* chore: fix package main/type references
* fix: package lock out of sync
* fix: ai sql debugging to fix typos
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* 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>
* 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.
* 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.
* 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>
* 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