Skip to content

fix: Auto select environment issue while creating new environment in new workspace #2884

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

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

anish-techdome
Copy link
Contributor

@anish-techdome anish-techdome commented Mar 31, 2025

Description

The Issue was while creating new environment in a fresh new workspace, the newly created environment was getting selected and even the select state was inconsistent on dashboard environment button and the radio button of environment list.

Now auto select environment will work only when user came after login, if a workspace has any local environment created inside it then first environment in the list will get selected automatically, even while switching to workspaces first time after login. In the newly created workspace no auto select functionality will work because there will be no environment to select for the first time and even if the created a new environment then also no auto select will work. Auto select will work only if there are already existing environments. Environments which is created afterwards will have no effect of auto select.

Add Issue Number

Fixes #2707

Add Screenshots/GIFs

Working
https://github.com/user-attachments/assets/80c9916d-5648-4888-8fb6-8c719b11709f

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • I have linked an issue to the pull request.
  • I have linked a PR type label to the pull request.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

@anish-techdome anish-techdome added the pr-bugfix This PR fixes a bug label Mar 31, 2025
@anish-techdome anish-techdome self-assigned this Mar 31, 2025
@pratikshinde590
Copy link
Contributor

Please attach the issue link

1 similar comment
@pratikshinde590
Copy link
Contributor

Please attach the issue link

@anish-techdome anish-techdome changed the title fix: Workspace auto select environment while creating new one fix: Auto select environment issue while creating new environment in new workspace Mar 31, 2025
@pratikshinde590
Copy link
Contributor

Please attach the issue link

@pratikshinde590
Copy link
Contributor

Please attach the issue link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix This PR fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: Default environment selection
2 participants