Skip to content

Add confirmation popups on destructive actions#966

Merged
aome510 merged 5 commits intoaome510:masterfrom
sakashimaa:feat/confirmation-popup
Apr 10, 2026
Merged

Add confirmation popups on destructive actions#966
aome510 merged 5 commits intoaome510:masterfrom
sakashimaa:feat/confirmation-popup

Conversation

@sakashimaa
Copy link
Copy Markdown
Contributor

@sakashimaa sakashimaa commented Apr 7, 2026

Closes #960

Now on every destructive action in app we show popup with y/n, following / unfollowing and like / unlike track is not considered as a destructive actions. Screenshot:

image

Comment thread spotify_player/src/event/mod.rs Outdated
track.id,
))?;
ui.popup = Some(PopupState::ConfirmAction {
message: "Are you sure?".to_string(),
Copy link
Copy Markdown
Owner

@aome510 aome510 Apr 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

message should be specific. For example, one may try to delete a track but they might accidentally trigger unfollowing artist

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check now, changed to more detailed like "Delete this playlist?"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to include the name to be even more specific? Like Remove "track" from this playlist, Unfollow "artist", Unlike "track", etc

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep look now

@aome510 aome510 changed the title Closes #960 (Confirmation popups on destructive actions) Add confirmation popups on destructive actions Apr 10, 2026
@aome510 aome510 merged commit 1ba220a into aome510:master Apr 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Playlist Edit / Delete confirmation step

2 participants