neobooru / SzuruChrome

Chrome/Firefox extension which can import media from various sites into a szurubooru instance.
MIT License
42 stars 5 forks source link

Upload feedback stops working randomly on Firefox #50

Open ninjazan420 opened 9 months ago

ninjazan420 commented 9 months ago

Hi there,

first off, thanks for your service and this fantastic plugin.

At some point, or sometimes even on the first try, the UI stops giving feedback about uploads. Neither if it's a repost, nor if the upload was successful. Sometimes the upload still works anyways, but it seems that in these cases where no feedback was given, either the plugin, or the cache server doesn't respond in time, meaning if you go on the /posts route, it takes some time till the upload actually shows up. Even a force refresh doesn't seem to do the job all the time. Makes me think some uploads get buffered like for example if someone uploads many videos at once.

Anyways, if there is a feedback about the newly created Post and the fitting hotlink, the post is clickable and viewable.

Is there a way to support you, finding out what could cause that behaviour?

Greetings!

neobooru commented 8 months ago

Hmm. It could be the case that the server is slow, and that the plugin is waiting for a response. I assume that you still see the blue "Uploading post..." message? I think I've also seen this happen, but usually the uploading message is there, it just doesn't change. In the future I want to add better logging, so that it's easier to debug these things and see what is happening. But that is not something which is going to happen very soon.