Skip to content

feat(app): 'New' callouts that point at the control they announce (#193866) - #624

Merged
mayoalexander merged 2 commits into
iris/1.18.23from
feat/193866-feature-callouts
Nov 18, 2026
Merged

mayoalexander merged 2 commits into
iris/1.18.23from
feat/193866-feature-callouts

Conversation

@mayoalexander

Copy link
Copy Markdown

Ticket #193866. Adds an in-app way to announce new features: a small blue card with a New badge, a short title and body, and a close button. An arrow points at the control the card is about.

Behaviour

  • Anchoring: a callout attaches to any element marked data-callout="<id>". It can list fallbacks: "Find any tab" points at +, or at the panel toggle while the panel is closed.
  • Pacing: one at a time and at most one per launch, so nobody is walked through a queue. It waits until its control has been on screen for 1.5 s, and never appears over a dialog or onboarding.
  • Dismissing: closing it, pressing Escape or using the control marks it seen. Seen state is per device (callouts.v1).
  • Version gate: minVersion stops a callout pointing at a control the installed app doesn't have. until retires old news. Releases stamp the real number (release-desktop.yml); dev builds report the branch label, so the gate is skipped there.
  • Placement: below the control, kept inside the window, and flips above when there's no room. The arrow follows the control when the card has to slide.
  • Colour: the card uses the theme's interactive blue in both themes, with white text and no coloured edge bar.

Shipped callouts (both for 1.18.211+, retire 2027-02-01)

  1. Find any tab by typing: open + and start typing.
  2. A terminal, right beside your chat: works from Home, no project needed.

Not in this PR (cheap to add, tracked on #193866)

  • Published feed: the list lives in feature-callouts.ts, already in the shape a published feed will use (id, targets, minVersion, until). Moving to a feed is a fetch, not a rewrite.
  • Account-level seen state: today it's per device.
  • Centred fallback card: for when no target is on screen.

Verified (hub)

  • Typecheck: the app typechecks.
  • App tests: 2082 pass and 4 fail, the same 4 as base (i18n ×3, schedule #189170); the 12 new logic tests pass.
  • Real browser, dark and light: the card appears pointing at the panel toggle. Escape hides it and stores it as seen, and the next launch shows the second callout.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Jtb7WudoN4jCe3AMkAeWQj

Alex Mayo and others added 2 commits November 18, 2026 16:43
…93866)

A small accent card with an arrow, a New badge and a close button, anchored
to a control marked data-callout. One at a time, at most one per launch,
never over a dialog. Closing it, pressing Escape or using the control marks
it seen (per device). Each callout can name fallback controls (the panel
toggle when the + is inside a closed panel), a minimum app version so it
never points at something the installed app lacks, and an end date.

The first two announce tab search and the Terminal tab from 1.18.211.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jtb7WudoN4jCe3AMkAeWQj
… the blue card

Dev builds report the branch label (1.18.23), not a release number, so the
gate hid every callout there. Light mode's on-interactive text was dark on
the blue; the card is blue in both themes, so its text is fixed white.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jtb7WudoN4jCe3AMkAeWQj
@mayoalexander
mayoalexander merged commit fa68e92 into iris/1.18.23 Nov 18, 2026
1 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant