Skip to content
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

Deleting a project causes multiple UI issues #2704

Closed
1 of 4 tasks
matthewelwell opened this issue Aug 30, 2023 · 0 comments · Fixed by #2749
Closed
1 of 4 tasks

Deleting a project causes multiple UI issues #2704

matthewelwell opened this issue Aug 30, 2023 · 0 comments · Fixed by #2749
Assignees
Labels
bug Something isn't working

Comments

@matthewelwell
Copy link
Contributor

Describe the bug

After deleting a project, the user is returned to the list of projects. They are unable to create a new project, as the button is greyed out as 'Creating' and refreshing the page sends the UI into a constant state of re-rendering.

To Reproduce

Steps to reproduce the behavior:

  1. Navigate to the Project Settings for a project that can be deleted
  2. Click on 'Delete Project' and confirm
  3. User should be redirected to the 'Projects' screen for an organisation
  4. Notice that the deleted Project name is still displayed in the top left
  5. Try to create a new project and notice that the confirmation button is greyed out and says 'Creating'
  6. Refresh the page
  7. Notice that the UI now enters a continuous state of re-rendering

Expected behavior

  • I should be able to create a new project after deleting an existing on.
  • Refreshing the page should not enter a state of continuous re-rendering
  • (Ideally) the old project name would not be displayed in the left hand navigation

Screenshots

Screen.Recording.2023-08-30.at.11.44.01.mov

How are you running Flagsmith?

  • Self Hosted with Docker
  • Self Hosted with Kubernetes
  • SaaS at flagsmith.com
  • Some other way

Additional context

@matthewelwell matthewelwell added the bug Something isn't working label Aug 30, 2023
@matthewelwell matthewelwell changed the title Deleting a project causes multiple issues Deleting a project causes multiple UI issues Aug 30, 2023
@novakzaballa novakzaballa linked a pull request Sep 6, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants