Don't freeze the interface while an image is uploading/being analysed

It’s a big drag on time required to add content to the system.

I have to wait 5–10s sometimes while an image is uploaded and analysed. During this time I could be filling out the other fields of the record.

Ideally I could even leave the record entirely and start editing a different record. In short the image upload/analysis process should be a “separate thread”. But I will settle for just being able to continue editing other fields while the image is handled.

@convincible,

Could you please give me an example workflow where this is happening?

A few months ago, we made some substantial changes to the upload process in the media area, where you can now upload many files at once and not have to wait for the serverside analysis.

But it’s possible we might’ve missed another upload workflow where it’s still being slower than necessary. Where is it blocking you?

E.g. if I drag-drop a file onto this area, the whole interface locks up until the file is processed.

Sorry @convincible, could you please send me the URL to a record where that’s happening? (You can DM me if you prefer, or email support@datocms.com)

I can’t seem to replicate that:

While the image is processing, the other field still works fine. I just can’t hit “Save” until it’s done. Is that what you mean?

Or is there some other situation where the upload completely blocks the UI while you’re waiting…?

Hey @roger

How do I drop a screen recording here?

I realised it’s more specific – only certain fields become disabled while the upload processes. As far as I can tell right now, it’s any modular block field that locks up while any upload is processing.

@convincible,

So sorry, I thought I answered this last week, but apparently not!

To paste a recording, you can paste it here, drag and drop it, or use the “upload” button in the toolbar.

However, in this case, I was able to replicate it… thank you for clarifying!

I’ll let the devs know about this.

@convincible We’ve changed this behavior, and you should now be able to edit the other fields while an image inside a block is uploading.

Please give it a try and let us know if you notice any issues with it. Thanks for the suggestion!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.