Repository navigation
Conversation
…Watchlist Baked by tools/readout-glyphs.py's polygon booleans at the inline weight (stroke 2.2, the weight of search/restart/info), one even-odd path each: - bookmark / bookmark-fill: the tab and the not-on/on-the-list states; the filled twin is the outline's own silhouette, so the state flip never moves an edge. - clock: coming soon (the read-out's clock base at the inline weight). - server-slash: its server is offline (the read-out's server base, slashed the way wifi-slash is). Graded through src/svg.c at 28px and 112px: full opacity reached, no ink on the border. No Icon variant yet; the Watchlist implementation adds them. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HcmBfRRonyYQMBUm29X1US
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… signatures, W2 data::watchlist model/order/ledger shapes) Types and signatures only; bodies are unimplemented stubs for W1a/W1b/W2a/W2b to fill. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Wires the four inline marks committed in assets/icons (baked by tools/readout-glyphs.py at the 2.2 weight) into the Icon enum: src() includes each asset, ink_x() and band() carry the bounds measured from the path data, and host tests grade every mark at 28px and 112px through the production clamp (full opacity, no ink on the border). A drift test checks the ink entries against the asset paths themselves. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…mption (DS5)
The shared strip now takes its pills as TabFace values: a captured word, or
an icon mark. Search is an Icon face (60x60, 32 px mark, 16 px gap, mixed_ink
unchanged) instead of an empty label that paint recognised by position.
Positional maps in library and search become key lookups against
widgets::TAB_KEY_{HOME,MOVIES,SHOWS,SEARCH,CHIP} (Search +3, chip +4 unchanged).
Behaviour-neutral. Adds an overscan_rects test: five focus stops do not scroll
and the drawn track clears the audited track rect.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…R builds Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… type per kind, plex:// only Co-Authored-By: Claude Opus 5.5 <[email protected]>
…table transport (W1a) discover() base with loopback trigger, paged/released lists, userState array+object, catalog item, add/remove PUT, drift-tolerant parsing, dev-build write refusal, closure tests. account.rs: headers/loopback_http/note_response_contact/endpoint_shape pub(super). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n/Es/Be/Fr Adds LocaleContext::month_day with hand-written month tables (no ICU name data compiled in); Belarusian long form takes the genitive after the day number. New watchlist.json catalogs in each shipped language, with a test that every key is present in all four. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…reId::Watchlist
Ledger: optimistic flip, one ordered write worker, same-id coalescing with the newest intent
winning, revert on failure (no toast), reads overridden by intents newer than their stamp.
WatchlistStore: owned state plus Arc mailbox, list/rematch/write workers, WatchlistAuth captured
on the main thread, landings tagged {profile generation, epoch, request}, stale ones dropped,
facts_gen/roster_gen re-derive tile states, held_keys and the ViewChange patch.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ectory-policy test Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t sites and list caps Co-Authored-By: Claude Opus 5.5 <[email protected]>
…face Co-Authored-By: Claude Opus 5.5 <[email protected]>
…bFace Co-Authored-By: Claude Opus 5.5 <[email protected]>
…stays Unknown, reread page failure not truncated; discriminating stale-landing tests Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…only last Co-Authored-By: Claude Opus 5.5 <[email protected]>
…1u9TMXxJccMCjtenw
…1u9TMXxJccMCjtenw
… lists the ground cut Co-Authored-By: Claude Opus 5.5 <[email protected]>
… press) The strip is a Control focus group, so the remote's OK on a pill or the account chip arms a press and the page hears PressCommit with the strip key focused, never Activate. WatchlistScreen answered PressCommit only for a card and returned Handled::Yes with nothing emitted, so every strip press died in it and only BACK left the page. Home, Library and Search all fall back to the focused element on PressCommit; the Watchlist never did, from the day the strip was wired to it. One activate() now serves Activate and a non-card PressCommit: Try again, the Sort & Filter pill and the strip. Tests (red before, green after): the screen's committed strip press, the real key path through the dispatcher on the wiring rig, and the whole loop (hostsim) taking the route Home -> Watchlist -> Home by the strip. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A strip tab's mint asks for the page's group 0. The Watchlist mounts before its rows are fed, so its grid (group 0) is empty and the engine fell back to the first non-empty group it is given: the strip, which the container lists first, at its left end, the account chip. Search and the Library meet the same fallback and seat themselves (Search its field on Mount, the Library its head through its provisional seat); the Watchlist had no self-seat, so its arrival stayed on the chip. The page now seats its own arrival the same way, with a fresh Enter addressed to itself: the header's pill while nothing has landed, then the first tile on the first landing, reported as a deliberate move like the tab mint. The seat is the page's only until the reader acts (any key down or pointer event), and a restored page keeps the reader's seat. Reordering the composed groups (strip last) was tried and rejected: the Library's arrival test caught its head tile popping under the dissolve. Tests: a strip arrival on Search and the Watchlist seats in the page (hostsim, whole loop), the wiring rig's arrival is off the strip and follows to the first tile, and a key before the rows land is kept. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Removes Grid/StackView::ground_cuts, PageGround::draw_cut, Painter::ambient_cut, Source::peek and ready_on, card_art_opaque, subtract_rects, the groundcut dev switch, their tests and the clip-guide line. The post-Remove ease and the AmbientWash::K doc stay. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…count's profile A QR sign-in that is not a sign-out (a stored session that could not be activated, "Use another account" after a no-servers verdict, the dev /tmp/plxnative-login trigger tv-session's --screen login arms) starts from the stored record. `Authorized` replaced only the account token, so the previous account's `user` rode through `SignedIn` (which stamped the new account's plex.tv token onto it) into the published profile: a single-user account signing in next showed the previous account's name and avatar on the profile chip (`Session::account` prefers the active profile's title over the roster), and the discovery save wrote the previous profile and its offline profile cache (`profiles`) under the new account. `Authorized` now resets `user`, `home_users` and `profiles` before the request identity is recomputed; `SignedIn` writes the new roster and a Home account seats through the picker. On disk, the login-over-another-account clearance in `replace_after_reauthentication_guarded_with_outcome` also drops `home_pins` and `recent_searches`, keyed by profile uuid with "" for every account's owner. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…re clearing a stored account's memory A fresh QR sign-in always mints a new account token, so comparing tokens made the same person re-signing in lose their Home pins, searches, last library and library views. The clearance now compares the roster admin's plex.tv id (unknown on either side clears), and the offline profile cache Authorized empties is restored from the stored record when the SignedIn roster names the same owner. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… the reader's focus back follow_seat queues a fresh Enter to the page itself. The dispatcher queue is FIFO but a drain budget can carry the Tick that emits it over a frame, so the reader's next key lands ahead of the Enter; the key claimed the seat and the late Enter, which the engine applies whatever the page answers, then seated the first tile over the reader's move. The page now counts the seat Enters that were in flight when the reader acted and, when one arrives, asks for the reader's current focus back with an Enter of its own. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…refused write says so A debug (devtriggers) build refused every Watchlist add/remove unless the mock's discover stand-in was armed (Q11), so the owner's real-account check on debug saw presses that did nothing: the flip and its revert landed in the same frame. The owner's decision: - `plxnative-watchlist-live` in the install's runtime root lets a devtriggers build send the write to plex.tv. Off by default, latched once at boot, which logs `watchlist: LIVE writes enabled by trigger`; each write that goes out logs its endpoint shape and status. The stand-in still takes the write when armed. - While the last write was refused, the Watchlist header says `Debug: watchlist write blocked`. The line, its feed and its string are compiled only into a devtriggers build, so nightly and stable keep Q8's silence. - No agent may create the file unless the owner asks in that session: AGENTS.md and the tv-session skill say so, and a new PreToolUse hook (watchlist-live-guard.py, with its suite in make check) refuses a Bash command that would create it or `--arm` it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… switch made stale check-localization refuses an app-owned literal, so the cue is the catalog key watchlist.page.debug_write_blocked in en/es/fr/be (be: наладка, skarnik; заблакіраваны, verbum). The refusal log names both ways past the failsafe, and the transport doc, the app feed's module doc, the failed-write test's doc and the hook-suite comment no longer say a debug build only writes through the stand-in. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…account Co-Authored-By: Claude Opus 5.5 <[email protected]>
The owner could not tell a no-server tile from a playable one with the wash alone. The mark sits in the watched tick's corner like clock (coming soon) and server-slash (server offline), at the inline 2.2 weight. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HcmBfRRonyYQMBUm29X1US
…vier wash NotOnAnyServer takes Icon::CircleSlash as its corner mark (the clock and server-slash treatment), and its wash goes 30%/10% to 55%/25%. The catalog page's status line follows the tile: on-no-server wears circle-slash, server offline keeps server-slash. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolutions:
- tv-session skill: kept both the Watchlist-writes paragraph and the netloss-proxy paragraph.
- home/mod.rs: kept main's per-tick hero anchor and the branch's hero_len (the bookmark disc
makes the hero group's length per title); home/tests.rs kept both test modules.
- i18n/tests.rs: kept both sides; month-day tests cover it, pt and de; the Watchlist catalog
test reads every shipped language by registry tag instead of a hand-written list.
- i18n/mod.rs: month_day tables for Italian, European Portuguese and German.
- locales/{it,pt,de}/watchlist.json: the Watchlist catalog translated for the new languages.
- registry.rs: both pin-history comments kept; SCREEN_SHAPES_PIN recomputed by the pin test.
- Replay fixtures 1, 6, 12: main's files taken, then re-recorded on the merged tree with
tests/focusfp.sh --rec and tools/plxnative-rec rerecord; SAME in Targets and Resolve.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…atalog The caption and status line read "On no server"; the design canvas says "Not on your servers". All seven catalogs and the prose that quoted the old words follow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The language-list gate refused three hand-written lists; the fit tests now cover every shipped language, and the Watchlist count table gains Italian, Portuguese and German rows. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…, no allow-list growth Co-Authored-By: Claude Opus 5.5 <[email protected]>
…, and a reflow no longer snaps or overlaps Three glitches on the Watchlist grid: - Sort & Filter now shows each click. The menu casts no veil (Screen::lets_host_reflow), so the value reaches the grid and the landing plays under the open panel. The host cache follows the page live while the cards move (popover::host::set_reflow: no per-frame capture, page_epoch stands still) and is retaken once when they stop; the old look, copied on the last live frame, crossfades into the new ground over 150 ms from a second retained slot of the frame cache. The hold menu and the account menu keep the freeze. - The first drawn frame of a change is the frame before it. The watchlist feed ran after the frame's tick, so the new cards drew at their final slots once and the landing then began from the old ones; the feed now runs at the head of the frame, and a grid's landing draws its start state on the frame it begins in. - Cards no longer overlap. Draw order is leaving copies, still cards, movers by the length of their way (fixed when the landing begins, longest on top), the focused card; a new card stays at alpha 0 while a moving survivor's straight path crosses its cell. A sort's landing eases the wash at the shared rate; POST_REMOVE_EASE_K is kept for a Remove only. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…o hypot) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Brings the circle-slash mark and wash on the not-on-your-servers tile and the grid reflow fix. Resolutions: - docs/watchlist.md: catalog status line keeps the "not on your servers" wording and the circle-slash mark for it (server-slash stays for server offline). - every other file merged cleanly; "Not on your servers" catalogs and SHIPPED-driven language loops kept as on watchlist. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e wash never passes through neutral - The header count held across a Sort & Filter change (options or rows) now waits for the landing's first moving frame through the Remove's count_hold; Grid::landing_waiting is true until the springs have stepped once, so an unveiled Remove's count follows its first step, not the frame before it. - A focus the reader did not move settles the caption band on its new row at once, but the landing now measures where each card stood under the bands the last frame drew (Scene::was), and a band that settles while a landing plays is rebased into its springs (Landing::rebase), so the layout move rides the landing's spring with the cards instead of snapping. - The wash holds its key for a focused title whose colours are not loaded yet, and the page's focus mirror follows its element through a reflow under the Sort & Filter menu. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n once its cell is half clear - The focus caption after a Remove (or a Sort & Filter change that takes the focused card away) kept the removed title only until the landing's frame-before-it, so it read the next title one frame before the count dropped. It is now held by Grid::landing_waiting, the owner's cue the count already follows, so the caption and the count change on the landing's first moving frame. - A new card waited at alpha 0 until no moving survivor's whole path box crossed its cell, which left a dozen frames of empty cells on a large re-toggle. It now begins to fade in on the first frame the cards in flight (their rects as they stand, the union of their areas) cover less than half its cell, at the same fade rate. Fading cards are drawn as DrawRole::Arriving: ghosts, leaving copies, still cards, fading-in cards, movers by travel, focus, so a new card never covers a card in flight. Co-Authored-By: Claude Opus 5.5 <[email protected]>
RichiL10
added a commit
to RichiL10/plx-native
that referenced
this pull request
Oct 18, 2026
Brings the four upstream commits after the 0.9 base 0b0b220: - plxnative#831 Watchlist: a plex.tv Watchlist tab, catalog page, Detail and hold-menu controls - plxnative#803 input: a click with no control under it is OK after D-pad navigation - plxnative#832 Route: a remux declares the source frame rate in the Load - plxnative#833 tools: make test-crate works on the stable toolchain One conflict, in the rebuilt-route projection of route/decision.rs: upstream now declares `video_copy_fps(&applied.contract, p.src_fps)` where the fork had 0, and clears Dolby Vision where the fork keeps the source's declaration on an HEVC video copy. Resolved with upstream's rate line and the fork's Dolby Vision block, whose else-branch clears Dolby Vision exactly as upstream does. No other fork code sets the stream rate, so every copying remux now follows upstream's rule.
GLinnik21
added a commit
that referenced
this pull request
Oct 20, 2026
…nd a tree-wide gate refuses the class (#867) `make test-crate C="plx_ui plx_screens"` aborted plx_ui nearly every run (SIGABRT "pointer being freed was not allocated" / SIGSEGV in a CString drop): a test-only data race on `static mut TAB_CACHE` (widgets.rs) between the two tab-pulse tests (#831) and the five-face top-bar test (#843), each replacing and freeing the other's entry; make check's 2 test threads missed it by timing only. Production touches these caches only from its frame thread. This removes the class: no `static mut` that owns heap remains unnamed. - plx_ui render caches -> thread_local! (widgets TAB_CACHE, icons CACHE, text_view WRAP_CACHE, testpat CURRENT, anim ENTRIES, popover CACHE/HELD/TARGET); gfx text elide memo -> thread_local!, font cmaps -> OnceLock (write-once pure function of the file); the app's poster art-key memo -> thread_local! with Rc<str> keys (hits stay allocation-free; cross-thread use is a compile error); textinput's pending-commit queue -> thread_local!. The three gfx.rs GL-context probes stay static mut, named with their reason. The tab-pulse tests take the motion test lock. No RefCell borrow is held across a call that re-enters its cell; popover asserts in debug that the page redirect is closed at the frame boundary. - ci/check-statics-heap.py (run by ci/check-statics.sh in make check) refuses a `static mut` anywhere under rust-modules whose type owns heap unless named with a reason; it follows the tree's own type definitions, ignores associated types and enum variant names, treats std plain-data wrappers as plain while their parameter is, names macro statics by their macro, and fails red if it crashes. Allowlist 10 -> 5. Regression tests through one shared harness (plx_base::testrace), each crashing on the old code: tab labels per thread (5/5 aborts), elide memo, art-key memo, pending-commit queue. The repro is clean: test-crate pair 5/5 ok (was FAILED -6), tab tests at 5 threads 10/10 (was 5/6 crashes). Gate tests watched red. Gates on 773e7dd: make check ok (1840/0 largest, harness 483 OK), hostsim 940/0, check-nodef clean, check-replay 6/0. One review (no blockers; its gate false positives and nits fixed here), one simplify pass. A thread_local! read is local-exec TLS on the static non-PIE ARM executable; nothing new allocates per frame. Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21
added a commit
that referenced
this pull request
Oct 31, 2026
The top bar's glass no longer depends on how wide the tab strip is. New entries and longer labels can't take the material away. The Belarusian strip is 679 px on the TV, 7 px past the old 672 limit. The Watchlist pill from #831 added the 76 px that tipped it, so any build in Belarusian with both library kinds lost the glass, stable included. A cap on a width set by languages and libraries would keep failing this way as the bar grows. `GLASS_TRACK_MAX` and its budget constants are gone. Past `TAB_VIEW_MAX` the strip scrolls inside a track that stays glass. The profile chip keeps off the track by shortening its name: `chip_name_budget` is the room the bar leaves, `ChromeSnapshot` re-elides when the strip or the profile changes, and with no room left the chip is the closed circle. `backdrop::surface_with` now splits a shared band on overlapping drawn rects, not on touching sampling footprints. The old rule put the chip and any track of 1432 px or wider in separate bands, which meant a second source job and a second page pass. On the TV, `hero-pong` at 1544 px went from 104 and 69 missed refreshes to 14 and 16. Measured on the TV, debug flavour, `ARM_PROFILE=release`, mock, `hero-pong`: `GPU_ACTIVE` p50 reads 7.61M flat, 8.70M at 679 px and 9.65M at 1544 px, against 11.2M for one refresh. Frames over one refresh read 0%, 0.2% and 6.8%. The widest track has no margin left, and the scene misses refreshes in every variant, glass or not.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up: #830.
Why
The plex.tv Watchlist was out of scope (
docs/search.md§6,docs/parity-gaps.md). This PR adds it as its own tab-bar destination, as approved in the Watchlist design. The design's source of truth is the canvas artifact (v54). Its Motion board shows frozen ground, a 30 px menu shadow, the menu gone before the grid reflows, and the wash held, then eased, after a Remove.What
Data
plex::watchlist):releasedlist, per-itemuserStateand catalog item, and add/removePUTs.session::plex_tv_credential), never a PMS token.Client::find_by_guids): one comma-joinedguid=batch per server and type, at most 40 guids per request.data::watchlist,stores::watchlist,StoreId::Watchlist):CURLOPT_HEADERFUNCTIONkeeps the response ETag.If-None-Match; a 304 keeps the rows.held_keys,Shown.watchlist, the reread arms).filters=playing,timeline. A finished library add or delete re-matches the Watchlist. The frame shape is from a capturedTimelineEntry.Screens
TabFace::Icon,STRIP_BASE + 5). Positional maps became key lookups.screens::catalog,StoreId::Catalog): for a title that is on no server. It shows a status line, an "Add to Watchlist" / "On Watchlist" pill and no Play.appkit::hero_layout.Design-system changes
frame_ingest, before the screens tick.gfx::FrameCachekeeps one previous copy and releases it when the fade ends).Sign-in fixes found along the way
Debug only
plxnative-watchlist-live, lets the owner check real writes. It is logged once at boot, and each write logs its status..claude/hooks/watchlist-live-guard.pyblocks agents from creating it, and AGENTS.md and the tv-session skill say why.devtriggersbuild, and a test checks that.Tile states: a title on none of your servers wears a circle-slash mark under a 55% wash (25% when focused), captioned "Not on your servers". A server that is offline keeps server-slash.
Languages: every Watchlist string exists in all seven shipped catalogs: en, es, be, fr and main's new it, pt-PT and de. Month captions include it, pt-PT and de.
Docs:
docs/watchlist.md(new);docs/search.md,docs/parity-gaps.md,docs/pms-api.mdanddocs/module-layers.md; the ui and screens guides. A doc-claim audit ran, and its findings are fixed on the branch.Verification
make checkon the committed tree at 1a4bd78 (clean before and after): 17402 passed, 0 failed, 122 ignored over alltest result:lines. Last cargo stage:test result: ok. 1802 passed; 0 failed; 60 ignored; 0 measured; 0 filtered out.cargo +1.99.1 check --lib --no-default-featurespasses.make ARM_PROFILE=release FLAVOR=debugbuilds at 1a4bd78 and was deployed to the set (verify-deploy: 43 files match).0x07c8_d161_c006_f959), and they replay SAME. The later reflow commits did not move them (tests/test_replay_fixtures.pyinmake check).extern,dynlib!or#[link], and theDT_NEEDEDlist is unchanged.CURLOPT_HEADERFUNCTION(20079) andCURLOPT_HEADERDATA(10029), set through the existingcurl_easy_setoptwrapper. libcurl has had them since 7.10, older than the 7.53.1 floor.Build bench
Measured before main was merged in. The Makefile diff against main is still only the
disk-preflighttarget.make build-bench, 3 runs per scenario, interleaved, run back to back on the same Mac (Apple M4, 10 cores, rustc 1.101.0-nightly, 8 front-end threads). The base ran in a clean checkout of c08e295.disk-preflightfree-space check in front ofcheckandcheck-replay. It touches no compile recipe.target-fast. On the branch they read 11.5 s (cbuf.rs) and 4.1 s (ui lib.rs). The ARM staticlib row is skipped on both: neither checkout had atvdevarchive.Effects to know
ContentArg::CatalogandCatalogScreen) and one re-pin (catalog identity inARG_SHAPE). All three replay fixtures were re-recorded each time.🤖 Generated with Claude Code