Release Kaleido 0.1.9 with responsive navigation and clearer show details
All checks were successful
Validate and publish Kaleido / android (push) Successful in 2m25s
All checks were successful
Validate and publish Kaleido / android (push) Successful in 2m25s
This commit is contained in:
parent
5199bb0928
commit
784921dba9
20 changed files with 271 additions and 49 deletions
|
|
@ -11,7 +11,7 @@ The interface gives artwork priority. App chrome uses neutral near-black, charco
|
|||
- Browsing card widths: landscape 214 dp, TV episodes 264 dp, posters 120 dp. Landscape artwork uses 16:9; posters use 2:3. The full grid scales six columns to available width. Captions reserve a fixed height.
|
||||
- Search uses three columns of landscape results. Episodes use their actual stills, preserving their native proportions instead of cropping them into posters.
|
||||
- Movie and episode information pages place a horizontal Cast row beneath the description and actions, using Plex portraits, names and character roles. TV show pages place Seasons first, then Cast, then server-provided Related shows; season pages likewise keep Episodes ahead of Cast. Missing portraits use a neutral person placeholder. Actor cards open a six-column filmography of available movies and shows across the connected server's libraries, using Plex actor identifiers and pagination.
|
||||
- TV show information uses a full-screen backdrop behind a fitted 128 × 192 dp poster and a top-aligned text block. The Back control stays in the safe area; focus only scrolls controls that are out of view. A dark backdrop fade and soft text shadows preserve contrast for descriptions, metadata and audience ratings.
|
||||
- TV show information uses a full-screen backdrop behind a fitted 128 × 192 dp poster and a top-aligned text block capped at 560 dp, matching movie details. The three-line summary offers a Synopsis action when truncated, opening the full text with D-pad scrolling. Its 248 dp minimum header keeps season artwork and captions on the initial screen at the standard TV density; longer titles can grow the header. The Back control stays in the safe area; focus only scrolls controls that are out of view. Artwork fades to near-black before the lower rows and disappears over the first 180 dp of scrolling. Soft text shadows preserve header contrast.
|
||||
- Movie, episode, show and season information pages expose labelled Mark watched / Mark unwatched actions. Changes are sent to Plex and reflected in the title, descendant episodes/seasons, library cards, actor results and recommendations. An in-flight write survives navigation and prevents duplicate submissions. Partial episode-list records update watch fields without replacing full cast/detail metadata.
|
||||
- Settings uses a fixed category rail (Connection, Playback, Interface, Updates) beside compact value/action rows. Focus selects categories; Right enters their controls and Left returns to the rail. Neutral surfaces, white focus, existing typography and restrained motion match the browsing destinations. Existing account, quality, watched-threshold, navigation-sound and updater preferences keep their behavior.
|
||||
- Features use original Plex clear-logo artwork within 264 × 80 dp, falling back to title text. Detail title: 32/36 sp. Library title: 29/34 sp. Discovery rail heading: 17/22 sp. Supporting information: 10/14 sp.
|
||||
|
|
@ -25,10 +25,15 @@ The interface gives artwork priority. App chrome uses neutral near-black, charco
|
|||
- Text actions scale to 1.025 over 160 ms. Navigation uses text, an understated selected underline, and a translucent charcoal focus surface.
|
||||
- Navigation focus changes use Android's native UI tick. Settings > Interface > Navigation sounds toggles it immediately and persists across process restarts; it defaults to On and follows the TV's global sound-effects setting. Initial startup focus and repeated notifications for the same target are silent. The shared focus observer covers navigation, cards, buttons, dialogs, playback options and the timeline without changing key handling.
|
||||
- Navigation contrast comes from a gradient extending past the controls and fading to transparent. Home/Movies/TV activate on focus. Explicit row and column links prevent beyond-bounds focus searches when holding a remote direction.
|
||||
- A D-pad move predicts the actual row/column destination before starting its scroll or focus change. The target backdrop is fetched and contrast-processed through the same Coil request/cache as the visible scene. Speculative artwork uses one low-priority worker so it cannot flood normal decode workers during a burst of input. Metadata starts in parallel; the visible preview and details page share that in-flight request. Rapid navigation replaces the queued metadata target and cancels superseded artwork prefetches. Full metadata uses a 64-item LRU with a 30-second lifetime, cleared on account/server changes and refreshed after watched updates. Neutral library/search grids prefetch metadata without fetching an unused full-screen backdrop.
|
||||
- A spaced D-pad move predicts the actual row/column destination before starting its scroll or focus change. The target backdrop is fetched and contrast-processed through the same Coil request/cache as the visible scene. Speculative artwork uses one low-priority worker so it cannot flood normal decode workers during a burst of input. Metadata starts in parallel; the visible preview and details page share that in-flight request. Rapid horizontal input settles to the latest target before starting speculative work. Full metadata uses a 64-item LRU with a 30-second lifetime, cleared on account/server changes and refreshed after watched updates. Neutral library/search grids prefetch metadata without fetching an unused full-screen backdrop.
|
||||
- Home's vertical list prepares content within one viewport ahead and retains one viewport behind, using Compose's bounded lazy-layout cache window. This keeps the hero and nearby rows ready when moving between them, rather than repeatedly composing and measuring the exposed image cards during the animation. Movies/TV use the same window. The window only fills ahead after the list has scrolled, so once a section settles it is nudged 1 px and back, letting the next rows compose in idle frames instead of during the first move down. Card sizes, row targets and the large cinematic Home layout are unchanged.
|
||||
- Section previews settle for 120 ms (Home artwork for 90 ms), overlapping the navigation animation, and retain previous artwork until replacement data is ready. Contrast gradients are baked into a cached bitmap on a worker thread, reducing GPU overdraw. Hero recommendation changes crossfade the artwork over 220 ms, including cache hits, and fade the title/summary out for 100 ms and back in over 180 ms. Rotation pauses on the information/next controls and preserves their focus. Vertical row changes animate to explicit row/column targets; page entrances fade and slide 28 dp over 280 ms, using per-draw alpha rather than an offscreen layer, and start once the new section's composition frames have passed (at most 300 ms). While a section enters, its cards lay out at their fixed size first and fill in artwork and titles three per frame under the fade, so the section's first frame stays short. Focusing a top tab lets its highlight draw before the section switches. The cold-start sequence lasts 2.9 seconds. The six exact facets begin as a closed, overlapping iris lit from behind; it holds there (at most 700 ms) until startup data has arrived and frames are steady, so cold-start hitches never interrupt the motion. The iris then twists 44° open and locks with a slight overshoot while light leaks through the six gaps, a single sheen crosses the settled mark, and the mark shrinks into a lockup scaled from the header brand as KALEIDO slides out from behind it. Once loading finishes (up to 600 ms extra) the camera flies through the aperture's dark center over 640 ms, revealing the app beneath as it settles from 114 percent scale. The completed mark itself is never redesigned. Android animation duration scale is honored, including animations off. It does not replay when returning from background.
|
||||
- Returning from details restores the library's mode, scroll position, and previously focused title.
|
||||
- Entering Movies/TV from the top bar focuses the fixed Discover control immediately. Down from Discover explicitly reveals the first catalog card; focus on already-visible targets changes before scrolling. A quick tab/Down sequence queues entry for the new destination, and focused tabs never repeat their delayed initial-focus request.
|
||||
- Offscreen card navigation requests the next lazy layout instead of forcing synchronous composition between key events. Up at the top bar is consumed because there is no destination above it; it must not start a lazy-list focus search.
|
||||
- Horizontal rows prepare one viewport ahead and retain half a viewport behind. New card artwork/text fills over up to three frames at fixed bounds. Horizontal focus commits on a frame boundary; a pending column accumulates rapid D-pad steps before committing the latest target, keeping accessibility layout work out of the gap between KeyDown and KeyUp.
|
||||
- Horizontal presses less than 160 ms apart snap to the latest anchor and wait 70 ms before speculative metadata/artwork. Spaced presses retain the 140 ms scroll animation and immediate prediction.
|
||||
- New seasons groups additions by Plex parent show ID, preserving newest-first order. Multiple seasons use the real show metadata and open its season list; single-season additions retain direct season navigation. The query samples 100 seasons before selecting up to 18 distinct shows, so one series import cannot occupy every card.
|
||||
|
||||
## Player
|
||||
|
||||
|
|
|
|||
|
|
@ -130,3 +130,17 @@ The TV show header initially moved its title to y=21 px when Compose's default T
|
|||
Settings now uses Connection / Playback / Interface / Updates categories. The underlying account, preferences and signed-updater behavior are preserved. Raw captures and server-specific verification results remain in ignored `evidence/private/`; the README gallery contains reviewed screenshots from the release build.
|
||||
|
||||
Final 0.1.8 verification: `Build.ps1 -Release -Test` passed; `verify_settings.py` passed category focus, Original quality / 80% dialog cancellation, live update checking and sign-out cancellation. `verify_navigation_sounds.py` passed Off and On persistence across cold starts, leaving sounds On. All six `verify_ui.py browse` checks passed, including real Plex PIN cancellation. The final signed APK (version code 9) was installed in place and profile compiled; the encrypted session and playback preferences were retained. The app was returned to Home. The release gallery includes nine new 1920 × 1080 captures, encoded as lossless WebP and checked for pixel equality with their source PNGs.
|
||||
|
||||
## Show details, season grouping and remote navigation - 2026-10-26 (0.1.9)
|
||||
|
||||
Show information now uses a 248 dp minimum header, with the fitted poster starting at 56 dp and description width capped at 560 dp. On the onn, the 3 Body Problem title stays at `[392,112,849,188]`, Back remains visible, and the full Season 1 caption fits inside the first screen. Truncated text opens a near-black, poster-led Synopsis panel with the existing typography and circular close control. The release layout check passed opening, D-pad scrolling, Close, Back and restoration to Synopsis. Scrolled Cast screenshots show a near-black background: the header artwork fades completely over the first 180 dp of scrolling, while the lower-screen scrim is opaque.
|
||||
|
||||
New seasons samples 100 Plex season records, deduplicates by parent show ID, then selects up to 18 groups in recency order. Multiple seasons use the actual parent show's metadata and open its season list; single seasons still open directly. Identity/order/limit tests and the live Plex query passed. The TV screenshot shows one Punkin Chunkin card among the other shows.
|
||||
|
||||
A rapid Right/Down sequence reproduced a dropped Down press in 0.1.8. Tab activation waited two frames, and delayed initial-focus effects could reclaim focus after the next move. The release queues entry for the intended destination, records already-focused tabs, and enters the fixed Discover control without waiting for catalog resets. Rapid Movies/Down and TV/Down, re-entry after catalog scrolling, and a four-step horizontal out-and-back check passed on the onn. The startup section regression and all six `verify_ui.py browse` checks passed, including live PIN cancellation preserving the session.
|
||||
|
||||
Performance was measured with the signed release and confirmed ART `speed-profile` compilation, retaining both accessibility services and all device settings. Initial browsing samples missed the p95 <40 ms gate. A controlled comparison rebuilt unchanged 0.1.8 source with version code 10 solely to allow an in-place install; it measured median 16 ms / p95 53 ms on the same current content. Tracing showed offscreen composition and layout between rapid key events. Horizontal rows now cache one viewport ahead and half a viewport behind, stage new card content at fixed bounds, and commit pending column changes on frame boundaries. Spaced presses retain their animation; presses less than 160 ms apart snap to the latest anchor and defer speculative artwork until 70 ms of settling. Up at the top bar does not run a lazy focus search. The final onn browsing check passed with median 17 ms / p95 34 ms, GPU p95 7 ms and zero horizontal Y drift (63 rendered frames). Some frames still missed 60 Hz; this is a device sample, not a guarantee.
|
||||
|
||||
The macOS checkout was reattached to the existing repository history without replacing its source files. Builds reused an existing JDK 17 with Gradle 8.13 and an isolated SDK 36, and used the original private signing key. `assembleRelease testDebugUnitTest lintDebug` passed (five unit tests); the signed debug build passed all 21 Android integration tests against the existing encrypted session. An outdated integration-test transcode argument was updated to `StreamQuality.Original`. Scripts accept `KALEIDO_ADB` for the local ADB executable and retain the authorized serial selection. Private keys, toolchains and raw device evidence remain ignored.
|
||||
|
||||
On the TCL (`192.168.50.200:5555`), 0.1.9 installed in place and ART confirmed `speed-profile` after a lost compilation reply. Rapid tab/Down, scrolled catalog re-entry and the horizontal round-trip passed. A longer transition run lost its ADB transport; `device.py` now reconnects when the serial disappears as well as on closed/offline errors. A shorter, complete Movies sample (`profile_transitions.py --skip-home`) measured tab → Discover p95 22.7 ms, Discover → row 23.2 ms and row → row 46.1 ms (baseline 74.8 ms). Entering Movies measured p95 94.2 ms / maximum 106.4 ms, versus baseline 106.8 / 150.1 ms. These are individual samples; the weaker TV still misses frames on section composition, and the interrupted run is not counted as a complete pass. Both comparisons retained the existing session and settings.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue