Skip to content

feat: allow selecting the initial organization for new users #16829

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

Merged
merged 5 commits into from
Mar 7, 2025

Conversation

aslilac
Copy link
Member

@aslilac aslilac commented Mar 6, 2025

Comment on lines -38 to +32
const [autoComplete, setAutoComplete] = useState<{
value: string;
open: boolean;
}>({
value: value?.name ?? "",
open: false,
});
const [open, setOpen] = useState(false);
const [selected, setSelected] = useState<Organization | null>(null);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice this is so much clearer.

Copy link
Contributor

@jaaydenh jaaydenh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: the asterisk looks a little out of place here but this will resolve itself when this page moves away from the MUI form controls similar to IDP sync. This change also makes it even more clear that the Users Table should replace groups with organizations.

Screenshot 2025-03-06 at 22 40 43

@aslilac aslilac merged commit 32c36d5 into main Mar 7, 2025
30 checks passed
@aslilac aslilac deleted the lilac/new-user-pick-orgs branch March 7, 2025 15:42
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

orgs: CreateUserForm.tsx should allow choosing the organization a user should initially be added to
2 participants