Inappropriate "(optional)" in invite modal

This is a minor UX bug.

In an invite, the “Set Password” currently has a hint after it which reads:

image

This is confusing, as while the length is ‘optional’, the field is mandatory.
It is governed by js.invites.optional_description.

In contrast, the signup modal omits ‘optional’:
image

I think that we should make these consistent, with the same title (i.e. ‘Password’), the same text box size (is too short in the invites), and the same text ('i.e. ‘at least x characters’) - without the ‘optional’.

6 Likes

Wait so this happens when you accept the invite?

Yes - when a user clicks on a multi-use link. Haven’t tested it on a ‘normal’ invite.

2 Likes

The “Password” field is optional on “accept invites” page and that is why we mention “optional” in field description.

This is a good suggestion. Done via:

https://github.com/discourse/discourse/commit/4fcb307f848bf4a44e272e5dfe89a3d98e721a81

8 Likes

This has been fixed as well.

Thanks for the suggestions @nathank. :+1:

6 Likes