Android: the app feels like a web app — kill tap highlights, add native-feeling motion #54
Closed
opened 2026-08-18 05:58:15 +00:00 by logan
·
2 comments
No Branch/Tag Specified
main
fix/146-stub-etxtbsy
fix/175-wizard-follows-the-library
fix/231-setter-rollback
fix/197-duplicate-column-label
docs/225-fixtures-wav-tags
docs/220-skill-check-scope
test/217-fixture-names-in-queue-selection
fix/216-riff-parse-allocation
fix/170-queue-header-action-names
fix/210-nav-sheet-scroll-affordance
docs/50-readme-landing-page
feat/65-art-prefetch-ahead
feat/71-more-as-a-bottom-sheet
feat/54-native-touch-feel
feat/67-entity-links-into-menus
test/196-visual-tier-gates
fix/138-ui-test-storage-leak
fix/104-wav-tags-read
fix/207-sheet-scroll-affordance
fix/204-ui-visual-update-filter
pi-agent-backlog-automation
63-touch-model-phase-2
63-android-touch-model
186-touch-targets-settings
186-touch-targets-page-header
187-seek-bar-hit-area
189-190-explore-correctness
135-android-underrun-instrumentation
51-android-small-screens
fix/171-phone-queue-scrim
fix/137-touch-only-affordances
fix/154-nested-css-check
feat/58-mini-player-progress-line
fix/66-album-page-scrolls-as-one
60-context-menu-action-sheet
64-android-system-volume
59-slim-the-mini-player
55-queue-as-a-screen
feat/57-drop-the-android-top-bar
feat/62-jobs-as-a-notification
fix/53-seek-bar-never-moves
fix/159-android-task-app-id
fix/52-android-activity-recreation-restarts-the-process
fix/150-expand-button-under-the-art
feat/42-inline-volume-and-centred-transport
fix/156-queue-selection-fixture-order
fix/151-fuse-the-scroll-guard-and-the-write
fix/43-queue-panel-selection
fix/143-top-bar-fits-its-window
feat/27-jobs-into-settings
feat/25-configurable-sidebar-tabs
feat/6-global-back-forward
fix/72-active-view-broadcast
fix/69-page-header-action-overflow
fix/quick-wins-batch
fix/118-in-library-clear
fix/61-mini-player-plain-text
fix/68-hover-affordances-pointer
fix/119-dev-headless-port
fix/130-issue-claim-user
fix/131-codegen-check-scope
feat/28-autotag-match-on-album
feat/17-demote-version-selector
feat/38-ownership-visibility
ci/115-manual-release
feat/34-icon-language
feat/7-full-tracklist-toggle
fix/16-tagwriter-totals
fix/unclaim-ca-certs
fix/unclaim-shell
ci/unclaim-on-close
docs/closing-keyword
docs/retire-stale-planning-docs
docs/issue-driven-workflow
integration/small-fixes
fix/small-issue-batch
fix/queue-toggle-state
fix/drag-count-badge
fix/album-card-year
fix/album-tracklist-heading
fix/seek-bar-clock-width
fix/explore-art-scanner-requests
chore/workflow-guardrails
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.1
v0.3.0
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.0
v0.0.1
v0.0.0
Labels
Clear labels
Area/Design
Area/Downloads
Area/Explore
Area/Library-UI
Area/Metadata
Area/Packaging
Area/Player
Area/Queue
Area/Settings
Area/Shell-Nav
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Platform/Android
Platform/Desktop
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
In Progress
Somebody is actively working on this right now
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: yonlu/yellowjacket#54
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Report
A lot of the app makes it obvious it is a web view. Elements get a highlight box when tapped, showing their bounding box. There are also opportunities for small, smooth animations and press states that would make it feel native.
Findings
-webkit-tap-highlight-color,touch-actionandoverscroll-behaviorare all available.user-selecton interactive surfaces is worth setting too — a long press currently risks starting a text selection alongside our own long-press gesture (utils/long-press.ts, 500ms, dispatching a syntheticcontextmenu).prefers-reduced-motion; the app already has a rule about it outranking app settings (seenow-playing's marquee).Direction
A pass with a shared stylesheet: transparent tap highlight,
user-select: noneon rows/cards/controls,touch-action: manipulation(also removes the 300ms delay),overscroll-behavior: containon scrollers. Then press states (a quick scale/opacity on active), view transitions between screens, and a sheet-style presentation for menus (see the bottom-sheet context menu issue). Check each against reduced-motion and against Chrome 113's feature set.Picking this up on
feat/54-native-touch-feel, fromorigin/main.Approach, and the scope it draws, because this issue is a pass and a
pass is where scope goes wrong:
The tap highlight goes globally, in one declaration.
-webkit-tap-highlight-coloris an inherited property, and aninherited property crosses a shadow boundary — so
html { … : transparent }inindex.cssreaches every one of the app's shadowroots without a per-component rule. Today exactly one component sets
it (
library-status-indicator), which is why the bounding box showseverywhere else.
Removing the highlight removes the only touch feedback some
surfaces have, so a press state ships in the same change or the
app goes from "wrong feedback" to "none". The cards already have
one (
transform: scale(0.97)on:active, in six components); therows and the phone's menu items do not. That is where the press
state is added, matching the existing idiom rather than inventing a
second one.
user-selectis already done.index.css's first rule is*, *::before, *::after { user-select: none }, which — sameinheritance argument — already covers the shadow roots. Nothing to
do; recording it so the next reader does not re-derive it.
Deliberately not in this pass, both with reasons rather than as an
omission:
touch-action: manipulation. The Findings offer it as "alsoremoves the 300ms delay", and this app's viewport is already
width=device-width, which is what removes that delay in Chrome —so the stated benefit is not available to be won here. What is
available is a change to the gesture stack that #63 tuned by
measurement on the device (
pan-yon the swipe surfaces plus anon-passive
preventDefault), and I cannot measure on the device.An unmeasured global
touch-actionover a measured gesture model isthe wrong trade.
(
index.tskeeps every primary view mounted and toggles a class),it interacts with the history stack, and it is a design decision
rather than a defect. If it is still wanted after this pass I will
file it as its own issue with the shell argument in it.
which has already shipped.
One sequencing note: this issue is Phase 4's "polish pass over the same
surfaces" as #63/#67/#71, and #67 and #71 are open PRs touching the
lists and the nav sheet right now. Everything above is either one rule
in
index.cssor a:activeblock in a row's own stylesheet, so itdoes not rewrite anything those PRs are moving.
PR #214 — #214. CI
green on both jobs (chromium 241, WebKit 239 + the 2 pre-existing
swipe skips).
What landed, against what this issue asked for:
html— measuredrgba(0, 0, 0, 0.18)before,rgba(0, 0, 0, 0)after, read three shadow roots deep.
rows, the tab bar, the sidebar's destinations and the shared
context-menu item. The cards already had
scale(0.97). This is partof removing the highlight rather than an extra, because with the
highlight gone and no press rule a held row measures the hover
tint — which on a phone is synthesised by the hold and outlives it.
Those hover tints moved behind
(hover: hover) and (pointer: fine)in the same pass, which is #68's gate applied to a tint.
user-selectneeded nothing:index.css's first rule alreadycovers the shadow roots by the same inheritance.
touch-action: manipulationdeclined, andoverscroll-behaviortoo — reasons on the PR; both come down to the stated benefit not
being available here (
width=device-widthalready removes the tapdelay;
bodycannot scroll, so there is no chaining to contain) setagainst changing a gesture stack tuned on a device this session
cannot measure.
#213. That half is a device judgement (this codebase already
carries a measured "transitions removed, software rendering repaints
per frame" on two of its grids) and, for view transitions, a shell
change that interacts with the history stack. Splitting it is what
keeps this PR's claims checkable.
Leaving
Status/In Progresson until the PR merges.