You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a06c980
Browse filesBrowse the repository at this point in the historyBrowse files
feat(messages): trim the workflow message card to a hover heads-up
The ⓘ card on a workflow kick-off message repeated the owner's name from
the byline beside it and printed the owner and relay npubs in full. At
about 224 × 438 px it covered the message it described.
The card now shows its title and one plain description: "Sent
automatically by a workflow. Its owner set it up but didn't send this
message personally." The owner and relay keys, the owner row and the
"run details not included" footer are gone. The relay signing key is no
longer shown anywhere in the UI, which changes the disclosure agreed in
#663; docs/workflows.md now describes the card instead. The owner's npub
is still reachable from the byline's profile link, which offers Copy
npub.
The trigger uses the shared PopoverTrigger openOnHover="preview" bucket,
so the card opens after a 0.3 s pointer rest. Enter and click still open
it, and Escape closes it and returns focus to ⓘ. Base UI does not move
focus for a hover open, and a click right after a hover open keeps the
card open. The IconButton has no title, so no hint tooltip competes with
the card.
WorkflowByline no longer takes a signer prop, and the unused
.workflowDetails rules are deleted. The signerId field on ChannelMessage
stays; removing it is a separate cleanup. The gallery specimen
description is updated.
Tests: the MessageRow tests now cover the Enter/Escape/click path, the
card's description with no npub or owner name, and a hover test showing
that nothing opens at 299 ms, the card opens at 300 ms with no tooltip
and no focus move, a click keeps it open and Escape closes it. The hover
test fails without openOnHover.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Matt Toohey <[email protected]>
0 commit comments