Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
export const meta = () => [{ title: "Wavecase" }];
export const links = () => [
{ rel: "icon", href: "/favicon.svg", type: "image/svg+xml" },
{ rel: "manifest", href: "/manifest.webmanifest" },
];
export function Layout({ children }: { children: React.ReactNode }) {
const data = useRouteLoaderData<typeof loader>("root");
Expand Down
2 changes: 2 additions & 0 deletions docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ Use synthetic media and disposable accounts. Test listeners in a separate/privat

On a physical iPhone with HTTPS and the configured `APP_URL`, check uploads, actual audio, repeat pinch/pan/hold gestures, narrow layouts, downloads, background playback, interruptions, automatic release progression, and lock-screen resume. Verify title/artist/artwork updates, a demo without artwork, release cover replacement, and metadata cleanup after errors or leaving the player. Public navigation keeps the media session; private covers still require authorization. Browser automation cannot replace these device checks.

Also add Wavecase to the iPhone Home Screen from a nested page, such as a demo detail page. Launch it, sign in if needed, and navigate between Dashboard, Work in progress, demo details, activity, artists, releases, and account settings. Ordinary same-origin navigation must stay in the standalone app without opening a Safari sheet with a close button and floating browser controls. Check narrow layouts and safe-area spacing in both Safari and the installed app. Preview links intentionally open a separate browsing context. Also install from a listener share or public release page and verify that launching returns to that music; the manifest leaves `start_url` unset to preserve the page chosen at installation. If an existing Home Screen installation retains its earlier navigation behavior, remove and re-add it after the manifest update, then repeat the check.

For lock-screen controls, verify title/artist/artwork and play/pause on the physical iPhone. The worklet player should have no reported elapsed time or progress timeline and no seek/previous/next commands. Check pause/resume after app switches, lock/unlock, track changes, repeat boundaries, production/stage navigation, interruptions and reaching the queue end. In-app waveform and slider seeking, repeat and automatic release progression must continue to work with the production worklet engine. Confirm that a previous player's timeline is cleared and errors, revocation and player exit clear metadata/handlers. `media-session` tests cover metadata, play/pause, position clearing and the absence of time reports and seeking actions. iOS controls the actual layout; native fallback elements may still expose a browser-owned timeline.

On macOS Safari, verify the shared media-stream output with built-in speakers: audible pause and forward/backward seeks, repeat, source changes, playback across navigation, several minutes in a background tab, and interruption/resume. Normalization remains upstream of this output. Mobile Safari (including iPad desktop identity) and other browsers retain the direct Web Audio destination. Check their existing playback journeys too.
Expand Down
15 changes: 15 additions & 0 deletions public/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Wavecase",
"short_name": "Wavecase",
"scope": "/",
"display": "standalone",
"background_color": "#000000",
"theme_color": "#000000",
"icons": [
{
"src": "/favicon.svg",
"sizes": "any",
"type": "image/svg+xml"
}
]
}
Loading