From 02803c4ddca750fb78d62a0dcd5e6203e81b1472 Mon Sep 17 00:00:00 2001 From: Benjamin Shafii Date: Thu, 2 Apr 2026 20:56:02 -0700 Subject: [PATCH 1/2] fix(app): softer share-skill notices and reusable SelectMenu Made-with: Cursor --- apps/app/src/app/components/select-menu.tsx | 116 ++++++++++++++++++++ apps/app/src/app/pages/skills.tsx | 43 +++++--- apps/app/src/app/workspace/modal-styles.ts | 10 ++ 3 files changed, 151 insertions(+), 18 deletions(-) create mode 100644 apps/app/src/app/components/select-menu.tsx diff --git a/apps/app/src/app/components/select-menu.tsx b/apps/app/src/app/components/select-menu.tsx new file mode 100644 index 000000000..7e9e45ed8 --- /dev/null +++ b/apps/app/src/app/components/select-menu.tsx @@ -0,0 +1,116 @@ +import { For, Show, createEffect, createMemo, createSignal, onCleanup } from "solid-js"; +import { Check, ChevronDown } from "lucide-solid"; + +export type SelectMenuOption = { + value: string; + label: string; +}; + +type SelectMenuProps = { + options: SelectMenuOption[]; + value: string; + onChange: (value: string) => void; + disabled?: boolean; + placeholder?: string; + id?: string; + /** For pairing with a visible ` + ) : null} + {workspaceForm.baseUrl.trim() ? ( + {!newWorkspaceUrl.trim() ? ( + + ) : null} {newWorkspaceUrl.trim() ? (