The discussion revolves around adding a placeholder in the post editor while uploading files, similar to GitHub’s upload dialog. @erlend_sh suggests this feature and provides screenshots as examples. @codinghorror agrees it’s a good idea and @zogstrip implements the feature.
After the implementation, @codinghorror confirms it works and thanks @erlend_sh for the suggestion. @erlend_sh reports some minor issues, including the placeholder not being removed when cancelling an upload and the typing position being forced to the end of the placeholder when typing above it.
@zogstrip fixes the issue with the placeholder not being removed when cancelling an upload, and later fixes the typing position issue as well @zogstrip.
In Discourse I tend to take my fingers off the keyboard as long as I’m downloading something, because the download link will be inserted wherever my cursor is at the time.
Funnily enough I think your server was running an update of sorts just now, because my first test pic uploaded perfectly, but then the updates were constantly stalling, both here and on Try (page loads were also slow, so I’m pretty sure it was server). Perfectly fine and snappy again now.
Because I happened to experience a longer than usual loading time, I did notice a few minor quirks, but both might be quite hard to do anything about:
Cancelling the upload doesn’t remove the inserted upload placeholder text. I can see why this might be tricky.
GitHub doesn’t even offer a cancel option…
If the upload is finished in the background while the smiley selector is open, my smiley will be inserted into the image link, breaking it.
Interestingly, following those same steps in GitHub ends with no smiley being inserted. Maybe they encountered this too, and solved it.
Kind of edge case, but I noticed that if you’re typing something above the placeholder, your typing position will be forced to the end of the placeholder when it finishes. Like:
I'm typing something above this image and sudd
<img src="//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/original/3X/8/8/889493f5d072349533b284ba007ec0384f0cc2a2.jpg" width="690" height="215"> enly it's continued here.