New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
org settings: Change user joining invitation setting to dropdown. #9275
org settings: Change user joining invitation setting to dropdown. #9275
Conversation
Feedback regarding strings required! |
Great, thanks!
For the text of the new settings, maybe:
|
I'm not sure I like how the last two read, in the context of reading what the current state is without clicking into the dropdown. Maybe: Invitations for creating accounts:
|
Seems reasonable. This is right below "Joining the organization", but we could also do Styling notes for when this is implemented
|
@rishig @timabbott Does this looks good? |
Thanks @shubhamdhama! One more attempt; I think this is better than the ones so far :).
|
f51a9b4
to
25b3247
Compare
@rishig Here are various screenshots of the dropdown, let me know how this looks ow? |
lgtm, thanks! To make the second setting parallel to the first, we could go back to |
|
||
var user_invite_restriction = $('#id_realm_user_invite_restriction').val(); | ||
if (user_invite_restriction === 'no_invite_required') { | ||
opts.data.invite_required = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we want this to set invite_by_admins_only = false
as well, right? Just from a general cleanlyness perspective.
This is a minor clean up of some contexts for admin pages which we don't need anymore.
97d530a
to
6d28d58
Compare
@rishig @timabbott updated(waiting for tests to get passed) |
@shubhamdhama looks great, though I'd put that text change for the second dropdown into its own commit. |
This change with label text is done to make things similar the one for realm_user_invite_restriction.
6d28d58
to
391ffeb
Compare
Ahh sorry, I'll keep this in mind! |
Merged, after changing the "anyone" to "normal users"; I think it's important to distinguish users from "people on the internet", and also, we'll eventually want to talk about "normal users" to distinguish from guest users. |
Last followup of #9071 (comment)
GIF: