Skip to content

feat(site): embed users page in management settings #14006

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 6 commits into from
Jul 25, 2024
Merged

Conversation

aslilac
Copy link
Member

@aslilac aslilac commented Jul 24, 2024

Part of #13957

Screenshot 2024-07-24 at 2 47 18 PM

@code-asher
Copy link
Member

code-asher commented Jul 24, 2024

I completely missed the missing button 🤦

I see the create user page navigates to /user, should we make it /deployment/user for multi-org? I know the redirect catches it anyway so probably nbd, I did notice it causes two users API requests though (but the first gets canceled).

@aslilac
Copy link
Member Author

aslilac commented Jul 24, 2024

I completely missed the missing button 🤦

I see the create user page navigates to /user, should we make it /deployment/user for multi-org? I know the redirect catches it anyway so probably nbd, I did notice it causes two users API requests though (but the first gets canceled).

Yeah, and I should also have it send you to /deployment/users/create instead of just /users/create. 😄

@@ -32,10 +32,10 @@ export const CreateUserPage: FC = () => {
onSubmit={async (user) => {
await createUserMutation.mutateAsync(user);
displaySuccess("Successfully created user.");
navigate("/users");
navigate("..", { relative: "path" });
Copy link
Member

Choose a reason for hiding this comment

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

Ooo such a good idea, relative is smart

Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma left a comment

Choose a reason for hiding this comment

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

Everything looks good to me.

@aslilac aslilac merged commit 615bb94 into main Jul 25, 2024
30 checks passed
@aslilac aslilac deleted the deployment-users branch July 25, 2024 16:50
@github-actions github-actions bot locked and limited conversation to collaborators Jul 25, 2024
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.

3 participants