wordpress-mobile / wordpress-mobile/WordPress-Android
Feature Request: Add a confirmation message before trashing a published post
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
I received a feedback about not having a two-step confirmation when the user accidentally trashed a published post. According to the user, it would be nice to show a confirmation message like "Are you sure you want to delete this?" before moving the page/post to trash.
Expected behavior
- Go to My Site > Site Pages / Blog Posts
- Click the three dots of a page/post and choose "Move to Trash"
- Show a pop-up with a confirmation message "Are you sure you want to delete this?"
- Move the page/post to Trash if Yes is selected and show a notification to undo the change
- Do nothing if No is selected
Actual behavior
- Go to My Site > Site Pages / Blog Posts
- Click the three dots of a page/post and choose "Move to Trash"
- Page/post moved to Trash with a notification to undo the change
Tested on [device], Android [version], WPAndroid [version]
Device: Samsung SMA70
Android Version: 10
WPAndroid version: 15.1
3143947-zen
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Site Pages and Blog Posts flow described in the issue, following the three-dot “Move to Trash” action on Android. Verify the confirmation message appears before moving a published post or page, that Yes moves it and offers undo, and that No leaves it unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100