The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Minor tweaks to the Convex compete page (#41913)
Prashant Sridharan94bee5edeb1c
diff --git a/apps/www/data/solutions/convex.tsx b/apps/www/data/solutions/convex.tsxindex e31d496a368..6ead8869eb8 100644--- a/apps/www/data/solutions/convex.tsx+++ b/apps/www/data/solutions/convex.tsx@@ -11,6 +11,9 @@ import {Code2,Check,InfoIcon,+ TrendingUp,+ Puzzle,+ DollarSign,} from 'lucide-react'import RealtimeLogs from 'components/Products/Functions/RealtimeLogs'@@ -90,9 +93,23 @@ const data = {{id: 'postgres-first',icon: Database,- heading: 'A proven Postgres foundation',+ heading: "It's just Postgres",subheading:- "Real Postgres means real scale. Start small and grow to millions of users on the same database that powers the world's most demanding applications. Use any SQL client, ORM, or database tool. Connect with pgAdmin, Postico, DBeaver, or your favorite tool. Tap into the most popular Postgres extensions, including: PostGIS for geospatial, pgvector for AI, and more. No proprietary query language. No artificial limits. Just standard SQL that works everywhere.",+ "Familiar SQL, familiar model, proven platform. No proprietary query language. No artificial limits. Just standard SQL that works everywhere. Postgres powers the world's most demanding applications, and you get the same battle-tested database.",+ },+ {+ id: 'scale-to-millions',+ icon: TrendingUp,+ heading: 'Scale to millions',+ subheading:+ 'Real Postgres means real scale. Start small and grow to millions of users on the same database. Postgres handles everything from startups to enterprise workloads with proven scalability. Your database grows with you, no migrations needed.',+ },+ {+ id: 'powerful-ecosystem',+ icon: Puzzle,+ heading: 'A powerful ecosystem',+ subheading:+ 'Connect with pgAdmin, Postico, DBeaver, or your favorite tool. Use any SQL client, ORM, or database tool. Tap into the most popular Postgres extensions, including: PostGIS for geospatial, pgvector for AI, and more. The entire Postgres ecosystem is at your fingertips.',},{id: 'complete-stack',@@ -124,7 +141,7 @@ const data = {},{id: 'predictable-pricing',- icon: Lock,+ icon: DollarSign,heading: 'Fair, predictable pricing',subheading:"Supabase charges for what you use, not how your data syncs. No surprise bandwidth bills from real-time subscriptions. No per-function-call pricing that explodes with traffic. Postgres connection pooling means efficient resource usage at any scale. Know what you'll pay before you ship.",diff --git a/packages/ui-patterns/src/FilterBar/FilterBarContext.tsx b/packages/ui-patterns/src/FilterBar/FilterBarContext.tsxindex e17ba0f0d68..3209976d6f0 100644--- a/packages/ui-patterns/src/FilterBar/FilterBarContext.tsx+++ b/packages/ui-patterns/src/FilterBar/FilterBarContext.tsx@@ -42,7 +42,10 @@ export type FilterBarContextValue = {handleLogicalOperatorChange: (path: number[]) => void// Options cache- propertyOptionsCache: Record<string, { options: (string | FilterOptionObject)[]; searchValue: string }>+ propertyOptionsCache: Record<+ string,+ { options: (string | FilterOptionObject)[]; searchValue: string }+ >loadingOptions: Record<string, boolean>loadPropertyOptions: (property: FilterProperty, search: string) => voidoptionsError: string | nulldiff --git a/packages/ui-patterns/src/FilterBar/menuItems.ts b/packages/ui-patterns/src/FilterBar/menuItems.tsindex aed549c0f0d..85d3d67e662 100644--- a/packages/ui-patterns/src/FilterBar/menuItems.ts+++ b/packages/ui-patterns/src/FilterBar/menuItems.ts@@ -1,6 +1,11 @@import { ActiveInput } from './hooks'import { FilterBarAction, FilterGroup, FilterProperty } from './types'-import { findConditionByPath, isCustomOptionObject, isFilterOptionObject, isFilterOperatorObject } from './utils'+import {+ findConditionByPath,+ isCustomOptionObject,+ isFilterOptionObject,+ isFilterOperatorObject,+} from './utils'export type MenuItem = {value: stringdiff --git a/packages/ui-patterns/src/FilterBar/types.ts b/packages/ui-patterns/src/FilterBar/types.tsindex 37c5102cf6e..73d2b58e9db 100644--- a/packages/ui-patterns/src/FilterBar/types.ts+++ b/packages/ui-patterns/src/FilterBar/types.ts@@ -61,7 +61,10 @@ export type FilterBarAction = {) => void | Promise<void>}-export type SerializableFilterProperty = Pick<FilterProperty, 'label' | 'name' | 'type' | 'operators'> & {+export type SerializableFilterProperty = Pick<+ FilterProperty,+ 'label' | 'name' | 'type' | 'operators'+> & {options?: string[]}diff --git a/packages/ui-patterns/src/FilterBar/useKeyboardNavigation.ts b/packages/ui-patterns/src/FilterBar/useKeyboardNavigation.tsindex a18d0231639..2e50b9ecbb1 100644--- a/packages/ui-patterns/src/FilterBar/useKeyboardNavigation.ts+++ b/packages/ui-patterns/src/FilterBar/useKeyboardNavigation.ts@@ -246,7 +246,13 @@ export function useKeyboardNavigation({}}},- [activeInput, activeFilters, findFirstConditionInGroup, findNextConditionFromGroup, setActiveInput]+ [+ activeInput,+ activeFilters,+ findFirstConditionInGroup,+ findNextConditionFromGroup,+ setActiveInput,+ ])const handleKeyDown = useCallback(diff --git a/packages/ui-patterns/src/FilterBar/utils.ts b/packages/ui-patterns/src/FilterBar/utils.tsindex 709bd6ef117..62f8253562c 100644--- a/packages/ui-patterns/src/FilterBar/utils.ts+++ b/packages/ui-patterns/src/FilterBar/utils.ts@@ -59,7 +59,9 @@ export function isFilterOptionObject(option: any): option is FilterOptionObject}export function isFilterOperatorObject(operator: any): operator is FilterOperatorObject {- return typeof operator === 'object' && operator !== null && 'value' in operator && 'label' in operator+ return (+ typeof operator === 'object' && operator !== null && 'value' in operator && 'label' in operator+ )}export function isAsyncOptionsFunction(@@ -132,7 +134,9 @@ export function addFilterToGroup(): FilterGroup {if (path.length === 0) {const firstOperator = property.operators?.[0] || '='- const operatorValue = isFilterOperatorObject(firstOperator) ? firstOperator.value : firstOperator+ const operatorValue = isFilterOperatorObject(firstOperator)+ ? firstOperator.value+ : firstOperatorreturn {...group,