osu-web icon indicating copy to clipboard operation
osu-web copied to clipboard

Fix version autofill in Help Forums

Open chromb opened this issue 1 year ago • 3 comments

There's been a few instances recently where users have made a post of the help forum, and have had the template autofill osu!stable version numbers when they only play on lazer. I believe this is caused by an issue in the 'recent version' logic in the corresponding osu-web page, but I'm not competent enough of a programmer to fix it.

image

Github page: https://github.com/ppy/osu-web/blob/24a3e2a74663fb409b10200da02c98c1ac51e465/app/Libraries/NewForumTopic.php#L52

This could potentially be remedied by removing the autofilling entirely and leaving the user to fill this out themselves (potentially with a tooltip on where to find it)

chromb avatar Nov 29 '24 22:11 chromb

Currently we don't have this information server-side for lazer until a user submits a score, so we'd want to look at add this. It shouldn't be a huge reach (and is probably something we'll want going forward anyway).

peppy avatar Dec 02 '24 06:12 peppy

can at least update it to first check the user's latest score and use its build info...

also I don't think the build is autofilled if the user has never used stable? 🤔

nanaya avatar Dec 02 '24 07:12 nanaya

yeah, this would be a good starting point.

covers all cases except those where users are having submission/network issues.

peppy avatar Dec 03 '24 04:12 peppy