Skip to content

Hold hint: shown once per install, and the Detail season pill teaches it on a faster dwell - #876

Merged
GLinnik21 merged 7 commits into
mainfrom
hold-hint-once-per-run
Oct 20, 2026
Merged

GLinnik21 merged 7 commits into
mainfrom
hold-hint-once-per-run

Conversation

@GLinnik21

Copy link
Copy Markdown
Collaborator

What changes for the viewer

  • The hold-hint capsule now self-appears once per install per surface (cards, and the Detail season pill), not once per run. It is persisted as the Install-scope hold_hint_taught preference and is kept across sign-out and across profiles.
  • Opening an item's hold menu teaches both surfaces, so the hint never appears for someone who has already used the menu.
  • A held OK still shows the capsule with its cap fill.
  • The Detail season pill teaches on a faster dwell: 500 ms counted from focus landing. Standing is gated on the hold actually opening a menu (HintInput::ready), so motion or loading only delays the hint and does not reset the dwell.
  • Replays never write the taught flag.
  • Dev trigger plxnative-hintfresh starts a run with the hint untaught on a taught install.
  • The fade and rise steps run inside idle::decorative (merged from main), so the capsule's springs wake the gate but do not hold a page image.

Verification

  • make check on the committed tree exited 0, with the status empty before and after. Last lines: test result: ok. 1840 passed; 0 failed; 60 ignored (application crate), test result: ok. 1651 passed; 0 failed, test result: ok. 993 passed; 0 failed, test result: ok. 1320 passed; 0 failed.
  • make test-crate C=plx_ui T=hold_hint: test result: ok. 46 passed; 0 failed.
  • make check-nodef: Finished dev profile with no errors.
  • ARM cross-build: not re-run on the merge commit.
  • Tried on the TV by the owner with a mock sign-in.

🤖 Generated with Claude Code

GLinnik21 and others added 7 commits October 20, 2026 17:06
…e included

A hint read once on any card screen never self-appears again this run; a physical
hold still shows the capsule with its fill and an opened menu still retires it. The
per-Kind bitset, Kind and once_per_run are gone: one run-wide latch, HoldHint::new
carries the rule, Stack::hold_hint takes no argument.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s it too

The self-appearing "Hold [OK] for options" hint stood once per run; it now stands once per
INSTALL per surface and survives relaunches. Two surfaces, each with its own latch
(hold_hint::Surface::Card and ::SeasonPill): a read showing (full opacity held for READ_MS) on one
leaves the other unspent. The season pill takes a shorter dwell (DWELL_PILL_MS 500; DWELL_MS is
unchanged); Detail keeps ONE HoldHint and carries the surface per frame in HintInput. The pill
is "settled" from the tab strip's own motion (new TabStrip::moving) and the page scroll.

Storage: a new Install preference row, hold_hint_taught {card, pill}, in the session preference
record (soft-parsed, skipped while default so old sessions and fixtures are byte-identical, never
account-bound so sign-out keeps it). plx_ui cannot name Plex types, so hold_hint offers seed_taught
and take_newly_taught; the application seeds at boot (app/boot.rs) and app/hint_taught.rs drains the
signal each frame into session::learn_hold_hint_taught, one queued off-frame write per news.

Opening an item menu (mark_learned) still retires the hint everywhere and now also persists, by
teaching both surfaces. A physical held OK still shows the capsule with its fill after teaching;
`learned` blocks the fill within a run, but on a later run a taught install shows the fill, because
only the "shown" latches are restored.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…eplay never writes the taught flag, and the library doc says once per install

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…and loading only gate standing (HintInput::ready)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ght on a taught install

Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	rust-modules/ui/src/hold_hint.rs
@GLinnik21
GLinnik21 enabled auto-merge (squash) October 20, 2026 18:32
@GLinnik21
GLinnik21 merged commit cc31d54 into main Oct 20, 2026
19 checks passed
@GLinnik21
GLinnik21 deleted the hold-hint-once-per-run branch October 20, 2026 18:40
GLinnik21 added a commit that referenced this pull request Oct 22, 2026
* Release notes and audit for v0.9.0

Action-required evaluation (README trigger list, read from the PRs, grep not run on a built tree): no hits that need a reader action. Launch links (#853) add an inbound surface (any app that can launch apps), stated in What's new; the 3.4 image cache writes to /media/developer/temp (#667); crash/error reports gain fixed-value fields with POLICY_VERSION unchanged (#632), stated under Changed; Watchlist and PMS notifications use hosts the app already reaches.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Release notes v0.9.0: coverage and accuracy pass

Note: correct the Collections surfaces (no TYPE menu; collection shelf
headings live on Home and a library's Recommended page), the Watchlist
hold-menu rows, the launch-link sign-in behaviour and platform-release
numbering, the notification-feed sentence and the per-profile settings
list (no stale "nine"). Add #832, #808, #750/#762, #709 (#628), #641,
#647, #793, #871, #877 (#679), #876 and the key-press frame work;
credit RichiL10 and Shakil Choudhury. #862 moves from Known issues to
the webOS 3.x lines as fixed by #578; the 3.9.3 source-build report
(#700) is kept in Compatibility. Compatibility links reports, not
reporters' profiles.

Audit: #862 provenance (attributed usage-report reading, no counts),
contributor list wording.

Action-required section: not owed. The README grep over
v0.8.0..origin/main (rust-modules/src src ci) hits only CI tooling,
test-only loopback listeners and fixture tokens, and the dev-only
/tmp/plxnative-trackmemory trigger; the audit's PR-by-PR reading in
"Deliberately not done" stands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Release audit v0.9.0: name the toolchain by its pin file, not its version

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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