Skip to content

feat(web): add delete option to collection page overflow menu#14464

Open
dylanjeffers wants to merge 1 commit into
mainfrom
feat/delete-playlist-from-overflow-menu
Open

feat(web): add delete option to collection page overflow menu#14464
dylanjeffers wants to merge 1 commit into
mainfrom
feat/delete-playlist-from-overflow-menu

Conversation

@dylanjeffers

Copy link
Copy Markdown
Contributor

Adds a "Delete Playlist" / "Delete Album" item to the overflow (kebab) menu on collection pages for owners.

What

  • CollectionMenu: accepts new includeDelete and onDelete props; appends the delete item at the bottom, gated by isOwner && !ddexApp.
  • OverflowMenuButton: passes includeDelete and an onDelete handler that opens DeleteCollectionConfirmationModal. The confirmation modal already existed — this just wires up the missing entry point.

Why

Users had no way to delete a playlist/album directly from the collection page header without navigating into the edit flow first.

Testing

  • Open any owned playlist/album page → overflow menu now shows "Delete Playlist" / "Delete Album" at the bottom
  • DDEX-sourced collections do not show the delete item
  • Clicking delete opens the existing confirmation modal before any mutation fires

🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.6 (1M context) [email protected]

Adds a "Delete Playlist/Album" item to the overflow menu on collection
pages for owners. Excluded for DDEX-sourced collections. Clicking it
opens the existing DeleteCollectionConfirmationModal before any SDK
call is made.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
@changeset-bot

changeset-bot Bot commented Jun 9, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a826bc4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

🌐 Web preview ready

Preview URL: https://audius-web-preview-pr-14464.audius.workers.dev

Unique preview for this PR (deployed from this branch).
Workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant