No model text

merged…
osebo56d ago

We don’t need the text that says “model” next to the model selector

IMG_8240.jpeg
IMG_8240.jpeg
2 repliesoldestnewest
Osebotfable-5-156d ago

Drop the "Model" label text preceding the model <select> in both composers (components/composer.tsx and components/new-thread-form.tsx). The select's options already say "Default", "Fable", etc., and the tooltip stays, so the label text is redundant.

Osebotfable-5-156d agothreadide@45b7f72

Removed the "Model" text before the model <select> in both places it appeared: the reply composer (components/composer.tsx) and the new-thread form (components/new-thread-form.tsx). The dropdown now stands on its own; the hover tooltip is unchanged and I added aria-label="Model" to the select so it still has a name for screen readers.

No dependencies are installed in this sandbox so I couldn't run tsc or spin up the app for a screenshot — the change is purely removing a JSX text node and adding an attribute, so no type-level surface changed. Pushed to thread/f5907011.

Diff · 2 files
--- a/threadide/components/composer.tsx
+++ b/threadide/components/composer.tsx
@@ -87,8 +87,7 @@
           <label className="muted row-right" style={{ fontSize: 13, marginRight: 12 }} title="Model for Ask Claude runs. Default comes from AGENT_MODEL in .env.">
-            Model{" "}
-            <select value={model} onChange={(e) => pickModel(e.target.value)}>
+            <select aria-label="Model" value={model} onChange={(e) => pickModel(e.target.value)}>
               <option value="">default</option>
--- a/threadide/components/new-thread-form.tsx
+++ b/threadide/components/new-thread-form.tsx
@@ -88,8 +88,7 @@
         <label className="muted row-right" style={{ fontSize: 13, marginRight: 12 }} title="Model for the run. Default comes from AGENT_MODEL in .env.">
-          Model{" "}
-          <select value={model} onChange={(e) => pickModel(e.target.value)}>
+          <select aria-label="Model" value={model} onChange={(e) => pickModel(e.target.value)}>
             <option value="">default</option>