commit 79b44546f71628edc2cf723be39ba9c609371732
parent bdc7e74c9343ac27d0d6f67688f23a3dc3bc100a
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Wed, 14 Oct 2026 05:30:04 -0400
umtool: a quote's claim and note are in the Tab order on the lit quote only (e and n reach them)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/umtool/components/research/QuoteSlip.tsx b/umtool/components/research/QuoteSlip.tsx
@@ -32,7 +32,10 @@ function InlineField({
field,
className,
max,
+ tabbable,
}: {
+ /** In the Tab order only on the lit quote (e and n reach it from the keys). */
+ tabbable: boolean;
label: string;
value: string;
placeholder: string;
@@ -52,6 +55,7 @@ function InlineField({
ref={ref}
data-field={field}
aria-label={label}
+ tabIndex={tabbable ? 0 : -1}
value={v}
maxLength={max}
placeholder={placeholder}
@@ -171,6 +175,7 @@ export default function QuoteSlip({
<span className="micro shrink-0">Claim</span>
<InlineField
field="claim"
+ tabbable={lit}
label="Claim"
value={q.claim}
placeholder="No claim line yet"
@@ -201,7 +206,7 @@ export default function QuoteSlip({
)}
<span className="flex min-w-[12rem] flex-1 items-baseline gap-1">
<span className="shrink-0">note:</span>
- <InlineField field="note" label="Note" value={q.note} placeholder="Add note" max={2000} onSave={(note) => onPatch({ note })} className="flex-1 text-text-2" />
+ <InlineField field="note" tabbable={lit} label="Note" value={q.note} placeholder="Add note" max={2000} onSave={(note) => onPatch({ note })} className="flex-1 text-text-2" />
</span>
{v?.status === "ok" && <span className="font-mono text-[11px]">verified {v.at.slice(0, 10)}</span>}
{!v && <span className="font-mono text-[11px]">not re-verified</span>}