Page MenuHomePhabricator

Simplify logic for resultsFound
Closed, ResolvedPublic

Description

On master (not yet on prod), when a user visit the personal uploads tab but has no personal uploads, the message and CTA are not displaying due to a bug in the way the resultsFound config item is being passed to the cardstack widget. I'm going to fix this and simplify things so that resultsFound doesn't need to be passed to the cardstack by its parent component, since it can be derived from config already passed to the cardstack (i.e. the image data array).

Current behavior:

Screen Shot 2019-11-26 at 4.06.49 PM.png (489×964 px, 45 KB)

Details

Event Timeline

Change 553187 had a related patch set uploaded (by Anne Tomasevich; owner: Anne Tomasevich):
[mediawiki/extensions/MachineVision@master] Simplify resultsFound logic

https://gerrit.wikimedia.org/r/553187

Change 553187 merged by jenkins-bot:
[mediawiki/extensions/MachineVision@master] Simplify resultsFound logic

https://gerrit.wikimedia.org/r/553187