-
Notifications
You must be signed in to change notification settings - Fork 72
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 UI for configuring integrations for data detection/discovery #4922
Add UI for configuring integrations for data detection/discovery #4922
Conversation
…and-Data-Discovery
…and-Data-Discovery
…and-Data-Discovery
…and-Data-Discovery
…scovery' of https://github.com/ethyca/fides into PROD-2050-Configuring-integrations-for-DSRs-and-Data-Discovery
…and-Data-Discovery
cy.getByTestId(testIdMulti) | ||
.find(".custom-select__menu-list") | ||
.contains("Eevee") | ||
.click(); |
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 honestly have no idea why this PR caused this test to break, but I fixed it! ¯\_(ツ)_/¯
|
||
const isLoading = secretsIsLoading || patchIsLoading || systemPatchIsLoading; | ||
|
||
const initialValues: FormValues = { |
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.
Note that keyfile credentials aren't included in the initial values even if the user is editing-- the API response just returns "**********"
and not populating the form with that is consistent with behavior in the other connection forms.
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.
Thanks for clarifying. Can we a small comment in the code indicating that?
…scovery' of https://github.com/ethyca/fides into PROD-2050-Configuring-integrations-for-DSRs-and-Data-Discovery
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.
Overall looks very good for this iteration. Just have a couple comments to improve the code.
<> | ||
<IntegrationBox | ||
integration={BQ_PLACEHOLDER} | ||
button={ |
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.
Is there a need to pass the button to the IntegrationBox component? Is it going to look very different depending on the Integration?
If not, I think it would be better if the button was part of the IntegrationBox component. The IntegrationBox component could then have a "onAccept" or "onConfigure" prop so we can do the "setStep(1)" here.
|
||
const isLoading = secretsIsLoading || patchIsLoading || systemPatchIsLoading; | ||
|
||
const initialValues: FormValues = { |
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.
Thanks for clarifying. Can we a small comment in the code indicating that?
</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.
some commented code here we could delete
|
||
const { onOpen, isOpen, onClose } = useDisclosure(); | ||
|
||
// const onTabChange = () => {}; |
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.
commented code we can delete
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.
Just saw the changes based on the review. Approve!
Closes PROD-2050, PROD-2055, PROD-2056, PROD-2069, PROD-2070
Description Of Changes
Adds UI for configuring integrations for data detection and discovery.
Code Changes
Steps to Confirm
With "Data detection & discovery" beta flag enabled:
/integrations
Pre-Merge Checklist
CHANGELOG.md