-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fixes #5531 Circular Progress bar keeps on moving when nomination for deletion is successful. #5610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
9b387c7
to
c298657
Compare
Special thanks to @kanahia1 for giving me the opportunity to contribute to this issue and for the keen observation in identifying this bug. |
Just a friendly ping @nicolas-raoul @RitikaPahwa4444 , can you please Review this pr and let me know if there is any change required. |
Very strangely, even though CI is running fine, I am getting this when building, any idea why?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI unfortunately fails after rebasing on the main branch.
Would you mind fixing?
Thanks a lot! :-)
Hey @neeldoshii, any updates on this PR? If you're not available then I can help you fix the issues. Just let me know :) |
feel free to take it, I am quite occupied. |
I guess, I'll need write permissions to your branch to be able to commit changes. Would you mind giving me the write permissions? Also, please unmark it as Draft PR. |
Thanks both! @rohit9625 The best is for you to start a new branch and pull from this one. :-) Also, could you please comment at #5531 so that I can assign you? |
Hi @neeldoshii, |
Many features do not work on beta, this might indeed be one of them. |
Hi @rohit9625, yes for working on Nomination for deletion works only on prod and achievements feature is also only available for prod. Just note don't perform mass deletion you might get banned from wikimedia as I got banned 2 years back.
Sure, any idea how can I give you write permission for a specific branch? |
Thanks for the information about that and don't worry I created a branch and pulled from yours. |
Ok. I am closing this PR as the work is now carried forward on #6324. Thanks @rohit9625 |
Fixes
Description
This pull request addresses an issue where the circular progress bar remains active and keeps moving even after a nomination for deletion is successful. The fix ensures that the progress bar is hidden and the UI is updated correctly upon successful deletion also the Snackbar is shown when the nomination is done successfully.
Changes
onDeleteClicked()
&onDeleteClickeddialogtext
& created ahandleDeletionResult()
for handling what to do on success, created ahandleDeletionError()
for handling what to do on failure.CalledFromWrongThreadException
.Test Plan
Steps to Test
Expected Results
Screenshots
Additional Information