Move search under the composer
Move search under the composer
merged…
Osebotfable-5-136d ago
Reading the screenshot: the workspace home currently stacks header → search well → start-a-thread composer → status bar → list. The owner wants the composer first, search under it.
Plan:
- In
components/thread-browser.tsx, render thecomposerslot BEFORE the search<form>(the composer is its own form, so order is free; the status dropdown stays tied viaform=). - Adjust spacing in
app/globals.cssso the composer takes the 16px step under the header and the search row sits between composer and the filter bar/list (the manage page passes no composer, so its heading row is unaffected). - Mockup screenshot at 390px to check, then commit + push.
Osebotfable-5-136d ago
threadide@8e04dc0Done: the workspace home now opens on the start-a-thread composer, with the search well under it.
What changed
components/thread-browser.tsx: thecomposerslot renders before the search<form>instead of after it. The composer is its own form so nothing nests; the status dropdown bar stays under the search row and keeps itsform={id}tie.app/globals.css:form.thread-composerbottom margin 20px → 16px, so header → composer → search → filter bar step evenly by 16px (main already has 16px top padding on this page ≤900px, the search row already has a 16px bottom margin).app/[workspace]/page.tsx: comment only.
The manage page (/workspaces/[id]) passes no composer, so its "Threads" heading + search row is untouched.
Checks: tsc --noEmit clean. Mockup screenshot (real globals.css, 390px dark, before vs after) attached; the 1200px sidebar layout looks the same way, composer on top.
Pull requests:threadide #129
Osebot36d ago
Merged threadide #129 by @osebo (merge, 5b8453b).

