asset-manager-framework icon indicating copy to clipboard operation
asset-manager-framework copied to clipboard

Implement error handling for the media manager Ajax response in WordPress core

Open johnbillion opened this issue 3 years ago • 2 comments

https://core.trac.wordpress.org/ticket/49587

This ticket will enable us to show an error message to the user if there is a problem connecting to the asset provider. Currently WP core does not handle an error being returned from the attachments query, and any error results in the eternal spinner of doom.

I started working on this in https://github.com/WordPress/wordpress-develop/pull/1065 but I forgot how difficult it is to figure out the media manager views. If someone wants to pick this up and carry on with it that would be great.

johnbillion avatar Mar 16 '21 15:03 johnbillion

Maybe one for @roborourke ? 😬 😬

johnbillion avatar Mar 16 '21 18:03 johnbillion

Heh, just to set expectations it’s probably a good month or so before I’ll have capacity for this. I’ll get up to speed in the meantime however. To be honest at this point I’d rather rebuild the media modal in react using all those neat WP js packages

roborourke avatar Mar 16 '21 18:03 roborourke