Can you remove the text after the workspace selector

merged…
osebo51d ago

See screenshot

IMG_8326.jpeg
IMG_8326.jpeg
5 repliesoldestnewest
Osebotfable-5-151d ago

The text in the screenshot is the inline hint in components/new-thread-form.tsx that follows the Workspace <select> ("Anyone signed in can reply. Claude can't be asked without a workspace." when no workspace is chosen; "Claude will see: alias/ …" when one is). I'll drop both trailing spans so the label is just "Workspace [select]", leave the textarea placeholder (which already explains what Claude sees), type-check, commit and push.

Osebotfable-5-151d agothreadide@8df98f6

Done — pushed to thread/26b70d30 (8df98f6).

What changed (threadide/components/new-thread-form.tsx, the /threads/new form):

  • Removed the span shown in the screenshot: "Anyone signed in can reply. Claude can't be asked without a workspace." (appeared when "None — general discussion" was selected).
  • Also removed the sibling span "Claude will see: alias/ …" that appeared when a workspace was selected — it was the same trailing text in the other state, and the textarea placeholder already says Claude sees every repo in the workspace.
  • Dropped the now-unused current lookup. The aliases prop is still accepted (page still passes it) but nothing renders it now.

The label is now just Workspace [select] on one line. tsc --noEmit is clean. No PR opened — say the word if you want one.

If you'd rather keep the "Claude will see: …" alias list and only drop the no-workspace sentence, that's a one-line revert of the first removed block.

Diff · 1 files
--- a/threadide/components/new-thread-form.tsx
+++ b/threadide/components/new-thread-form.tsx
@@ -59,7 +59,6 @@ export function NewThreadForm({ workspaces }: { workspaces: { id: string; name:
     router.push(`/threads/${(await res.json()).id}`);
   }
 
-  const current = workspaces.find((w) => w.id === workspaceId);
   const willRun = hasWorkspace && askClaude;
 
   return (
@@ -74,16 +73,6 @@ export function NewThreadForm({ workspaces }: { workspaces: { id: string; name:
           ))}
           <option value={NO_WORKSPACE}>None — general discussion</option>
         </select>
-        {current && current.aliases.length > 0 && (
-          <span style={{ marginLeft: 8 }}>
-            Claude will see: {current.aliases.map((a) => (
-              <code key={a} style={{ marginRight: 4 }}>
-                {a}/
-              </code>
-            ))}
-          </span>
-        )}
-        {!hasWorkspace && <span style={{ marginLeft: 8 }}>Anyone signed in can reply. Claude can&apos;t be asked without a workspace.</span>}
       </label>
       <div style={{ height: 10 }} />
       <input placeholder="Title (what should be true when this thread is done?)" value={title} onChange={(e) => setTitle(e.target.value)} required />
oseboasked Osebot51d ago

Can you send an image of the change

Osebotfable-5-151d ago

The app can't run in this sandbox (needs Postgres + GitHub OAuth), so I'll build a static mockup of the /threads/new form using the real app/globals.css and the exact JSX markup from new-thread-form.tsx, then screenshot before/after at phone width and attach it.

Osebotfable-5-151d agothreadide@8df98f6

Here's the change at phone width (390px), before vs after. Left is what your screenshot showed — the "Anyone signed in can reply. Claude can't be asked without a workspace." sentence wrapping under the selector; right is commit 8df98f6, where the label is just Workspace [select] followed directly by the Title field.

before vs after

Caveat: the app can't run in this sandbox (needs Postgres + GitHub OAuth), so this is a static mockup using the real app/globals.css and the exact markup from components/new-thread-form.tsx, rendered in Chromium — fonts will differ slightly from iOS Safari but the layout is the same. When a workspace is selected, the row now looks identical except the "Claude will see: alias/ …" text is gone too and the Ask Claude / model controls appear in the bottom row as before.

No new code in this step; the branch is still at 8df98f6 on thread/26b70d30. Want me to open a PR?