Android: move inline entity links into the item's context menu #67
Closed
opened 2026-08-18 06:00:07 +00:00 by logan
·
3 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.
Depends on
Reference: yonlu/yellowjacket#67
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
Tapping a small text link inside a row to reach an artist/album page is fiddly on a phone. On mobile, those inline links should not be links — the item's context menu should carry "Go to artist", "Go to album" and so on instead.
Findings
utils/explore-link.tsrenders every track/album/artist name in the app and is what makes a name navigable. Its click handling is explicitly a desktop compromise: the navigation is held for one double-click interval and dropped if a second click arrives, because the title is the widest thing in a row and double-clicking a row plays it. On touch that produces a delay and an ambiguous target.Direction
explore-linkrenders plain text below the phone breakpoint; every row/card context menu gains "Go to artist" / "Go to album" / "Go to genre" where the entity is known. Keep the desktop behaviour untouched.Unblocked: #60 merged in #176, so the sole dependency is closed and
Status/Blockedis off.What landed that you inherit rather than have to build:
components/menu-surface/is the one decision about where a menu isdrawn — a
wa-popupabove 600px, awa-dialogbottom sheet below it —and all fourteen menu call sites go through it, including the playlist
submenu, which stacks as a second sheet.
contextMenuStylescarriesthe 48px rows for all of them, so a new menu gets thumb-sized targets
by using the same
.context-menu-panelmarkup and nothing else.Two things worth knowing before you add a menu:
<wa-popup>will fail the build, deliberately.frontend/test/components/menu-surface.test.tssweeps the source andallows three files, each with a stated reason. A popup is clipped on
the reference device by
.main-panel's paint containment and notier here can see that, so the guard is a source sweep rather than a
rendered assertion.
.planning/NOTES.md, dated2026-08-21 — including the two that would otherwise cost a rebuild: a
top-layer
<dialog>really does escape paint containment from insidea view, and a native dialog's UA
max-widthis what makes a naivesheet come out 354px wide on a 424px screen.
Taking this — it is Phase 4's next item in #73's sequence now that #63
has landed. Branch
feat/67-entity-links-into-menus.Approach, as far as it is decided before the code:
utils/explore-link.tsowns the rule, as the Findings ask: below thephone breakpoint a name renders as plain text rather than as a link.
"Go to artist" / "Go to album" in its place, phone-only, so the
desktop menus are untouched.
genre link anywhere to lose:
explore-linkhas nogenreLinkand norow renders one. Adding one would be new navigation rather than a
replacement for something the phone took away, so it belongs in its
own issue if it is wanted.
destination —
now-playing-view,explore-album-details' headercredit, and
top-results-row. Suppressing those would take theaction away entirely rather than move it, which plan 018's promise
refuses, so they keep their links and say why in a comment.
PR #208 — #208. CI
green on both engines (run 17663).
What landed against this issue:
utils/explore-link.tsrenders a plain string belowPHONE_QUERY,and
utils/go-to-menu.tsdraws "Go to Artist" / "Go to Album" underexactly that condition, from
explore-link's own exported routing.Seven menus carry it: the track list, the queue, both playlist detail
views, the album cards, Explore's cards and rows, and the artist
page's top tracks.
now-playing-view,explore-album-details' header credit andtop-results-rowhave nomenu to carry the destination, so suppressing them would take the
action away rather than move it.
genre link, so there is nothing for the phone to take away and the
item would be new navigation rather than a replacement. If it is
wanted it should be its own issue.
track-listis the one list that gains rather than moves: itsphone column set has always stacked title over artist as plain text,
so those names were never links there.
Found while doing it, filed as #207: the track list's sheet is now
eight items and its last one ("Remove from Library") ends at y=470 in a
439px viewport. It is reachable — the sheet's body scrolls, measured
39px — but nothing says the list continues, and the limit was already
reached before this (seven 48px rows is 364px in a 373px body). It is a
property of
menu-surface, not of these items.