[PR #625] [MERGED] Keep DJ Mari playlist toast actionable #4701

Closed
opened 2026-10-22 04:09:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/625
Author: @cha1latte
Created: 5/10/2026
Status: ✅ Merged
Merged: 5/10/2026
Merged by: @cha1latte

Base: main ← Head: fix/issue-622-spotify-playlist-scopes


📝 Commits (2)

  • 88fea83 Keep DJ Mari playlist toast actionable
  • c234848 Add issue 622 toast timing evidence

📊 Changes

4 files changed (+3 additions, -1 deletions)

View changed files

➕ docs/pr-evidence/issue-622/after-4500ms.png (+0 -0)
➕ docs/pr-evidence/issue-622/after-no-url.png (+0 -0)
➕ docs/pr-evidence/issue-622/before-timeout.png (+0 -0)
📝 packages/client/src/components/spotify/SpotifyMiniPlayer.tsx (+3 -1)

📄 Description

Linked issue

Refs #622

Why this change

  • The DJ Mari playlist success toast used Sonner's default timeout, so the playlist action disappeared before users had a practical chance to open it.

What changed

  • Added an explicit 20-second duration for the DJ Mari playlist-ready toast.
  • Renamed the toast action from Open to Open playlist for clearer intent.
  • Added UI evidence screenshots for the before/after toast timing proof.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Codex ran pnpm check; it passed.
  • Codex reproduced the mocked Spotify playlist success flow before the fix: after 4.5 seconds, the playlist toast and action were gone.
  • Codex re-ran the mocked Spotify playlist success flow after the fix: after 4.5 seconds, the toast and Open playlist action were still visible; after roughly 20.5 seconds, the toast expired as intended.
  • Codex checked the no-URL edge case: no action button is shown when playlistUrl is null, and the success toast still remains visible after 4.5 seconds.
  • No real Spotify account was used for this proof; the browser flow mocked the Spotify API responses so the UI toast lifecycle could be tested deterministically.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

No docs or release files changed.

UI evidence (if applicable)

Before: toast/action gone after 4.5 seconds

Before timeout

After: toast/action still visible after 4.5 seconds

After 4.5 seconds

After no-URL edge case: no action button, toast still visible after 4.5 seconds

After no URL


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/625 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/10/2026 **Status:** ✅ Merged **Merged:** 5/10/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `main` ← **Head:** `fix/issue-622-spotify-playlist-scopes` --- ### 📝 Commits (2) - [`88fea83`](https://github.com/Pasta-Devs/Marinara-Engine/commit/88fea830a8f8edc34adca76d199ceaff9a943982) Keep DJ Mari playlist toast actionable - [`c234848`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c234848bd65777feb2a6d039528a63561c022ac9) Add issue 622 toast timing evidence ### 📊 Changes **4 files changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `docs/pr-evidence/issue-622/after-4500ms.png` (+0 -0) ➕ `docs/pr-evidence/issue-622/after-no-url.png` (+0 -0) ➕ `docs/pr-evidence/issue-622/before-timeout.png` (+0 -0) 📝 `packages/client/src/components/spotify/SpotifyMiniPlayer.tsx` (+3 -1) </details> ### 📄 Description ## Linked issue Refs #622 ## Why this change - The DJ Mari playlist success toast used Sonner's default timeout, so the playlist action disappeared before users had a practical chance to open it. ## What changed - Added an explicit 20-second duration for the DJ Mari playlist-ready toast. - Renamed the toast action from `Open` to `Open playlist` for clearer intent. - Added UI evidence screenshots for the before/after toast timing proof. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Codex ran `pnpm check`; it passed. - Codex reproduced the mocked Spotify playlist success flow before the fix: after 4.5 seconds, the playlist toast and action were gone. - Codex re-ran the mocked Spotify playlist success flow after the fix: after 4.5 seconds, the toast and `Open playlist` action were still visible; after roughly 20.5 seconds, the toast expired as intended. - Codex checked the no-URL edge case: no action button is shown when `playlistUrl` is null, and the success toast still remains visible after 4.5 seconds. - No real Spotify account was used for this proof; the browser flow mocked the Spotify API responses so the UI toast lifecycle could be tested deterministically. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) No docs or release files changed. ## UI evidence (if applicable) Before: toast/action gone after 4.5 seconds ![Before timeout](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/c234848bd65777feb2a6d039528a63561c022ac9/docs/pr-evidence/issue-622/before-timeout.png) After: toast/action still visible after 4.5 seconds ![After 4.5 seconds](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/c234848bd65777feb2a6d039528a63561c022ac9/docs/pr-evidence/issue-622/after-4500ms.png) After no-URL edge case: no action button, toast still visible after 4.5 seconds ![After no URL](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/c234848bd65777feb2a6d039528a63561c022ac9/docs/pr-evidence/issue-622/after-no-url.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:09:57 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4701
No description provided.