mirror of
https://github.com/supabase/supabase.git
synced 2026-10-19 08:09:11 +03:00
add Admonition to Design System
This commit is contained in:
1 parent
803aa04645
commit
56ab7c2ff3
36 files changed
+1253
-751
No files matched your search
@@ -49,6 +49,39 @@ export const Index: Record<string, any> = {
|
||||
subcategory: "undefined",
|
||||
chunks: []
|
||||
},
|
||||
"admonition-demo": {
|
||||
name: "admonition-demo",
|
||||
type: "components:example",
|
||||
registryDependencies: ["admonition"],
|
||||
component: React.lazy(() => import("@/registry/default/example/admonition-demo")),
|
||||
source: "",
|
||||
files: ["registry/default/example/admonition-demo.tsx"],
|
||||
category: "undefined",
|
||||
subcategory: "undefined",
|
||||
chunks: []
|
||||
},
|
||||
"admonition-warning": {
|
||||
name: "admonition-warning",
|
||||
type: "components:example",
|
||||
registryDependencies: ["admonition"],
|
||||
component: React.lazy(() => import("@/registry/default/example/admonition-warning")),
|
||||
source: "",
|
||||
files: ["registry/default/example/admonition-warning.tsx"],
|
||||
category: "undefined",
|
||||
subcategory: "undefined",
|
||||
chunks: []
|
||||
},
|
||||
"admonition-destructive": {
|
||||
name: "admonition-destructive",
|
||||
type: "components:example",
|
||||
registryDependencies: ["admonition"],
|
||||
component: React.lazy(() => import("@/registry/default/example/admonition-destructive")),
|
||||
source: "",
|
||||
files: ["registry/default/example/admonition-destructive.tsx"],
|
||||
category: "undefined",
|
||||
subcategory: "undefined",
|
||||
chunks: []
|
||||
},
|
||||
"alert-demo": {
|
||||
name: "alert-demo",
|
||||
type: "components:example",
|
||||
|
||||
@@ -72,6 +72,11 @@ export const docsConfig: DocsConfig = {
|
||||
{
|
||||
title: 'Fragment Components',
|
||||
items: [
|
||||
{
|
||||
title: 'Admonition',
|
||||
href: '/docs/fragments/admonition',
|
||||
items: [],
|
||||
},
|
||||
{
|
||||
title: 'Text Confirm Dialog',
|
||||
href: '/docs/fragments/text-confirm-dialog',
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
---
|
||||
title: Admonition
|
||||
description: Displays a callout for user attention.
|
||||
fragment: true
|
||||
links:
|
||||
doc: https://www.radix-ui.com/docs/primitives/components/alert
|
||||
api: https://www.radix-ui.com/docs/primitives/components/alert#api-reference
|
||||
---
|
||||
|
||||
<ComponentPreview
|
||||
name="admonition-demo"
|
||||
className="[&_.preview>[data-orientation=vertical]]:sm:max-w-[70%]"
|
||||
peekCode
|
||||
wide
|
||||
/>
|
||||
|
||||
## Usage
|
||||
|
||||
```tsx
|
||||
import { Admonition } from 'ui-patterns/admonition'
|
||||
```
|
||||
|
||||
```tsx
|
||||
<Admonition
|
||||
type="default"
|
||||
title="Is it accessible?"
|
||||
description="Yes. It adheres to the WAI-ARIA design pattern."
|
||||
/>
|
||||
```
|
||||
|
||||
## Examples
|
||||
|
||||
### Warning
|
||||
|
||||
<ComponentPreview
|
||||
name="admonition-warning"
|
||||
className="[&_.preview>[data-orientation=vertical]]:sm:max-w-[70%]"
|
||||
/>
|
||||
|
||||
### Destructive
|
||||
|
||||
<ComponentPreview
|
||||
name="admonition-destructive"
|
||||
className="[&_.preview>[data-orientation=vertical]]:sm:max-w-[70%]"
|
||||
/>
|
||||
@@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"dev": "next dev --port 3003",
|
||||
"build": "npm run content:build && npm run build:registry && next build",
|
||||
"build:registry": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-registry.mts && prettier --log-level silent --write \"registry/**/*.{ts,tsx,mdx}\" --cache",
|
||||
"start": "next start",
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import { Admonition } from 'ui-patterns/admonition'
|
||||
|
||||
export default function AdmonitionDemo() {
|
||||
return (
|
||||
<Admonition
|
||||
type="default"
|
||||
title="Is it accessible?"
|
||||
description="Yes. It adheres to the WAI-ARIA design pattern."
|
||||
/>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import { Admonition } from 'ui-patterns/admonition'
|
||||
|
||||
export default function AdmonitionDestructive() {
|
||||
return (
|
||||
<Admonition
|
||||
type="destructive"
|
||||
title="This is a destructive admonition"
|
||||
description="This is a destructive admonition description."
|
||||
/>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import { Admonition } from 'ui-patterns/admonition'
|
||||
|
||||
export default function AdmonitionWarning() {
|
||||
return (
|
||||
<Admonition
|
||||
type="warning"
|
||||
title="This is a warning"
|
||||
description="This is a warning description."
|
||||
/>
|
||||
)
|
||||
}
|
||||
@@ -7,6 +7,24 @@ export const examples: Registry = [
|
||||
registryDependencies: ['accordion'],
|
||||
files: ['example/accordion-demo.tsx'],
|
||||
},
|
||||
{
|
||||
name: 'admonition-demo',
|
||||
type: 'components:example',
|
||||
registryDependencies: ['admonition'],
|
||||
files: ['example/admonition-demo.tsx'],
|
||||
},
|
||||
{
|
||||
name: 'admonition-warning',
|
||||
type: 'components:example',
|
||||
registryDependencies: ['admonition'],
|
||||
files: ['example/admonition-warning.tsx'],
|
||||
},
|
||||
{
|
||||
name: 'admonition-destructive',
|
||||
type: 'components:example',
|
||||
registryDependencies: ['admonition'],
|
||||
files: ['example/admonition-destructive.tsx'],
|
||||
},
|
||||
{
|
||||
name: 'alert-demo',
|
||||
type: 'components:example',
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { useState } from 'react'
|
||||
import { Admonition, Button, Input } from 'ui'
|
||||
import { Button, Input } from 'ui'
|
||||
import { Admonition } from 'ui-patterns/admonition'
|
||||
|
||||
function base64URL(value: string) {
|
||||
return globalThis.btoa(value).replace(/[=]/g, '').replace(/[+]/g, '-').replace(/[\/]/g, '_')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import Link from 'next/link'
|
||||
import { Admonition } from 'ui'
|
||||
import { Admonition } from 'ui-patterns/admonition'
|
||||
|
||||
const CostWarning = () => (
|
||||
<Admonition type="warning">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import Link from 'next/link'
|
||||
import { useRouter } from 'next/router'
|
||||
import { Admonition } from 'ui'
|
||||
import { Admonition } from 'ui-patterns/admonition'
|
||||
import { useMenuActiveRefId } from '~/hooks/useMenuState'
|
||||
import { ICommonSection } from './Reference.types'
|
||||
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
import Link from 'next/link'
|
||||
import { Admonition, Button, IconAlertCircle } from 'ui'
|
||||
import { Button, IconAlertCircle } from 'ui'
|
||||
import { Admonition } from 'ui-patterns/admonition'
|
||||
|
||||
import InformationBox from 'components/ui/InformationBox'
|
||||
import type { MemberWithFreeProjectLimit } from 'data/organizations/free-project-limit-check-query'
|
||||
|
||||
@@ -5,105 +5,105 @@
|
||||
<link>https://supabase.com</link>
|
||||
<description>Latest news from Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Wed, 29 Nov 2023 23:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Wed, 29 Nov 2023 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/shotgun</guid>
|
||||
<title>Supabase migration delivers an 83% reduction in data infrastructure costs for Shotgun</title>
|
||||
<link>https://supabase.com/customers/shotgun</link>
|
||||
<description>Discover how Shotgun, an event ticketing platform with over 3 million users, reduced costs and consolidated systems through migration to Supabase.</description>
|
||||
<pubDate>Wed, 29 Nov 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 29 Nov 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/next-door-lending</guid>
|
||||
<title>How Next Door Lending leveraged Supabase to become a top 10 mortgage broker</title>
|
||||
<link>https://supabase.com/customers/next-door-lending</link>
|
||||
<description>Discover how Supabase empowered NextDoorLending to move quickly and scale as required, leading to their surpassing other mortgage brokers and expanding their business.</description>
|
||||
<pubDate>Tue, 07 Nov 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Tue, 07 Nov 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/good-tape</guid>
|
||||
<title>Good Tape migrates to Supabase managed Postgres and Authentication and achieves database efficiency and a 60% cost reduction.</title>
|
||||
<link>https://supabase.com/customers/good-tape</link>
|
||||
<description>Explore how Good Tape achieved remarkable database efficiency and reduced costs by 60% through their successful migration to Supabase's managed services.</description>
|
||||
<pubDate>Mon, 30 Oct 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Mon, 30 Oct 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/pebblely</guid>
|
||||
<title>Scaling securely: one million users in 7 months with Supabase Auth</title>
|
||||
<link>https://supabase.com/customers/pebblely</link>
|
||||
<description>Learn how Pebblely, an AI image generation company, used Supabase Auth to handle Single Sign On for their rapidly growing user base.</description>
|
||||
<pubDate>Thu, 28 Sep 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 28 Sep 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/chatbase</guid>
|
||||
<title>Bootstrapped founder builds an AI app with Supabase and scales to $1M in 5 months</title>
|
||||
<link>https://supabase.com/customers/chatbase</link>
|
||||
<description>How Yasser leveraged Supabase to build Chatbase and became one of the most successful single-founder AI products.</description>
|
||||
<pubDate>Tue, 05 Sep 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Tue, 05 Sep 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/quivr</guid>
|
||||
<title>Quivr launch 5,000 Vector databases on Supabase.</title>
|
||||
<link>https://supabase.com/customers/quivr</link>
|
||||
<description>Learn how one of the most popular Generative AI projects uses Supabase as their Vector Store.</description>
|
||||
<pubDate>Mon, 04 Sep 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Mon, 04 Sep 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/berriai</guid>
|
||||
<title>Berri AI boosts productivity by migrating from AWS RDS to Supabase Vector</title>
|
||||
<link>https://supabase.com/customers/berriai</link>
|
||||
<description>Learn how Berri AI overcame challenges with self-hosting their vector database on AWS RDS and successfully migrated to Supabase.</description>
|
||||
<pubDate>Mon, 05 Jun 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Mon, 05 Jun 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/markprompt</guid>
|
||||
<title>Markprompt and Supabase - GDPR-compliant AI chatbots for docs and websites.</title>
|
||||
<link>https://supabase.com/customers/markprompt</link>
|
||||
<description>AI-powered chatbot platform, Markprompt, empowers developers to deliver efficient and GDPR-compliant prompt experiences on top of their content, by leveraging Supabase's secure and privacy-focused vector database and authentication solutions.</description>
|
||||
<pubDate>Tue, 16 May 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Tue, 16 May 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/mendableai</guid>
|
||||
<title>Mendable switches from Pinecone to Supabase Vector for PostgreSQL vector embeddings.</title>
|
||||
<link>https://supabase.com/customers/mendableai</link>
|
||||
<description>How Mendable boosts efficiency and accuracy of chat powered search for documentation using Supabase Vector.</description>
|
||||
<pubDate>Thu, 04 May 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 04 May 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/happyteams</guid>
|
||||
<title>HappyTeams unlocks better performance and reduces cost with Supabase.</title>
|
||||
<link>https://supabase.com/customers/happyteams</link>
|
||||
<description>How a bootstrapped startup migrated from Heroku to Supabase in 30 minutes and never looked back.</description>
|
||||
<pubDate>Wed, 15 Feb 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 15 Feb 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/xendit</guid>
|
||||
<title>Xendit use Supabase and create a full solution shipped to production in less than one week.</title>
|
||||
<link>https://supabase.com/customers/xendit</link>
|
||||
<description>As a payment processor, Xendit are responsible for verifying that all transactions are legal.</description>
|
||||
<pubDate>Mon, 13 Feb 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Mon, 13 Feb 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/replenysh</guid>
|
||||
<title>Replenysh uses Supabase to implement OTP in less than 24 hours.</title>
|
||||
<link>https://supabase.com/customers/replenysh</link>
|
||||
<description>With Supabase, Replenysh gets a slick auth experience, reduces DevOps overhead, and continues to scale with Postgres.</description>
|
||||
<pubDate>Mon, 13 Feb 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Mon, 13 Feb 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/mobbin</guid>
|
||||
<title>How Mobbin migrated 200,000 users from Firebase for a better authentication experience.</title>
|
||||
<link>https://supabase.com/customers/mobbin</link>
|
||||
<description>Mobbin helps over 200,000 creators globally search and view the latest design patterns from well-known apps.</description>
|
||||
<pubDate>Mon, 13 Feb 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Mon, 13 Feb 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/customers/epsilon3</guid>
|
||||
<title>Epsilon3 digitize paper-based procedures in the space industry using telemetry data, simplifying testing and operations.</title>
|
||||
<link>https://supabase.com/customers/epsilon3</link>
|
||||
<description>Epsilon3 uses Supabase to help teams execute secure and reliable operations in an industry where project spend runs into the billions.</description>
|
||||
<pubDate>Mon, 13 Feb 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Mon, 13 Feb 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,35 +5,35 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Angelico de los Reyes at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Thu, 15 Dec 2022 23:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Thu, 15 Dec 2022 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-angelico_de_los_reyes-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgres-point-in-time-recovery</guid>
|
||||
<title>Point in Time Recovery is now available for Pro projects</title>
|
||||
<link>https://supabase.com/blog/postgres-point-in-time-recovery</link>
|
||||
<description>We're making PITR available for more projects, with a new Dashboard UI that makes it simple to use.</description>
|
||||
<pubDate>Thu, 15 Dec 2022 23:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 15 Dec 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/continuous-postgresql-backup-walg</guid>
|
||||
<title>Continuous PostgreSQL Backups using WAL-G</title>
|
||||
<link>https://supabase.com/blog/continuous-postgresql-backup-walg</link>
|
||||
<description>Have you ever wanted to restore your database's state to a particular moment in time? This post explains how, using WAL-G.</description>
|
||||
<pubDate>Sat, 01 Aug 2020 22:00:00 GMT</pubDate>
|
||||
<pubDate>Sat, 01 Aug 2020 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgresql-templates</guid>
|
||||
<title>What are PostgreSQL Templates?</title>
|
||||
<link>https://supabase.com/blog/postgresql-templates</link>
|
||||
<description>What are PostgreSQL templates and what are they used for?</description>
|
||||
<pubDate>Wed, 08 Jul 2020 22:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 08 Jul 2020 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgresql-physical-logical-backups</guid>
|
||||
<title>Physical vs Logical Backups in PostgreSQL</title>
|
||||
<link>https://supabase.com/blog/postgresql-physical-logical-backups</link>
|
||||
<description>What are physical and logical backups in Postgres?</description>
|
||||
<pubDate>Mon, 06 Jul 2020 22:00:00 GMT</pubDate>
|
||||
<pubDate>Mon, 06 Jul 2020 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Ant Wilson at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Fri, 26 Feb 2021 23:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Fri, 26 Feb 2021 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-ant_wilson-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/cracking-postgres-interview</guid>
|
||||
<title>Cracking PostgreSQL Interview Questions</title>
|
||||
<link>https://supabase.com/blog/cracking-postgres-interview</link>
|
||||
<description>Understand the top PostgreSQL Interview Questions</description>
|
||||
<pubDate>Fri, 26 Feb 2021 23:00:00 GMT</pubDate>
|
||||
<pubDate>Fri, 26 Feb 2021 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Bo Lu at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Wed, 13 Dec 2023 23:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Wed, 13 Dec 2023 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-bo_lu-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/supabase-wrappers-v02</guid>
|
||||
<title>Supabase Wrappers v0.2: Query Pushdown & Remote Subqueries</title>
|
||||
<link>https://supabase.com/blog/supabase-wrappers-v02</link>
|
||||
<description>Supabase Wrappers v0.2 brings more Wrappers, query pushdown, remote subquery, and more</description>
|
||||
<pubDate>Wed, 13 Dec 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 13 Dec 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,21 +5,21 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Mark Burggraf at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Wed, 23 Nov 2022 23:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Wed, 23 Nov 2022 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-burggraf-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/sql-or-nosql-both-with-postgresql</guid>
|
||||
<title>SQL or NoSQL? Why not use both (with PostgreSQL)?</title>
|
||||
<link>https://supabase.com/blog/sql-or-nosql-both-with-postgresql</link>
|
||||
<description>How to turn Postgres into an easy-to-use NoSQL database that retains all the power of SQL</description>
|
||||
<pubDate>Wed, 23 Nov 2022 23:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 23 Nov 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgres-wasm</guid>
|
||||
<title>Postgres WASM by Snaplet and Supabase</title>
|
||||
<link>https://supabase.com/blog/postgres-wasm</link>
|
||||
<description>We're open sourcing postgres-wasm, a PostgresQL server that runs inside a browser, with our friends at Snaplet.</description>
|
||||
<pubDate>Sun, 02 Oct 2022 22:00:00 GMT</pubDate>
|
||||
<pubDate>Sun, 02 Oct 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,21 +5,21 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Egor Romanov at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Wed, 02 Aug 2023 22:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Wed, 02 Aug 2023 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-egor_romanov-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/fewer-dimensions-are-better-pgvector</guid>
|
||||
<title>pgvector: Fewer dimensions are better</title>
|
||||
<link>https://supabase.com/blog/fewer-dimensions-are-better-pgvector</link>
|
||||
<description>Increase performance in pgvector by using embedding vectors with fewer dimensions</description>
|
||||
<pubDate>Wed, 02 Aug 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 02 Aug 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/pgvector-performance</guid>
|
||||
<title>pgvector 0.4.0 performance</title>
|
||||
<link>https://supabase.com/blog/pgvector-performance</link>
|
||||
<description>There's been a lot of talk about pgvector performance lately, so we took some datasets and pushed pgvector to the limits to find out its strengths and limitations.</description>
|
||||
<pubDate>Wed, 12 Jul 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 12 Jul 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Filipe Cabaço at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Mon, 08 Jan 2024 23:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Mon, 08 Jan 2024 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-filipe-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/elixir-clustering-using-postgres</guid>
|
||||
<title>Elixir clustering using Postgres</title>
|
||||
<link>https://supabase.com/blog/elixir-clustering-using-postgres</link>
|
||||
<description>Learn about our approach to connecting multiple nodes in Elixir using Postgres</description>
|
||||
<pubDate>Mon, 08 Jan 2024 23:00:00 GMT</pubDate>
|
||||
<pubDate>Mon, 08 Jan 2024 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,28 +5,28 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Greg Richardson at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Tue, 05 Sep 2023 22:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Tue, 05 Sep 2023 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-gregnr-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/increase-performance-pgvector-hnsw</guid>
|
||||
<title>pgvector v0.5.0: Faster semantic search with HNSW indexes</title>
|
||||
<link>https://supabase.com/blog/increase-performance-pgvector-hnsw</link>
|
||||
<description>Increase performance in pgvector using HNSW indexes</description>
|
||||
<pubDate>Tue, 05 Sep 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Tue, 05 Sep 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/fewer-dimensions-are-better-pgvector</guid>
|
||||
<title>pgvector: Fewer dimensions are better</title>
|
||||
<link>https://supabase.com/blog/fewer-dimensions-are-better-pgvector</link>
|
||||
<description>Increase performance in pgvector by using embedding vectors with fewer dimensions</description>
|
||||
<pubDate>Wed, 02 Aug 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 02 Aug 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/openai-embeddings-postgres-vector</guid>
|
||||
<title>Storing OpenAI embeddings in Postgres with pgvector</title>
|
||||
<link>https://supabase.com/blog/openai-embeddings-postgres-vector</link>
|
||||
<description>An example of how to build an AI-powered search engine using OpenAI's embeddings and PostgreSQL.</description>
|
||||
<pubDate>Sun, 05 Feb 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Sun, 05 Feb 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,21 +5,14 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Michel Pelletier at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Thu, 15 Dec 2022 23:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Thu, 15 Dec 2022 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-michel-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/vault-now-in-beta</guid>
|
||||
<title>Supabase Vault is now in Beta</title>
|
||||
<link>https://supabase.com/blog/vault-now-in-beta</link>
|
||||
<description>A Postgres extension to store encrypted secrets and encrypt data.</description>
|
||||
<pubDate>Thu, 15 Dec 2022 23:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/transparent-column-encryption-with-postgres</guid>
|
||||
<title>Transparent Column Encryption with Postgres</title>
|
||||
<link>https://supabase.com/blog/transparent-column-encryption-with-postgres</link>
|
||||
<description>Using pgsodium's Transparent Column Encryption to encrypt data and provide your users with row-level encryption.</description>
|
||||
<pubDate>Wed, 30 Nov 2022 23:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 15 Dec 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,63 +5,63 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Oliver Rice at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Tue, 12 Dec 2023 23:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Tue, 12 Dec 2023 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-oli_rice-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgrest-12</guid>
|
||||
<title>PostgREST 12</title>
|
||||
<link>https://supabase.com/blog/postgrest-12</link>
|
||||
<description>PostgREST 12 is out and we take a look at some of the major new features like JWT Caching and Aggregate Functions</description>
|
||||
<pubDate>Tue, 12 Dec 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Tue, 12 Dec 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/pg-graphql-postgres-functions</guid>
|
||||
<title>pg_graphql: Postgres functions now supported</title>
|
||||
<link>https://supabase.com/blog/pg-graphql-postgres-functions</link>
|
||||
<description>pg_graphql now supports the most requested feature: Postgres functions a.k.a. User Defined Functions (UDFs)</description>
|
||||
<pubDate>Mon, 11 Dec 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Mon, 11 Dec 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/fewer-dimensions-are-better-pgvector</guid>
|
||||
<title>pgvector: Fewer dimensions are better</title>
|
||||
<link>https://supabase.com/blog/fewer-dimensions-are-better-pgvector</link>
|
||||
<description>Increase performance in pgvector by using embedding vectors with fewer dimensions</description>
|
||||
<pubDate>Wed, 02 Aug 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 02 Aug 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/whats-new-in-pg-graphql-v1-2</guid>
|
||||
<title>What's New in pg_graphql v1.2</title>
|
||||
<link>https://supabase.com/blog/whats-new-in-pg-graphql-v1-2</link>
|
||||
<description>New Features in the v1.2 release of pg_graphql</description>
|
||||
<pubDate>Thu, 20 Apr 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 20 Apr 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/type-constraints-in-65-lines-of-sql</guid>
|
||||
<title>Type Constraints in 65 lines of SQL</title>
|
||||
<link>https://supabase.com/blog/type-constraints-in-65-lines-of-sql</link>
|
||||
<description>Creating validated data types in Postgres</description>
|
||||
<pubDate>Thu, 16 Feb 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 16 Feb 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/pg-graphql-v1</guid>
|
||||
<title>pg_graphql v1.0</title>
|
||||
<link>https://supabase.com/blog/pg-graphql-v1</link>
|
||||
<description>Announcing the v1.0 release of pg_graphql</description>
|
||||
<pubDate>Thu, 15 Dec 2022 23:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 15 Dec 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/pg-jsonschema-a-postgres-extension-for-json-validation</guid>
|
||||
<title>pg_jsonschema: JSON Schema support for Postgres</title>
|
||||
<link>https://supabase.com/blog/pg-jsonschema-a-postgres-extension-for-json-validation</link>
|
||||
<description>Today we're releasing pg_jsonschema, a Postgres extension for JSON validation.</description>
|
||||
<pubDate>Thu, 18 Aug 2022 22:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 18 Aug 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgres-audit</guid>
|
||||
<title>Postgres Auditing in 150 lines of SQL</title>
|
||||
<link>https://supabase.com/blog/postgres-audit</link>
|
||||
<description>PostgreSQL has a robust set of features which we can leverage to create a generic auditing solution in 150 lines of SQL.</description>
|
||||
<pubDate>Mon, 07 Mar 2022 23:00:00 GMT</pubDate>
|
||||
<pubDate>Mon, 07 Mar 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,42 +5,42 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Paul Copplestone at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Sun, 30 Apr 2023 22:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Sun, 30 Apr 2023 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-paul_copplestone-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgres-pluggable-strorage</guid>
|
||||
<title>Next steps for Postgres pluggable storage</title>
|
||||
<link>https://supabase.com/blog/postgres-pluggable-strorage</link>
|
||||
<description>Exploring history of Postgres pluggable storage and the possibility of landing it in the Postgres core.</description>
|
||||
<pubDate>Sun, 30 Apr 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Sun, 30 Apr 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgres-crdt</guid>
|
||||
<title>pg_crdt - an experimental CRDT extension for Postgres</title>
|
||||
<link>https://supabase.com/blog/postgres-crdt</link>
|
||||
<description>Embedding Yjs and Automerge into Postgres for collaborative applications.</description>
|
||||
<pubDate>Fri, 09 Dec 2022 23:00:00 GMT</pubDate>
|
||||
<pubDate>Fri, 09 Dec 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/partial-postgresql-data-dumps-with-rls</guid>
|
||||
<title>Partial data dumps using Postgres Row Level Security</title>
|
||||
<link>https://supabase.com/blog/partial-postgresql-data-dumps-with-rls</link>
|
||||
<description>Using RLS to create seed files for local PostgreSQL testing.</description>
|
||||
<pubDate>Mon, 27 Jun 2022 22:00:00 GMT</pubDate>
|
||||
<pubDate>Mon, 27 Jun 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgres-as-a-cron-server</guid>
|
||||
<title>Postgres as a CRON Server</title>
|
||||
<link>https://supabase.com/blog/postgres-as-a-cron-server</link>
|
||||
<description>Running repetitive tasks with your Postgres database.</description>
|
||||
<pubDate>Thu, 04 Mar 2021 23:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 04 Mar 2021 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgresql-views</guid>
|
||||
<title>Postgres Views</title>
|
||||
<link>https://supabase.com/blog/postgresql-views</link>
|
||||
<description>Creating and using a view in PostgreSQL.</description>
|
||||
<pubDate>Tue, 17 Nov 2020 23:00:00 GMT</pubDate>
|
||||
<pubDate>Tue, 17 Nov 2020 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,28 +5,42 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Pavel Borisov at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Wed, 12 Jul 2023 22:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Wed, 01 May 2024 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-pavel-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/pgvector-0-7-0</guid>
|
||||
<title>What's new in pgvector v0.7.0</title>
|
||||
<link>https://supabase.com/blog/pgvector-0-7-0</link>
|
||||
<description>Exploring new features in pgvector v0.7.0</description>
|
||||
<pubDate>Wed, 01 May 2024 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgres-bloat</guid>
|
||||
<title>Postgres Bloat Minimization</title>
|
||||
<link>https://supabase.com/blog/postgres-bloat</link>
|
||||
<description>Understanding and minimizing Postgres table bloat</description>
|
||||
<pubDate>Thu, 25 Apr 2024 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/pgvector-performance</guid>
|
||||
<title>pgvector 0.4.0 performance</title>
|
||||
<link>https://supabase.com/blog/pgvector-performance</link>
|
||||
<description>There's been a lot of talk about pgvector performance lately, so we took some datasets and pushed pgvector to the limits to find out its strengths and limitations.</description>
|
||||
<pubDate>Wed, 12 Jul 2023 22:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 12 Jul 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/new-in-postgres-15</guid>
|
||||
<title>What's new in Postgres 15?</title>
|
||||
<link>https://supabase.com/blog/new-in-postgres-15</link>
|
||||
<description>Describes the release of Postgres 15, new features and reasons to use it</description>
|
||||
<pubDate>Thu, 15 Dec 2022 23:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 15 Dec 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgresql-commitfest</guid>
|
||||
<title>What is PostgreSQL commitfest and how to contribute</title>
|
||||
<link>https://supabase.com/blog/postgresql-commitfest</link>
|
||||
<description>A time-tested method for contributing to the core Postgres code</description>
|
||||
<pubDate>Wed, 26 Oct 2022 22:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 26 Oct 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Philipp Steinrötter at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Thu, 07 Dec 2023 23:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Thu, 07 Dec 2023 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-philipp-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgres-language-server-implementing-parser</guid>
|
||||
<title>Postgres Language Server: implementing the Parser</title>
|
||||
<link>https://supabase.com/blog/postgres-language-server-implementing-parser</link>
|
||||
<description>A detailed analysis of our iterations to implement a Parser for Postgres</description>
|
||||
<pubDate>Thu, 07 Dec 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 07 Dec 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,21 +5,21 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Raminder Singh at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Wed, 10 Apr 2024 22:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Wed, 10 Apr 2024 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-raminder_singh-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgres-roles-and-privileges</guid>
|
||||
<title>Postgres Roles and Privileges</title>
|
||||
<link>https://supabase.com/blog/postgres-roles-and-privileges</link>
|
||||
<description>A guide to Postgres roles and privileges</description>
|
||||
<pubDate>Wed, 10 Apr 2024 22:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 10 Apr 2024 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/how-pg-graphql-works</guid>
|
||||
<title>How pg_graphql works</title>
|
||||
<link>https://supabase.com/blog/how-pg-graphql-works</link>
|
||||
<description>An insight into the internals of GraphQL in Postgres using pg_graphql, and how you can contribute.</description>
|
||||
<pubDate>Tue, 23 Jan 2024 23:00:00 GMT</pubDate>
|
||||
<pubDate>Tue, 23 Jan 2024 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Stanislav Muzhyk at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Tue, 12 Dec 2023 23:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Tue, 12 Dec 2023 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-stas-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/supavisor-postgres-connection-pooler</guid>
|
||||
<title>Supavisor 1.0: a scalable connection pooler for Postgres</title>
|
||||
<link>https://supabase.com/blog/supavisor-postgres-connection-pooler</link>
|
||||
<description>Supavisor is now used across all projects, providing a scalable and cloud-native Postgres connection pooler that can handle millions of connections</description>
|
||||
<pubDate>Tue, 12 Dec 2023 23:00:00 GMT</pubDate>
|
||||
<pubDate>Tue, 12 Dec 2023 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,21 +5,21 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Steve Chavez at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Thu, 15 Dec 2022 23:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Thu, 15 Dec 2022 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-steve_chavez-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgrest-11-prerelease</guid>
|
||||
<title>PostgREST 11 pre-release</title>
|
||||
<link>https://supabase.com/blog/postgrest-11-prerelease</link>
|
||||
<description>Describes new features of PostgREST 11 pre-release</description>
|
||||
<pubDate>Thu, 15 Dec 2022 23:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 15 Dec 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/roles-postgres-hooks</guid>
|
||||
<title>Protecting reserved roles with PostgreSQL Hooks</title>
|
||||
<link>https://supabase.com/blog/roles-postgres-hooks</link>
|
||||
<description>Using Postgres Hooks to protect functionality in your Postgres database.</description>
|
||||
<pubDate>Thu, 01 Jul 2021 22:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 01 Jul 2021 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -5,28 +5,28 @@
|
||||
<link>https://supabase.com/blog</link>
|
||||
<description>Latest Postgres news from Victor at Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Thu, 13 Oct 2022 22:00:00 GMT</lastBuildDate>
|
||||
<lastBuildDate>Thu, 13 Oct 2022 16:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://supabase.com/planetpg-victor-rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/postgres-full-text-search-vs-the-rest</guid>
|
||||
<title>Postgres Full Text Search vs the rest</title>
|
||||
<link>https://supabase.com/blog/postgres-full-text-search-vs-the-rest</link>
|
||||
<description>Comparing one of the most popular Postgres features against alternatives</description>
|
||||
<pubDate>Thu, 13 Oct 2022 22:00:00 GMT</pubDate>
|
||||
<pubDate>Thu, 13 Oct 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/choosing-a-postgres-primary-key</guid>
|
||||
<title>Choosing a Postgres Primary Key</title>
|
||||
<link>https://supabase.com/blog/choosing-a-postgres-primary-key</link>
|
||||
<description>Turns out the question of which identifier to use as a Primary Key is complicated -- we're going to dive into some of the complexity and inherent trade-offs, and figure things out</description>
|
||||
<pubDate>Wed, 07 Sep 2022 22:00:00 GMT</pubDate>
|
||||
<pubDate>Wed, 07 Sep 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<guid>https://supabase.com/blog/seen-by-in-postgresql</guid>
|
||||
<title>Implementing "seen by" functionality with Postgres</title>
|
||||
<link>https://supabase.com/blog/seen-by-in-postgresql</link>
|
||||
<description>Different approaches for tracking visitor counts with PostgreSQL.</description>
|
||||
<pubDate>Sun, 17 Jul 2022 22:00:00 GMT</pubDate>
|
||||
<pubDate>Sun, 17 Jul 2022 16:00:00 GMT</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
+306
-271
File diff suppressed because it is too large.
Load diff
+707
-389
File diff suppressed because it is too large.
Load diff
@@ -2,7 +2,6 @@
|
||||
|
||||
import { MouseEventHandler, forwardRef, useEffect, useState } from 'react'
|
||||
import {
|
||||
Admonition,
|
||||
Alert_Shadcn_,
|
||||
Button,
|
||||
Dialog,
|
||||
@@ -12,6 +11,7 @@ import {
|
||||
DialogTitle,
|
||||
cn,
|
||||
} from 'ui'
|
||||
import { Admonition } from './../admonition'
|
||||
import { DialogHeader } from 'ui/src/components/shadcn/ui/dialog'
|
||||
|
||||
export interface ConfirmationModalProps {
|
||||
|
||||
@@ -4,7 +4,6 @@ import { zodResolver } from '@hookform/resolvers/zod'
|
||||
import { ReactNode, forwardRef } from 'react'
|
||||
import { useForm } from 'react-hook-form'
|
||||
import {
|
||||
Admonition,
|
||||
Alert_Shadcn_,
|
||||
Button,
|
||||
Dialog,
|
||||
@@ -22,6 +21,7 @@ import {
|
||||
Input_Shadcn_,
|
||||
cn,
|
||||
} from 'ui'
|
||||
import { Admonition } from './../admonition'
|
||||
import { DialogHeader } from 'ui/src/components/shadcn/ui/dialog'
|
||||
import { z } from 'zod'
|
||||
|
||||
|
||||
+10
-5
@@ -1,7 +1,7 @@
|
||||
import { cva } from 'class-variance-authority'
|
||||
import React, { forwardRef } from 'react'
|
||||
import { cn } from '../../lib/utils/cn'
|
||||
import { Alert, AlertDescription, AlertTitle } from './../shadcn/ui/alert'
|
||||
import { cn } from 'ui/src/lib/utils/cn'
|
||||
import { Alert, AlertDescription, AlertTitle } from 'ui/src/components/shadcn/ui/alert'
|
||||
|
||||
export interface AdmonitionProps {
|
||||
type:
|
||||
@@ -16,6 +16,7 @@ export interface AdmonitionProps {
|
||||
label?: string
|
||||
title?: string
|
||||
description?: string | React.ReactNode
|
||||
showIcon?: boolean
|
||||
}
|
||||
|
||||
const admonitionToAlertMapping: Record<
|
||||
@@ -75,7 +76,7 @@ const admonitionSVG = cva('', {
|
||||
const admonitionBase = cva('', {
|
||||
variants: {
|
||||
type: {
|
||||
default: `bg-surface-200/25 border`,
|
||||
default: `bg-surface-200/25 border border-default`,
|
||||
warning: `bg-alternative border border-default ![&_p]:text-background-muted`,
|
||||
destructive: `bg-alternative border border-default`,
|
||||
},
|
||||
@@ -85,7 +86,7 @@ const admonitionBase = cva('', {
|
||||
export const Admonition = forwardRef<
|
||||
React.ElementRef<typeof Alert>,
|
||||
React.ComponentPropsWithoutRef<typeof Alert> & AdmonitionProps
|
||||
>(({ type = 'note', label, title, description, children, ...props }, ref) => {
|
||||
>(({ type = 'note', showIcon = true, label, title, description, children, ...props }, ref) => {
|
||||
const typeMapped = admonitionToAlertMapping[type]
|
||||
|
||||
return (
|
||||
@@ -100,7 +101,11 @@ export const Admonition = forwardRef<
|
||||
props.className
|
||||
)}
|
||||
>
|
||||
{typeMapped === 'warning' || typeMapped === 'destructive' ? <WarningIcon /> : <InfoIcon />}
|
||||
{(showIcon && typeMapped === 'warning') || typeMapped === 'destructive' ? (
|
||||
<WarningIcon />
|
||||
) : (
|
||||
<InfoIcon />
|
||||
)}
|
||||
{label || title ? (
|
||||
<>
|
||||
<AlertTitle
|
||||
@@ -19,3 +19,4 @@ export * from './Dialogs/ConfirmationModal'
|
||||
export * from './AssistantChat/AssistantChatForm'
|
||||
export * from './AssistantChat/AssistantCommandsPopover'
|
||||
export * from './SqlToRest'
|
||||
export * from './admonition'
|
||||
@@ -4,7 +4,7 @@ export * from './src/lib/Markdown'
|
||||
|
||||
// GENERAL
|
||||
|
||||
export * from './src/components/Admonition'
|
||||
export * from 'ui-patterns/admonition'
|
||||
export * from './src/components/Button'
|
||||
export * from './src/components/Icon'
|
||||
export * from './src/components/Icon/IconContext'
|
||||
|
||||
Reference in new issue
Block a user