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

preselect first org in dropdown on project page #971

Merged

Conversation

psh0078
Copy link
Collaborator

@psh0078 psh0078 commented Jul 18, 2024

fixes #956.

by default it chooses the first organization, but if there are more than n orgs (at the moment n=6), it does not pre-select.
Or we can disable preselection for admins.

@psh0078 psh0078 self-assigned this Jul 18, 2024
Copy link

UI unit Tests

11 tests  ±0   11 ✅ ±0   0s ⏱️ ±0s
 3 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 48cb4a6. ± Comparison against base commit 2a55dd5.

@psh0078
Copy link
Collaborator Author

psh0078 commented Jul 18, 2024

We could disable pre-selection if the number of orgs is more than a certain number (e.g. like more than 5 orgs) or just disable it for admins. Any thoughts, @hahn-kev?

@hahn-kev hahn-kev merged commit 2105dbb into develop Jul 24, 2024
9 checks passed
@hahn-kev hahn-kev deleted the feat/preselect-first-org-in-dropdown-on-project-page branch July 24, 2024 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

preselect first org in dropdown to select an org when adding a project
2 participants