Repository navigation
Tags
Tags
Session Media: switch tabs instantly (anomalyco#189) AGENTS.md: switching views is instant; tabs swap on the next frame and only the indicator moves. A tapped Session Media tab now scrolls the pager to its page at once instead of sliding, which also drops the reduce-motion fade that tap had. Finger swipes between tabs still follow the finger. Parity row updated. Verified: scripts/check.sh :feature:session; emulator recording against session-lab: tapping Media/Links swaps the content and indicator within one frame, swipes still track the finger.
Session Media: switch tabs instantly (anomalyco#189) AGENTS.md: switching views is instant; tabs swap on the next frame and only the indicator moves. A tapped Session Media tab now scrolls the pager to its page at once instead of sliding, which also drops the reduce-motion fade that tap had. Finger swipes between tabs still follow the finger. Parity row updated. Verified: scripts/check.sh :feature:session; emulator recording against session-lab: tapping Media/Links swaps the content and indicator within one frame, swipes still track the finger.
Media: keep viewer images on screen and share one image cache with th… …e transcript (anomalyco#159) The full-screen viewer showed Opening/Downloading or the pager spinner when you came back to a file image (paging back, reopening, after a resume) and re-read the original each visit. Offline, every page that needed a check failed. - AgentImageCache (new dependency): one identity per image (server + absolute path, or media:<hash>). A validated file stays fresh, with no timer, until AgentFileChecks.invalidate (session open or resume, run state change, settled reply) bumps the server's epoch. A fresh file opens with no request or decode. Decoded pixels stay in the shared memory budget. After each preview write, disk copies are trimmed oldest-first until the whole app cache fits StorageManager.getCacheQuotaBytes (read off the main thread). With no quota (error or <= 0) nothing is trimmed and Android cleans up. Downloads still being written are skipped. Decodes coalesce and downloads to one destination run one at a time. - AgentFileViewerModel shows resident pixels or the decoded disk copy first and checks behind them. With a disk copy that has validators, the check is a single conditional GET (no range probe): a 304 keeps the pixels, a 200 replaces them, a failed check keeps them, a 404 fails. Video and audio still probe first, for streaming. - FullscreenViewer: only the selection and its ±1 neighbours hold full-size pixels. Neighbours are decoded ahead from disk copies or inline bytes (NeighbourPrepared, no network). A file page with no full-resolution pixels opens on its transcript preview at the file's size until the full image decodes (placeholderSize), so zoom and fit don't change when the full image arrives. - AgentImagePreviews writes its bytes and validators to the viewer's disk copy. A preview whose pixels were dropped reads that copy back (as is while fresh, confirmed by a conditional GET, or as is when the server can't be reached), not the whole original. A local read never extends freshness. Ported from debug/device-swipe-trace 3c21cbb3, e81d7472, 773cbcd3 and 36dbc563, without Session Media and without the ViewerTrace/ImageTrace/ SwipeTrace diagnostics, onto dev. Decoded pixels live in dev's Coil-backed DecodedImageCache, so the two cache tests use a MemoryCache with weak references off. Review fixes on top: a disk read is capped at MAX_BYTES, trim skips files still being written, and a changed file's decode never joins one of its previous copy. Tests: 9 new MediaReferenceTests. aStaleCopyIsCheckedByOneConditionalGet... fails on the probe-first path (2 requests, not 1). With their fix reverted in place, revisitedFileImagePagesComeBack..., selectingAPageDecodesItsNeighbours..., aFileImageOpensOnItsSharedPreview... and aFileThatNeedsACheck... fail. The other 4 cover the new cache. ComposerPhotoViewerTests now expects the neighbour decoded ahead (parity row updated). Verified: - ./gradlew --continue assembleDebug lintDebug testDebugUnitTest on dev: all modules pass. The only failure is AttachmentCameraLensTests, which expects "1.6×" and gets "1,6×" from this machine's en_DE locale. This change doesn't touch it. - Emulator (Medium_Phone_API_35, read-only, port 5640) against session-lab's images checkpoint (11-page transcript gallery). Opened, swiped forward and back across all pages, closed and reopened, resumed, then went offline (airplane mode) after a resume and after a cold start. No spinner or blank page on any revisit. Reopening draws the image at once with 0 file reads. After a resume, revisiting all 10 cached files over 30 swipes sent exactly one conditional GET per file (10 x 304): no 206, no 200, no spinner. Offline: the viewer and transcript images come from disk copies with 0 reads.
Split CI from releases and release from dev (anomalyco#158) CI (ci.yml) now runs with no secrets, environment or OIDC token on every PR and push to dev, and publishes the debug APK as dev-latest instead of main-latest. Releases (release.yml) run from dev at noon and 6 p.m. Central or by dispatch with a bump. The version is the latest vX.Y.Z tag bumped, and the version code is the run number plus 1000. The bundle is built unsigned in a credential-free job and handed to the publish job with a SHA256SUMS digest; publish checks out only .github/release/, verifies the bundle, signs it with the upload key (jarsigner), ships it to Play, then tags and creates the GitHub release. AWS credentials and secrets are scoped to the step that uses them. Removes android.yml, scheduled-release.yml, scripts/version.sh and the Gradle upload signing config. play-promote.sh moves under .github/release/. Adds CODEOWNERS for .github/. Verified: actionlint (only the custom runner label), plan.sh against the live tags, checksum handoff and sign-bundle.sh with a throwaway PKCS12 key.
Merge pull request anomalyco#69 from anomalyco/dev Merge dev into main
Merge pull request anomalyco#54 from anomalyco/dev Merge dev into main
Merge pull request anomalyco#36 from anomalyco/background-subagents Voice: follow subagents that always run in the background
Merge pull request anomalyco#26 from anomalyco/polish/pr8-fixes Polish: fixes from anomalyco#8 in the desktop look
Merge pull request anomalyco#16 from anomalyco/min-sdk fix(build): install on Android 14; microphone and location hardware optional
Merge pull request anomalyco#17 from anomalyco/ci-flakes ci: stop flaky unit-test failures (Robolectric 429s, wall-clock budgets)
PreviousNext