wordpress-mobile / wordpress-mobile/WordPress-Android
[Blogging Prompts] Fix delay to show prompt card on "My Site" after tapping on "Undo"
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
When "Turn of prompts" is selected on "My Site" prompt card overflow menu, the SnackBar appears with the UNDO option. When UNDO is tapped, it takes a second for the prompt card to appear again.
Steps to reproduce
1 - Install Jetpack and log in;
2 - Select a site that is a blog (which means the prompt card will be shown on "My Site" -> "HOME");
3 - Tap on user avatar;
4 - Tap on "App Settings";
5 - Tap on "Debug Settings";
6 - Find and enable BloggingPromptsEnhancementsFeatureConfig;
7 - Go back to "My Site" -> "HOME";
8 - Tap on the prompt card overflow menu;
9 - Tap on "Turn off prompts" and then tap the UNDO button on the SnackBar: there is a delay of ~1 second before the prompt card is shown again.
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 BloggingPromptsEnhancementsFeatureConfig flow and the My Site > HOME prompt card, then trace the Turn off prompts action through the Snackbar UNDO handling. Verify that tapping UNDO restores the prompt card without the reported one-second delay.
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
- 48/100