commit c49b42b9ca5e7c8afe5fe3ee8c96eaaa350ee8c1
parent 3ee0932d282f44f3b2eecfd7ce23c97672c5c59c
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 7 Sep 2026 22:48:38 -0400
editor: the lane-context block belongs to an operation lane, not to every lane
Caught before the e2e run, by reading rather than by a failure. `LaneOperationContext`
— this operation's band, its "switched off" warning and the sentence naming the
operations it shares a queue with — was drawn on every page with a runner. On
`/operations/transcription` the lane's operation list is `[]` by construction, so
`switchedOn` was false and the page claimed auto-transcribe was switched off in
settings that do not exist.
It is gated on `bucketsByKind[lane].length === 0`, which is exactly the two lanes
whose work list is an operation's ids rather than a snapshot bucket —
`selectableBucketsForKind` returns [] for them permanently and by construction.
On the two bucket lanes the page IS the lane: no siblings, no membership list,
and nothing for a switched-off sentence to be about.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat:
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/editor/app/operations/components/OperationDetail.tsx b/editor/app/operations/components/OperationDetail.tsx
@@ -108,12 +108,22 @@ export function OperationDetail({
`section[data-lane]`-scoped lookup in the e2e suite. */}
{runnerKind && (
<>
- <LaneOperationContext
- id={id}
- lane={runnerKind}
- data={data}
- activeJobs={activeJobs}
- />
+ {/* ONLY ON AN OPERATION LANE. `bucketsByKind` is empty for exactly the
+ two lanes whose work list is an operation's ids rather than a
+ snapshot bucket (`selectableBucketsForKind` returns [] for them, by
+ construction and permanently), and this block is about THIS
+ OPERATION — its band, its switched-off state, its siblings on the
+ queue. On auto-transcribe and auto-download the page IS the lane,
+ there are no siblings, and "switched off" would be a sentence about
+ a membership list those lanes do not have. */}
+ {bucketsByKind[runnerKind].length === 0 && (
+ <LaneOperationContext
+ id={id}
+ lane={runnerKind}
+ data={data}
+ activeJobs={activeJobs}
+ />
+ )}
<HowPriorityWorks />
<RunnerOperationView
kind={runnerKind}