-
Notifications
You must be signed in to change notification settings - Fork 22
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
T263584 T263544 Fix bug from gallery row #68
Conversation
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.
LGTM
To reproduce this, follow this case
This is due to the race condition that we didn't clear the previous api request; or the loading state shouldn't have the onshow event to load gallery. |
Another case
|
Dismiss approval
The latest commit fix the specific edge case, a better solution can be a better management for the popup status (loading, article, error, disambiguation), but it's out of scope right now. |
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.
@jpita ready for more testing
Phabricator Ticket 1 : https://phabricator.wikimedia.org/T263584
Phabricator Ticket 2 : https://phabricator.wikimedia.org/T263544
Problem
The gallery sometimes show duplicate or show empty row
Solution
Reorder the method calling and remove the empty row when nothing from the media list API
Note
Task different but Code are relevant, so one fix for both.