Mod Archive Forums

Website => Help & Support => Help Support Topics Archive => Topic started by: Arcturus on April 20, 2021, 22:26:35

Title: Small QoL request: Show maximum allowed characters for artist comments
Post by: Arcturus on April 20, 2021, 22:26:35
I'm in the process of adding artist comments to my songs, but occasionally my comments are too long. When this happens, the error page just gives me the error that my comment was too long, but doesn't tell me what the maximum allowed characters are.

Can I request that the maximum characters allowed be displayed both in the texbox in artist.php?request=view_module&query={id} and in the error page? This way I won't have to guess at how many characters I have to remove for it to be allowed.

I'm assuming there are similar character limits for profiles, comments and reviews, so it probably wouldn't hurt if those are also displayed.
Title: Re: Small QoL request: Show maximum allowed characters for artist comments
Post by: Saga Musix on April 20, 2021, 23:13:40
I'll look into this.
Title: Re: Small QoL request: Show maximum allowed characters for artist comments
Post by: Arcturus on April 21, 2021, 18:59:45
You could also simply add a max character limit on the input form element.
Title: Re: Small QoL request: Show maximum allowed characters for artist comments
Post by: Saga Musix on April 21, 2021, 20:48:50
That would be the first thing to do, yeah. :) I probably won't have time for this before the weekend, though.
Title: Re: Small QoL request: Show maximum allowed characters for artist comments
Post by: Saga Musix on April 24, 2021, 01:13:11
Maximum lengths are now enforced on edit fields and there's a note on the artist page how long the comments should be (it's just an approximation because the limit imposed by the browser might not be exactly the same as what the server checks against after converting the comment to internal storage, but it should be good enough).
Title: Re: Small QoL request: Show maximum allowed characters for artist comments
Post by: Arcturus on April 24, 2021, 20:04:38
Thank you!