wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.99k stars 1.32k forks source link

Issue/21189 #21370

Closed STF-Zero closed 4 weeks ago

STF-Zero commented 1 month ago

Fixes #


Description:

This PR is related to issue#21189. This issue shows a problem that 'There's no visual confirmation when clicking UNDO button to restore the blog previously blocked'. Here's the issue video:

https://github.com/user-attachments/assets/f8b1dd31-a89d-4964-ad90-fe584117f7e5

Solutions:

1.Add a toast message on the screen when clicking the UNDO button by snackbayMessage: image 2.Add a new toast message into strings.xml: image

Result:

https://github.com/user-attachments/assets/04de8579-a02d-4b43-bd6f-1b5de08b1d2e

To Test:


Regression Notes

  1. Potential unintended areas of impact

    Simply add a toast message on the screen may not have impact on other areas which I have not confirmed yet. I'll keep looking for influence caused by my changes and work on to solve it if necessary!

  2. What I did to test those areas of impact (or what existing automated tests I relied on)

    Still need to do.

  3. What automated tests I added (or what prevented me from doing so)

    Still need to do.


PR Submission Checklist:


Testing Checklist (strike-out the not-applying and unnecessary ones):

sonarcloud[bot] commented 4 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud