humanmade/aws-rekognition

Update attachment data when labels detected

roborourke opened this issue · 3 comments

Right now the media modal won't update when rekognition labels are returned and it's not clear how or when the analysis is finished. It'd be ideal to use the heartbeat API to check for the updated data for the current image being viewed and re-render the attachment compat fields.

We recently got this reported by a couple of stakeholders that the adding labels was taking a lot of time. Later we noticed that it was because of this issue which caused the UX confusion. The labels were updated but since they were not updated in the UI it created an impression it is taking all this time to update the labels.

Is there any kind of ETA or milestone for this issue?

No ETA really, it's not a high priority so has been low down in the backlog. Was the stakeholder just watching the spinner? I guess that UI should have shown a different message like "Labels will appear after reloading the page" but it'd still be better to just get the update working automatically.

Was the stakeholder just watching the spinner?

They were trying out this feature for the first time based on the instructions provided to them that after the image is uploaded and the labels will be added to the image.

Even for an already existed image which does not have the labels the spinner keeps spinning it gives an impression of something is happening. I do agree this is a lower priority but still will be good to have since this gives away buggy first experience.