Skip to content

Commit

Permalink
Merge pull request #259 from duyet/chore/ui
Browse files Browse the repository at this point in the history
chore(ui): alternative table extras show current table name instead of database
  • Loading branch information
duyet authored May 28, 2024
2 parents b895f02 + 7f989a3 commit 8ab132f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function AlternativeTables({
className="group flex flex-row gap-2 text-muted-foreground"
>
<CardStackMinusIcon className="size-3" />
{database}
{table}
<ChevronDownIcon
className="size-3 transition duration-300 group-data-[state=open]:rotate-180"
aria-hidden="true"
Expand Down
15 changes: 15 additions & 0 deletions app/play/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { ErrorAlert } from '@/components/error-alert'
import { SingleLineSkeleton, TableSkeleton } from '@/components/skeleton'

export default function Play() {
return (
<>
<TableSkeleton />
<TableSkeleton cols={5} />
<ErrorAlert message="Error message" query="SELECT 1" />
<SingleLineSkeleton />
<SingleLineSkeleton className="w-[300px]" />
<SingleLineSkeleton className="w-[200px] space-x-0 pt-0" />
</>
)
}

0 comments on commit 8ab132f

Please sign in to comment.