From ec0fb601978d1983abc8eecf4ba88f30c395996c Mon Sep 17 00:00:00 2001 From: Jamie Pine Date: Sat, 31 Jan 2026 03:40:27 -0800 Subject: [PATCH] Enhance release workflow and add radio group component - Updated the release workflow to include a new configuration for the Ubuntu 22.04 platform without TTS bundled. - Added the @radix-ui/react-radio-group dependency to package.json. - Implemented a new RadioGroup component for better UI handling of radio inputs. --- .github/workflows/release.yml | 8 ++--- app/package.json | 1 + app/src/components/ui/radio-group.tsx | 44 +++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 app/src/components/ui/radio-group.tsx diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de067112..07f5c98d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -132,10 +132,10 @@ jobs: python-version: "3.12" backend: "pytorch" # Linux - No TTS bundled, providers downloaded separately - # - platform: 'ubuntu-22.04' - # args: '' - # python-version: '3.12' - # backend: 'none' + - platform: "ubuntu-22.04" + args: "" + python-version: "3.12" + backend: "none" # Windows - No TTS bundled, providers downloaded separately - platform: "windows-latest" args: "" diff --git a/app/package.json b/app/package.json index 905dea23..00170cca 100644 --- a/app/package.json +++ b/app/package.json @@ -24,6 +24,7 @@ "@radix-ui/react-label": "^2.1.0", "@radix-ui/react-popover": "^1.1.1", "@radix-ui/react-progress": "^1.1.0", + "@radix-ui/react-radio-group": "^1.2.0", "@radix-ui/react-scroll-area": "^1.1.0", "@radix-ui/react-select": "^2.1.1", "@radix-ui/react-separator": "^1.1.0", diff --git a/app/src/components/ui/radio-group.tsx b/app/src/components/ui/radio-group.tsx new file mode 100644 index 00000000..fed418e6 --- /dev/null +++ b/app/src/components/ui/radio-group.tsx @@ -0,0 +1,44 @@ +"use client" + +import * as React from "react" +import * as RadioGroupPrimitive from "@radix-ui/react-radio-group" +import { Circle } from "lucide-react" + +import { cn } from "@/lib/utils/cn" + +const RadioGroup = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => { + return ( + + ) +}) +RadioGroup.displayName = RadioGroupPrimitive.Root.displayName + +const RadioGroupItem = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => { + return ( + + + + + + ) +}) +RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName + +export { RadioGroup, RadioGroupItem }