-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
ref(projects): Redirect post project transfer to project teams page #52925
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
Conversation
this.props.router.push(normalizeUrl(`/organizations/${orgSlug}/projects/`)); | ||
const projectSlug = this.state.transferDetails.project.slug; | ||
this.props.router.push( | ||
normalizeUrl(`/settings/${orgSlug}/projects/${projectSlug}/teams/`) |
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.
This was tough to test locally since we can't create new organizations - I went directly to the accept-transfer
endpoint to accept the transfer, but it's not actually doing anything since it's "transferring" a project to the org it already belongs in.
Testing this in prod I was surprised to see that after accepting the project transfer, I'm not redirected to the project's new organization, which is what I'd expect to happen based on the existing code.
Take 2 of #52925 When a user approves transferring a project to a new organization the project isn't added to a team which results in confusion because the project doesn't show up on the projects page. The user needs to add the project to a team for it to show up in most places in the UI, so we should redirect them to the appropriate page to do so.
Take 2 of #52925 When a user approves transferring a project to a new organization the project isn't added to a team which results in confusion because the project doesn't show up on the projects page. The user needs to add the project to a team for it to show up in most places in the UI, so we should redirect them to the appropriate page to do so.
When a user approves transferring a project to a new organization the project isn't added to a team which results in confusion because the project doesn't show up on the projects page. The user needs to add the project to a team for it to show up in most places in the UI, so we should redirect them to the appropriate page to do so.