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

Fix/no default selected project on relogin #879

Merged
merged 3 commits into from
Nov 26, 2024

Conversation

thisismayuresh
Copy link
Collaborator

@thisismayuresh thisismayuresh commented Nov 21, 2024

This MR fixes issue -

This merge request fixes an issue where, upon deleting the currently selected project, logging out, and then logging back in, no project is selected by default. Instead, the user is presented with the "No Project Selected" state and has to manually select a project.

Changes Made:

  • Added a Mongoose delete query to automatically delete the environment related to the project.
  • When a user deletes a project, the next available project will be selected and stored in the context.
  • Written a migration script for removing the corresponding environment for previous users.

Copy link

nx-cloud bot commented Nov 21, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit f490280. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@chavda-bhavik chavda-bhavik merged commit f85c863 into next Nov 26, 2024
4 checks passed
@chavda-bhavik chavda-bhavik deleted the fix/no-default-selected-project-on-relogin branch November 26, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants