~ knotless Search/
↑↓ move↵ open⇧↵ all results

geesawra.industries/hydraulophone

An unofficial YouTube Music app for iPhone, iPad, and Mac.

0
0
main
102 lines · 5.6 KB Raw History

Music detail, scoped search, and floating player acceptance

Date: 2026-10-12.

All UI checks use OfflineFixtureMusicService and synthetic authenticated session state. They do not read live account credentials or contact YouTube.

Acceptance paths:

  • Long-press a Home track → Go to Artist → Albums shelf → album; the player stays visible above navigation throughout.
  • Tap artist/album names in Now Playing; return to the selected main stack with the floating player available. Both actions also exist in track menus.
  • Start a track, switch to Settings, open Downloads, then tap the floating artwork, title, artist, album, progress, and padding. Each opens Now Playing; play/pause and next act without opening it. Artist and album appear on separate lines, with navigation links available in the expanded player.
  • Native Search → “fixture” → verify Artists, Albums, Songs, Playlists ordering; choose Albums scope and open the result. Repeat on iPad sidebar navigation.
  • Largest accessibility text: detail titles/actions remain readable, track playback controls remain reachable, and full-player metadata scrolls.
  • Reduce Motion: custom content/player animations are suppressed.
  • Now Playing scrolls from artwork through playback controls into Up Next. The queue shortcut scrolls within Now Playing, with no second modal or fake drag handle. Queue rows include albums and retain editing, selection, and swipe removal. Lyrics can be shown and artwork restored.

Xcode 27.2 validation, 2026-11-18

  • All 123 Swift package tests and the strict Swift formatter lint passed.
  • The iPhone 18 Pro simulator passed nine focused app tests, including artwork fallback and search pagination. UI checks passed for separate album credits, the floating player, the largest text size, queue reordering, and scrolling a 500-song queue. Scoped search passed on the iPhone 18 Pro Max.
  • The iPad (A16) simulator passed scoped search and artist-to-album navigation, including opening tracks' context menus and returning from Now Playing.
  • On both iPhone simulators, the artist-track context menu showed an enabled Go to Album action, then the test timed out waiting for the album screen. The fixture trace stopped before the menu action handler on both attempts.
  • The Mac Catalyst and generic physical iOS builds passed with signing disabled. Hardware runtime behavior and authenticated requests remain unverified in this run.

Up Next scrolling regression, 2026-10-14

The app shell tracks current-song availability without observing the playback clock. Transport controls and the mini player retain their own playback observation. Queue rows compare occurrence identity and complete song metadata; the upcoming array is derived once per structural update, with zero-based indices for native reorder offsets.

CatalogUITests/testNowPlayingScrollPerformanceDuringPlayback now opens a 500-song fixture playlist, starts silent local playback, reveals Up Next, and measures three fast upward and three downward swipes across three iterations. The Debug-only -HydraulophoneQueueScrollFixture flag supplies synthetic songs; ordinary fixtures still contain two songs. No live credentials, catalog requests, or remote artwork participate in this benchmark.

Record CPU time, CPU instructions, and scrolling duration with their variation. Simulator CPU measurements demonstrate relative rendering work; scrolling duration depends on the generated gestures and does not establish device frame rate or smoothness. Device validation must also cover populated artwork and both paused and active playback.

The before/after runs used the iPhone 17 / iOS 27 simulator in Debug with identical 500-song queues and gesture sequences. Each mean has three measured iterations; percentages in parentheses are relative standard deviations.

MetricBeforeAfter
App CPU time6.865 s (7.9%)4.945 s (2.8%)
App CPU instructions55.790 billion (1.5%)36.085 billion (0.3%)
Scroll and deceleration duration2.579 s (0.6%)2.577 s (0.3%)

App CPU time fell about 28%, and instruction count fell about 35%. The reorder test drops within the first row's bounds rather than into its section header; it still verifies the resulting order of the two upcoming occurrences.

Physical Instruments attachment was attempted with the installed Release app. CoreDevice reported its running PID, but Instruments could not find the app by name or PID. Consequently, these measurements do not establish physical-device scrolling performance or thumbnail-loading cost.

Final validation for the scrolling change:

  • Five PlaybackQueueTests passed on the iPhone 17 simulator.
  • The 500-song playback/scroll benchmark passed. Selection, swipe removal, native reordering, and largest Dynamic Type checks passed on the iPhone 17 simulator; all four interaction checks also passed on the iPad (A16) simulator.
  • swift format lint --recursive --strict Sources Tests and git diff --check passed.
  • Xcode's Mac Catalyst build passed. The physical iPhone build passed with -configuration Release; the compile log confirmed Swift -O optimization.
  • codesign --verify --deep --strict passed. CoreDevice installed and launched the Release app on the connected iPhone 17 Pro Max, using the existing signing team and device entitlement recipe. Xcode's active destination was restored to that iPhone.

Local build/install evidence is under .build/upnext-performance/; simulator XCTest results were produced by Xcode's RunSomeTests tool. No temporary move diagnostics remain in the app, and no project configuration, signing material, new dependencies, or additional app targets were added.