commit 527fd5045ca76df8decbb6614980afba48ab8b3d
parent f5a01031f05c7bf914c070d2a8b2640ba7e1617c
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sat, 24 Oct 2026 05:22:28 -0400
umtool phone: Research, a case board and a run trace are one column; the sheet's head stays above the lifecycle
The search's reader, a board's case panel and a run's step detail sat beside
their lists at 390 px and covered them; on a phone they follow, and the page
scrolls as one.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
4 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/umtool/app/globals.css b/umtool/app/globals.css
@@ -1049,6 +1049,9 @@ canvas.grabbable {
.page-actions[data-open] > [data-lifecycle-choice] {
order: -1;
}
+ .page-actions[data-open] > [data-sheet-head] {
+ order: -2;
+ }
.sheet-item {
display: flex;
min-height: 44px;
diff --git a/umtool/components/research/BoardView.tsx b/umtool/components/research/BoardView.tsx
@@ -539,9 +539,10 @@ export default function BoardView({ initial }: { initial: CaseView }) {
</>
}
/>
- <div className="grid min-h-0 flex-1 grid-cols-[minmax(0,1fr)_300px]">
+ {/* On a phone the board, then the case panel under it, one column the page scrolls. */}
+ <div className="grid min-h-0 flex-1 grid-cols-[minmax(0,1fr)_300px] max-md:grid-cols-1">
<div className="flex min-h-0 min-w-0 flex-col">
- <div className="min-h-0 flex-1 overflow-auto px-7 pb-4 pt-2" data-board-busy={busy || heldN > 0 || board.v !== applied.current ? "" : undefined} data-board-keys={keysReady ? "ready" : undefined}>
+ <div className="min-h-0 flex-1 overflow-auto px-7 pb-4 pt-2 max-md:overflow-visible max-md:px-4" data-board-busy={busy || heldN > 0 || board.v !== applied.current ? "" : undefined} data-board-keys={keysReady ? "ready" : undefined}>
{doc.quotes.length === 0 && doc.sections.length === 0 ? (
<EmptyState title="No quotes on this board yet">
<Link prefetch={false} href={researchFromCaseHref(doc)} className="ink-link">
@@ -610,7 +611,7 @@ export default function BoardView({ initial }: { initial: CaseView }) {
</div>
</div>
- <aside aria-label="Case" className="grid min-h-0 content-start gap-[18px] overflow-auto border-l border-seam bg-panel px-[22px] py-[18px]">
+ <aside aria-label="Case" className="grid min-h-0 content-start gap-[18px] overflow-auto border-l border-seam bg-panel px-[22px] py-[18px] max-md:overflow-visible max-md:border-l-0 max-md:border-t max-md:px-4">
<div>
<span className="micro">Hand off</span>
<div className="mt-2 grid gap-2">
diff --git a/umtool/components/research/ResearchView.tsx b/umtool/components/research/ResearchView.tsx
@@ -512,11 +512,12 @@ export default function ResearchView({
const parsedAsk = parseAsk(ask);
return (
- <div className="grid min-h-0 flex-1 grid-cols-[minmax(0,1fr)_minmax(360px,34%)]">
+ // On a phone the reader follows the results, and the page scrolls as one.
+ <div className="grid min-h-0 flex-1 grid-cols-[minmax(0,1fr)_minmax(360px,34%)] max-md:grid-cols-1">
<div className="flex min-h-0 min-w-0 flex-col">
<form
role="search"
- className="grid grid-cols-[minmax(0,1fr)_auto] gap-2.5 px-7 pb-2.5 pt-4"
+ className="grid grid-cols-[minmax(0,1fr)_auto] gap-2.5 px-7 pb-2.5 pt-4 max-md:px-4"
onSubmit={(e) => {
e.preventDefault();
void run(ask, scope, true);
@@ -608,8 +609,8 @@ export default function ResearchView({
)}
{res ? (
- <div className="grid min-h-0 flex-1 grid-cols-[minmax(0,1fr)_176px] gap-x-[22px] pl-7">
- <div ref={listRef} className="min-h-0 overflow-auto pb-4 pr-1">
+ <div className="grid min-h-0 flex-1 grid-cols-[minmax(0,1fr)_176px] gap-x-[22px] pl-7 max-md:grid-cols-1 max-md:px-4">
+ <div ref={listRef} className="min-h-0 overflow-auto pb-4 pr-1 max-md:overflow-visible">
{drawn.length === 0 ? (
<EmptyState title={res.total === 0 ? `No recording says “${res.query}”` : "No recording matches these facets"}>
{res.total === 0 ? "in this scope" : null}
@@ -643,7 +644,7 @@ export default function ResearchView({
<Facets facets={res.facets} reading={reading} pick={pick} onPick={(p) => setPick(p)} />
</div>
) : (
- <div className="flex-1 px-7 pt-6">
+ <div className="flex-1 px-7 pt-6 max-md:px-4">
{searching ? (
<p className="text-[13px] text-text-2" role="status">
Searching the whole scope, once…
diff --git a/umtool/components/research/RunView.tsx b/umtool/components/research/RunView.tsx
@@ -523,8 +523,9 @@ export default function RunView({ initial }: { initial: View }) {
{view.live ? "The run has not written a step yet." : "This iteration recorded no run (no trace.jsonl, no turns.jsonl)."}
</div>
) : (
- <div className="grid min-h-0 flex-1 grid-cols-[330px_minmax(0,1fr)] overflow-hidden">
- <div ref={listRef} className="min-h-0 overflow-auto border-r border-seam pb-4 pt-2">
+ // On a phone the steps, then the lit step's detail, one column the page scrolls.
+ <div className="grid min-h-0 flex-1 grid-cols-[330px_minmax(0,1fr)] overflow-hidden max-md:grid-cols-1 max-md:overflow-visible">
+ <div ref={listRef} className="min-h-0 overflow-auto border-r border-seam pb-4 pt-2 max-md:overflow-visible max-md:border-b max-md:border-r-0">
<LitList label="Steps" global initial={initial.live ? Math.max(0, initial.steps.length - 1) : 0} onLight={onLight}>
{view.steps.map((s) => (
<LitLine
@@ -546,8 +547,8 @@ export default function RunView({ initial }: { initial: View }) {
))}
</LitList>
</div>
- <div className="grid min-h-0 content-start gap-[18px] overflow-auto px-[26px] py-[18px]">
- <div className="grid grid-cols-3 gap-2.5" data-lanes="">
+ <div className="grid min-h-0 content-start gap-[18px] overflow-auto px-[26px] py-[18px] max-md:overflow-visible max-md:px-4">
+ <div className="grid grid-cols-3 gap-2.5 max-md:grid-cols-1" data-lanes="">
<div className="rounded-[3px] border border-seam bg-panel px-3 py-2.5">
<span className="micro mb-1.5 block">Batches</span>
<p className="m-0 text-[12.5px] text-text-2">