0 second post wait?

סיכום מבוסס בינה מלאכותית

The discussion revolves around improving the wording for very short post wait times in Discourse forums. Logan_Devine suggests changing “wait 0 secs” to “wait less than a second” for more precision. codinghorror requests a screenshot, which Logan provides.

neil identifies the relevant code and proposes using “wait a few seconds” instead. Mittineague suggests rounding up to 1 second, while cmwebdev recommends “please try again now.”

codinghorror expresses approval for cmwebdev’s suggestion, prioritizing simplicity. However, neil ultimately decides on “a few seconds” to avoid invalidating existing translations across the platform.

The discussion highlights the community’s effort to improve user experience by refining small but noticeable interface elements.

For post waits like the “wait 0 secs before posting again” it should say “wait less then a second before posting again. (Precise value 1/15 or so)”

Can you screenshot this? Where exactly are you seeing it?

From an example forum:

3 לייקים

Sure, maybe @neil can double check that code path, we have standard time display handlers.

Ok, it’s here:

if @available_in < 1.minute.to_i
        time_left = I18n.t("rate_limiter.seconds", count: @available_in)

Is “wait less then a second” any better than “wait 0 seconds” though? It’s still silly… Maybe “wait a few seconds”?

2 לייקים

Why not just ceil it to 1 second? Seems like only the Flash would be able to detect the inaccuracy.

5 לייקים

Or please try again now?

4 לייקים

Yes, for my response time that would work. Do you feel there is any chance a retry might happen before the full fraction of a second has elapsed?

Whatever is simplest and gets this off our plate is fine by me. :wink:

I do like @cmwebdev’s suggestion though!

2 לייקים

I went with “a few seconds” instead of @cmwebdev’s idea because of how the translation strings are created. Invalidating all those translations isn’t worth it in this case imo.

8 לייקים