this post was submitted on 18 Feb 2024
16 points (100.0% liked)
Fedia Discussions
1 readers
1 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Everything about your post is slightly indicative to me of javascript failing, for some reason.
So many actions taken, upvoting / boosting / replying, do javascript actions. However, all of these things have fallbacks in the case either: javascript hasn't fully finished loading on the page yet or javascript requests failed.
For instance, if javascript had failed when I clicked reply to your message, instead this page would've loaded for me https://fedia.io/m/fedia/t/552719/Request-for-errors-on-fedia-io/comment/3937344#add-comment but since it worked, all it did was add a text box under your reply
As I said this is true for all other actions, so when you vote or boost there are also http GET routes that handle those requests.
It's hard for me to guess more than that, it could be the JS is loading a bit slow and you click before the page finishes loading, or it could be a different error like maybe the request fails. There might also be something else involved, I'd have to double check but mercure might involve itself in dynamic page updating as well... Do you happen to notice if pages are still loading when you take actions, or in fact just browse with javascript disabled? There's also that, last I checked, all the JS files had
defer
on them so don't block page loads, which is what makes this more likely to happen. Whether that's good or not, I can't say, it's been like that since I first looked but might require more research to know whether it can be split between JS that should block page load and JS that can be deferredThe explanation of what happened makes sense, but indeed it's hard to say how it's happening. My internet speed is decent so I'm certain everything on the page must have loaded by the time I started clicking. I don't disable JS, and the only extension I have active is one for grouping tabs because I happen to access Fedia on my "side" browser, so not even an adblocker. Blocking nothing at the router level either so not sure how requests could have failed :/