wordpress-mobile / wordpress-mobile/WordPress-Android
Default category can't be deleted but looks like it can
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
I'm not sure if it's expected that a category set as a default can't be deleted or if a category should always be delete-able (and then removed as the default), regardless of whether it's set as the default.
Actual behavior
It looks like you can delete the category, but it doesn't actually delete.
Steps to reproduce the behavior
- Add new category
- Set that category as the default for new posts (you may need to leave the Site Settings screen and come back for the default list to update)
- In category management, delete that category
- Note you get confirmation popup
- Tap Delete
- Note category is not deleted
Tested on [Google Pixel 7], Android [13], WPAndroid [21.4-rc-2]
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 by reproducing the category-management steps on WordPress for Android, including setting the category as the default and then deleting it. Trace the delete flow and default-category handling; done means the behavior follows a decided expected outcome and the reported failure is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100