From da5b5e7c450b5a665985e6f02f13a7748a2abbbc Mon Sep 17 00:00:00 2001 From: fullsizemalt <106900403+fullsizemalt@users.noreply.github.com> Date: Sun, 21 Dec 2025 15:56:03 -0800 Subject: [PATCH] fix: Add missing select component + update terminology to 'Top Performances' --- frontend/app/page.tsx | 4 +- frontend/app/performances/page.tsx | 8 +- frontend/components/ui/select.tsx | 160 +++++++++++++++++++++++++++++ 3 files changed, 166 insertions(+), 6 deletions(-) create mode 100644 frontend/components/ui/select.tsx diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index c3458e6..d17bfeb 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -86,13 +86,13 @@ export default async function Home() {

The ultimate community archive for Goose history.
- Discover shows, rate performances, and find the heady versions. + Discover shows, rate performances, and find the best jams.

diff --git a/frontend/app/performances/page.tsx b/frontend/app/performances/page.tsx index 1efed07..6cd94fa 100644 --- a/frontend/app/performances/page.tsx +++ b/frontend/app/performances/page.tsx @@ -51,10 +51,10 @@ export default async function PerformancesPage() {

- Heady Versions + Top Performances

- The top-rated performances as voted by the community + The highest-rated jams as voted by the community

@@ -63,8 +63,8 @@ export default async function PerformancesPage() { {performances.map((item, index) => (
diff --git a/frontend/components/ui/select.tsx b/frontend/components/ui/select.tsx new file mode 100644 index 0000000..7b3d187 --- /dev/null +++ b/frontend/components/ui/select.tsx @@ -0,0 +1,160 @@ +"use client" + +import * as React from "react" +import * as SelectPrimitive from "@radix-ui/react-select" +import { Check, ChevronDown, ChevronUp } from "lucide-react" + +import { cn } from "@/lib/utils" + +const Select = SelectPrimitive.Root + +const SelectGroup = SelectPrimitive.Group + +const SelectValue = SelectPrimitive.Value + +const SelectTrigger = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, children, ...props }, ref) => ( + span]:line-clamp-1", + className + )} + {...props} + > + {children} + + + + +)) +SelectTrigger.displayName = SelectPrimitive.Trigger.displayName + +const SelectScrollUpButton = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + + + +)) +SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName + +const SelectScrollDownButton = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + + + +)) +SelectScrollDownButton.displayName = + SelectPrimitive.ScrollDownButton.displayName + +const SelectContent = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, children, position = "popper", ...props }, ref) => ( + + + + + {children} + + + + +)) +SelectContent.displayName = SelectPrimitive.Content.displayName + +const SelectLabel = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)) +SelectLabel.displayName = SelectPrimitive.Label.displayName + +const SelectItem = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, children, ...props }, ref) => ( + + + + + + + + {children} + +)) +SelectItem.displayName = SelectPrimitive.Item.displayName + +const SelectSeparator = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)) +SelectSeparator.displayName = SelectPrimitive.Separator.displayName + +export { + Select, + SelectGroup, + SelectValue, + SelectTrigger, + SelectContent, + SelectLabel, + SelectItem, + SelectSeparator, + SelectScrollUpButton, + SelectScrollDownButton, +}