-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add search (Autocomplete) in environment/group dropdown in create/import forms #1347
Conversation
This reverts commit 8c091ec.
95a8512
to
2298fa7
Compare
<TextField | ||
error={Boolean( | ||
touched.SamlAdminGroupName && | ||
errors.SamlAdminGroupName | ||
)} | ||
helperText={ | ||
touched.SamlAdminGroupName && | ||
errors.SamlAdminGroupName | ||
} | ||
fullWidth | ||
disabled | ||
label="Team" | ||
value="No teams found for this environment" | ||
variant="outlined" | ||
/> | ||
)} | ||
</Box> |
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.
nit: This TextField component (and all other ones for when groupOptions is empty) has a different sizing then the other TextFields on the form and the other TextField when groupOptions are present
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.
I noticed, not very sure why
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.
lgtm - approving
Feature or Bugfix
Detail
Autocomplete for environments and teams in the following frontend views as requested in 1012.
This PR introduces a 2 new Shared frontend components: EnvironmentTeamDropdown and EnvironmentTeamDatasetsDropdown. They are generic formik fields that can be reused in Formik forms in several modules. Some creation forms include custom parameters that are fetched alongside the environments and teams (e.g. Notebooks sets VPCs). For those cases, we implement the Autocomplete logic in the view itself
Pipelines in a separate PR
In all forms we use
SamlAdminGroupName
instead ofSamlGroupName
as a standard that allows us to use Shared componentsRelates
Security
Please answer the questions below briefly where applicable, or write
N/A
. Based onOWASP 10.
fetching data from storage outside the application (e.g. a database, an S3 bucket)?
eval
or similar functions are used?By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.