Remove "Uploading..." from a newly created / edited post

AI-generated summary

The issue at hand is the appearance of “[Uploading…]” links in a post when images fail to upload properly. meglio proposes two solutions: disabling post submission while images are still uploading, or automatically removing those links from the post.

zogstrip reveals that the first solution is already implemented, as posting is disabled during image uploads. The issue seems to be related to a known problem where uploading is displayed multiple times when dragging photos into Firefox (see here).

zogstrip also notes that the “[Uploading…]” string is already internationalized and can be found in client.en.yml as the key “uploading”.

It happens often that people try to upload multiple images in their post editor at once. If they see a few successfully loaded photos and accidentally don’t check that ALL of them have been uploaded, the post ends up containing something like this:

[Uploading...]()

… that looks like an unclickable unusable link:

Uploading…

It is counter-intuitive in that it is not clear why an image gets converted to a link…

Proposed solution - quick: disable submitting a post while there is at least one image which is still being uploaded.

Alternatively, it would be helpful to at least automatically remove those [Uploading...]() entries of not fully uploaded images from a post. Note: the actual text inside the brackets to check while removing from the post should be internationalized.

3 лайка

We’re already doing this :wink: Posting is disabled while uploading.

I think the issue is

It’s already i18ned :wink: The string is in client.en.yml and is called “uploading”.

2 лайка

This topic was automatically closed after 12 hours. New replies are no longer allowed.