Panoptes-Front-End icon indicating copy to clipboard operation
Panoptes-Front-End copied to clipboard

Project Builder: delay when upload Project Avatar or Project Background

Open shaunanoordin opened this issue 2 years ago • 0 comments

UI/UX Bug

Affects: Project Builder -> Project Details Noted as of: 6b12810

When we select (or drag & drop) an image file to be a Project's Avatar, it may take a while before the uploaded image is properly reflected on the Project Builder.

Video below: on a test project, I drag & drop an image file to the (empty) Project Avatar field. The "upload file" action seems to trigger, but upon success, the Project Avatar appears to remain empty. Reloading the page doesn't immediately show any difference

https://user-images.githubusercontent.com/13952701/198687927-bede150f-a9f2-4ae4-94c7-dc43670166d6.mov

Upon refreshing, checking the network tab indicates that the avatar file IS properly registered when fetching (e.g.) https://www.zooniverse.org/api/projects/19242/avatar . 🤷

Status

Technically medium or low priority since core functionality isn't broken and there's a workaround (wait a while, then reload the page), but this must be quite frustrating for project owners. It'd be good if we can figure out what's going on.

shaunanoordin avatar Oct 28 '22 16:10 shaunanoordin