diff --git a/apps/radio/package.json b/apps/radio/package.json index 5a7a60092..de9d24845 100644 --- a/apps/radio/package.json +++ b/apps/radio/package.json @@ -34,6 +34,7 @@ "@opendaw/studio-core": "^0.2.7", "@opendaw/studio-core-wasm": "^0.0.18", "@sentry/cloudflare": "11.8.0", + "@tabler/icons-react": "^3.50.0", "@tanstack/react-db": "^0.5.0", "@tanstack/react-pacer": "^0.24.0", "@tanstack/react-query": "^5.104.0", @@ -43,7 +44,6 @@ "@xyflow/react": "^12.12.0", "git-feedback": "^0.5.1", "hls.js": "^1.7.3", - "lucide-react": "catalog:", "lz-string": "^1.5.0", "next-themes": "catalog:", "p-queue": "^9.3.3", diff --git a/apps/radio/src/components/audio/effect-chain.tsx b/apps/radio/src/components/audio/effect-chain.tsx index 733d01bea..bb9a11f5d 100644 --- a/apps/radio/src/components/audio/effect-chain.tsx +++ b/apps/radio/src/components/audio/effect-chain.tsx @@ -21,7 +21,7 @@ import { verticalListSortingStrategy, } from "@dnd-kit/sortable"; import { CSS } from "@dnd-kit/utilities"; -import { PlusIcon } from "lucide-react"; +import { IconPlus } from "@tabler/icons-react"; import { type Dispatch, type FocusEvent, @@ -257,7 +257,7 @@ export function EffectChain({ {activeEffect ? ( -
+
- + Add effect @@ -382,7 +382,7 @@ function SortableEffectItem({ return (
= { - autotune: RadioIcon, - cheapReverb: WavesIcon, - compressor: FireExtinguisherIcon, - crusher: ZapIcon, - delay: ClockIcon, - distortion: ZapIcon, - fold: ZapIcon, - frequencySplit: FilterIcon, - fxComposite: FilterIcon, - gate: FireExtinguisherIcon, - limiter: GaugeIcon, - maximizer: GaugeIcon, - neuralAmp: ZapIcon, - pitchShifter: RadioIcon, - plateReverb: WavesIcon, - revamp: FilterIcon, - stereoSplit: RadioIcon, - stereoTool: RadioIcon, - tidal: WavesIcon, - vocoder: RadioIcon, - waveshaper: ZapIcon, - werkstatt: FilterIcon, +export const EFFECT_ICONS: Record = { + autotune: IconRadio, + cheapReverb: IconWaveSine, + compressor: IconFireExtinguisher, + crusher: IconBolt, + delay: IconClock, + distortion: IconBolt, + fold: IconBolt, + frequencySplit: IconFilter, + fxComposite: IconFilter, + gate: IconFireExtinguisher, + limiter: IconGauge, + maximizer: IconGauge, + neuralAmp: IconBolt, + pitchShifter: IconRadio, + plateReverb: IconWaveSine, + revamp: IconFilter, + stereoSplit: IconRadio, + stereoTool: IconRadio, + tidal: IconWaveSine, + vocoder: IconRadio, + waveshaper: IconBolt, + werkstatt: IconFilter, }; diff --git a/apps/radio/src/components/audio/effect-item.tsx b/apps/radio/src/components/audio/effect-item.tsx index 9db9f132a..61641225d 100644 --- a/apps/radio/src/components/audio/effect-item.tsx +++ b/apps/radio/src/components/audio/effect-item.tsx @@ -13,11 +13,11 @@ import type { DraggableSyntheticListeners, } from "@dnd-kit/core"; import { - FilterIcon, - GripVerticalIcon, - RotateCcwIcon, - XIcon, -} from "lucide-react"; + IconFilter, + IconGripVertical, + IconRotate, + IconX, +} from "@tabler/icons-react"; import type { SyntheticEvent } from "react"; import { createDefaultEffectConfig, @@ -71,7 +71,7 @@ export function EffectItem({ const metadata = getEffectMetadata(effect.type); const effectName = metadata?.name ?? effect.type; - const Icon = EFFECT_ICONS[effect.type] ?? FilterIcon; + const Icon = EFFECT_ICONS[effect.type] ?? IconFilter; function handleEnabledChange(enabled: boolean) { onUpdate({ enabled }); @@ -88,7 +88,7 @@ export function EffectItem({ return ( - + {/* Icon */}
- +
diff --git a/apps/radio/src/components/audio/effect-params/container-params.tsx b/apps/radio/src/components/audio/effect-params/container-params.tsx index e0b93b3a8..c19b65857 100644 --- a/apps/radio/src/components/audio/effect-params/container-params.tsx +++ b/apps/radio/src/components/audio/effect-params/container-params.tsx @@ -4,11 +4,11 @@ import { Input } from "@avoid.quest/ui/components/input"; import { Switch } from "@avoid.quest/ui/components/switch"; import { Toggle } from "@avoid.quest/ui/components/toggle"; import { - ChevronDownIcon, - ChevronRightIcon, - PlusIcon, - XIcon, -} from "lucide-react"; + IconChevronDown, + IconChevronRight, + IconPlus, + IconX, +} from "@tabler/icons-react"; import { type ChangeEvent, type Dispatch, @@ -186,7 +186,7 @@ function NestedEffect({ } return ( -
+
@@ -214,7 +214,7 @@ function NestedEffect({ size="icon" variant="ghost" > - +
{expanded && schema ? ( @@ -423,7 +423,7 @@ function ChainEditor({ ); return ( -
+
- + ) : null}
@@ -493,7 +493,7 @@ function ChainEditor({ size="sm" variant="outline" > - + Add nested effect ) : null} @@ -614,7 +614,7 @@ export function ContainerParams({ size="sm" variant="outline" > - + Add parallel chain )} diff --git a/apps/radio/src/components/audio/effect-params/param-group.tsx b/apps/radio/src/components/audio/effect-params/param-group.tsx index e9c232e39..22b4274bd 100644 --- a/apps/radio/src/components/audio/effect-params/param-group.tsx +++ b/apps/radio/src/components/audio/effect-params/param-group.tsx @@ -4,7 +4,7 @@ import { CollapsibleTrigger, } from "@avoid.quest/ui/components/collapsible"; import { cn } from "@avoid.quest/ui/lib/utils"; -import { ChevronDownIcon } from "lucide-react"; +import { IconChevronDown } from "@tabler/icons-react"; import { useState } from "react"; type ParamGroupProps = { @@ -37,9 +37,9 @@ export function ParamGroup({ onOpenChange={setOpen} open={open} > - + {title} - +
+

Runtime: {runtimeStatus.state}

{runtimeStatus.message}

-
+

Sample declarations unavailable

The current official Werkstatt audio-effect bridge parses @sample but diff --git a/apps/radio/src/components/audio/effect-picker.tsx b/apps/radio/src/components/audio/effect-picker.tsx index d068160a6..4bf2ebb79 100644 --- a/apps/radio/src/components/audio/effect-picker.tsx +++ b/apps/radio/src/components/audio/effect-picker.tsx @@ -8,7 +8,7 @@ import { DialogTitle, } from "@avoid.quest/ui/components/dialog"; import { cn } from "@avoid.quest/ui/lib/utils"; -import { FilterIcon, type LucideIcon } from "lucide-react"; +import { IconFilter, type TablerIcon } from "@tabler/icons-react"; import { type ChangeEvent, type KeyboardEvent, @@ -29,7 +29,7 @@ export type PickerItem = { description?: string; /** A small sans tag under the name, e.g. the effect family. */ badge?: string; - icon: LucideIcon; + icon: TablerIcon; /** Tints the icon tile, e.g. a platform's colour. */ iconColor?: string; }; @@ -56,7 +56,7 @@ function PickerOption({ return ( onSelect(item)} @@ -64,7 +64,7 @@ function PickerOption({ tabIndex={-1} >

({ {item.name} {item.badge ? ( - + {item.badge} ) : null} @@ -256,7 +256,7 @@ export function EffectPicker({ ).map((effect) => ({ badge: effect.family, description: effect.description, - icon: EFFECT_ICONS[effect.type] ?? FilterIcon, + icon: EFFECT_ICONS[effect.type] ?? IconFilter, id: effect.type, name: effect.name, type: effect.type, diff --git a/apps/radio/src/components/audio/midi-control-wrapper.tsx b/apps/radio/src/components/audio/midi-control-wrapper.tsx index f78f1b3d0..a30bb496d 100644 --- a/apps/radio/src/components/audio/midi-control-wrapper.tsx +++ b/apps/radio/src/components/audio/midi-control-wrapper.tsx @@ -107,7 +107,7 @@ export function MidiControlWrapper({ > {hasMidi && } {!!isThisLearning && ( - + )} {children}
diff --git a/apps/radio/src/components/audio/visualizations/compressor-canvas.tsx b/apps/radio/src/components/audio/visualizations/compressor-canvas.tsx index 37d923de0..1693d833b 100644 --- a/apps/radio/src/components/audio/visualizations/compressor-canvas.tsx +++ b/apps/radio/src/components/audio/visualizations/compressor-canvas.tsx @@ -138,10 +138,7 @@ export const CompressorCanvas = memo(function CompressorCanvasComponent({ return ( ); diff --git a/apps/radio/src/components/audio/visualizations/eq-canvas.tsx b/apps/radio/src/components/audio/visualizations/eq-canvas.tsx index 63fc8c609..ef721fcac 100644 --- a/apps/radio/src/components/audio/visualizations/eq-canvas.tsx +++ b/apps/radio/src/components/audio/visualizations/eq-canvas.tsx @@ -218,10 +218,7 @@ export const EQCanvas = memo(function EQCanvasComponent({ return ( ); diff --git a/apps/radio/src/components/audio/volume-control.tsx b/apps/radio/src/components/audio/volume-control.tsx index 7767154ca..34a3e3c51 100644 --- a/apps/radio/src/components/audio/volume-control.tsx +++ b/apps/radio/src/components/audio/volume-control.tsx @@ -2,7 +2,7 @@ import { Button } from "@avoid.quest/ui/components/button"; import { Slider } from "@avoid.quest/ui/components/slider"; import { cn } from "@avoid.quest/ui/lib/utils"; -import { Volume1Icon, Volume2Icon, VolumeXIcon } from "lucide-react"; +import { IconVolume, IconVolume2, IconVolumeOff } from "@tabler/icons-react"; const QUIET_VOLUME = 0.5; @@ -23,9 +23,9 @@ export type VolumeControlProps = { function getVolumeIcon(volume: number, isMuted: boolean) { if (isMuted || volume === 0) { - return VolumeXIcon; + return IconVolumeOff; } - return volume < QUIET_VOLUME ? Volume1Icon : Volume2Icon; + return volume < QUIET_VOLUME ? IconVolume2 : IconVolume; } /** The one mute button + volume slider pair outside the DJ mixer. */ diff --git a/apps/radio/src/components/changelog/whats-new.tsx b/apps/radio/src/components/changelog/whats-new.tsx index 8e0320c37..7afd53af8 100644 --- a/apps/radio/src/components/changelog/whats-new.tsx +++ b/apps/radio/src/components/changelog/whats-new.tsx @@ -19,7 +19,7 @@ import { markChangelogSeen, subscribeChangelogSeen, } from "@avoid.quest/ui/lib/changelog"; -import { CircleQuestionMarkIcon } from "lucide-react"; +import { IconQuestionMark } from "@tabler/icons-react"; import { useEffect, useState, useSyncExternalStore } from "react"; import { CHANGELOG_STORAGE_KEY } from "@/lib/const"; import { useSettings } from "@/lib/hooks/use-settings"; @@ -118,7 +118,7 @@ export function WhatsNew() { size="icon" variant="ghost" > - + {hasUnseen ? ( ) : null} diff --git a/apps/radio/src/components/feedback/app-feedback.tsx b/apps/radio/src/components/feedback/app-feedback.tsx index 83aa7981a..15420b1fc 100644 --- a/apps/radio/src/components/feedback/app-feedback.tsx +++ b/apps/radio/src/components/feedback/app-feedback.tsx @@ -24,6 +24,7 @@ import { TooltipTrigger, } from "@avoid.quest/ui/components/tooltip"; import { cn } from "@avoid.quest/ui/lib/utils"; +import { IconMessageCircle } from "@tabler/icons-react"; import type { FeedbackActionsSlotProps, FeedbackCancelActionSlotProps, @@ -35,7 +36,6 @@ import type { FeedbackStatusOutputSlotProps, FeedbackSubmitActionSlotProps, } from "git-feedback/react"; -import { MessageCircleMore } from "lucide-react"; import { Suspense, useState } from "react"; import { LazyBoundary, lazyWithRetry } from "@/components/lazy-recovery"; import { @@ -255,7 +255,7 @@ export function AppFeedback() { type="button" variant="ghost" > - + } /> diff --git a/apps/radio/src/components/import-page.tsx b/apps/radio/src/components/import-page.tsx index d475e6e75..17c044117 100644 --- a/apps/radio/src/components/import-page.tsx +++ b/apps/radio/src/components/import-page.tsx @@ -9,8 +9,8 @@ import { import { Separator } from "@avoid.quest/ui/components/separator"; import { toast } from "@avoid.quest/ui/components/sonner"; import { Spinner } from "@avoid.quest/ui/components/spinner"; +import { IconHome } from "@tabler/icons-react"; import { useNavigate } from "@tanstack/react-router"; -import { HomeIcon } from "lucide-react"; import { useEffect, useState } from "react"; import { ImportPatchPreview } from "@/components/import-patch-preview"; import { @@ -108,7 +108,7 @@ export function ImportPage() { This link doesn't contain stations to import.

@@ -171,7 +171,7 @@ export function ImportPage() {
-
+
-
+