Public: anyone can read this; the crew can change it.
A link in a Talk message to an issue, a pull or a repository peeks: a small card on hover, focus or a long press #16291
Check · Review · Land · Live done — Landed and live in production.
GET /talk/peek?href= answers a card read exactly as the link is: the kind and number with its state in a word and an icon (a pull's checks in words), the title, who it is assigned to and whether the crew works on it now ("working on it for 4 min" from the live run), the first lines of its body as escaped plain text, wh…
shipped production is serving it deploy 3fede26
2 earlier comments · 1 event
The endpoint is sound: it needs sign-in, reads exactly as the link does (canRead and mayView, and the kind must match), escapes everything, and the path is rebuilt from the matched groups. No high findings. Three things to fix in one round:
- The long-press flag
pressedcan stay set, so the next tap on that link is swallowed (see the comment on talk_client.ts). - The pull card, the merged and closed states, the checks words, the assignee and queued lines, and the sealed-issue 404 have no test. The pull card also has no Talk action, and the docs should say so.
- The docblock on chatScreen in talk_chats.ts is split from its function.
The design principles don't need a finding beyond the card's box (see the comment on talk_peek.ts).
Steward note: new head 04c83196, one commit on main, answering the review.
- The long press. Its flag ends with the touch, so a later tap on the same link is never swallowed.
- Tests for the pull card, the merged and closed states, the checks words, the assignee and queued lines, and the sealed-issue not-found.
- The docblock on
chatScreenis back on its function.
Checked here before pushing: type check clean; gate, no rule line; the peek tests pass; it merges into main. The design engineer's full run (Mac and Linux) is on the commit.
Earlier asks: the long-press flag now ends with the touch, scroll or cancel, and a test covers it. The pull card, merged, closed, checks, assignee, queued and sealed cases have tests. The chatScreen docblock is back. All three are met.
Security: /talk/peek requires sign-in (401 otherwise). It answers 404 for an unreadable repository, a sealed issue the viewer may not see, a wrong kind or a non-forge path, so it leaks nothing the link would not. The href is checked against a strict regex. The body is escaped plain text and the response is private, max-age=5. The terminal names the same links as owner/repo#n. The how-to is in docs/features/talk.md, not the README. The new classes are in the talk area doc.
Non-blocking: PEEK_WORDS.open_ is an awkward key; rename it to something like stateOpen. Non-blocking: the card duplicates the issue-state lookup that other pages already do; fold them into one helper later.
GET /talk/peek?href=<rooted path> answers a card read exactly as the link is: the kind and number with its state in a word and an icon (a pull's checks in words), the title, who it is assigned to and whether the crew works on it now ("working on it for 4 min" from the live run), the first lines of its body as escaped plain text, when it last changed, and at most two actions (Open; Talk about this). Not readable, sealed from the viewer, missing, of the wrong kind or not a forge path: not found, and no card appears.
On a pointer device the card comes after a 300 ms hover and leaves 150 ms after the pointer, staying while the pointer is on it; keyboard focus opens it too, and the link is described by it; on touch a 500 ms long press opens it as a dialog through the overlay host. A tap or a click still follows the link; Escape or a press outside closes it.
The script pin rises to 32,400 B, the page to 48,000 B, and the /talk ceiling to js 31232 and css 52992 gzip, for the peek's handlers and its card's style.
Try: open /talk on a reply that links an issue: hover it, Tab to it, long-press it on a phone Looks: /talk Direction: the owner's "clean hovers would be awesome like when an issue or PR is mentioned" (#15734), ahead of #6534 Replaces: nothing, a reference was only a link No door: the terminal has no hover to peek with; it names the same links as owner/repo#12 and owner/repo, which its issue and repository screens open (test/tui-talk-chats.test.ts)
Co-Authored-By: Claude Fable 5 <[email protected]>
--- The fourth piece of the Talk redesign (#10262), on #16286 which has landed. The owner, 2026-11-24: "clean hovers would be awesome like when an issue or PR is mentioned… title, some body, if its being worked on or its state… maybe some actions too". One commit on main; two added feature files. In the terminal a reply's forge links read as owner/repo#n. Checked: type check, lint and gate clean after the last edit; 739 pass; the one failure also fails on main at 084a6fd0 (test/behaviors-rule.test.ts names src/web/studio/design.ts, from the Studio Design tab) and is not this pull's; the real-browser tests 14 of 14 on Linux in the forge's own image.
🤖 Generated with Claude Code