-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(web): integrations store modal show the drawer over the integrations list #3032
feat(web): integrations store modal show the drawer over the integrations list #3032
Conversation
const DescriptionHolder = styled.div` | ||
max-width: 220px; | ||
`; |
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.
added here some small updates like allowing to override CSS
<ConfigureProviderButton | ||
onClick={() => { | ||
setIntegrationsModalVisible(true); | ||
setPopoverOpened(false); | ||
}} | ||
> |
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.
when modal is shown hide the configure provider popover
}, [isFormOpened, setProvider, setFormIsOpened, closeIntegration]); | ||
|
||
const handleKeyDown = useCallback( | ||
(e) => { | ||
useEffect(() => { | ||
const handleKeyDown = (e) => { |
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.
fixed some issues with handling Esc button
<Drawer | ||
opened={isFormOpened} | ||
position="right" | ||
onClose={handleCloseForm} | ||
withOverlay={false} | ||
withCloseButton={false} | ||
closeOnEscape={false} | ||
classNames={drawerClasses} | ||
> |
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.
the integration settings is shown in the drawer
</MantinePopover.Dropdown> | ||
</MantinePopover> | ||
)} | ||
</UnstyledButtonStyled> | ||
<IntegrationsStoreModal |
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.
moved the modal outside, because we don't want receive the mouse events on the node button when hovering over the modal
…ore' into nv-1850-integrations-store-modal-show-drawer
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.
🌟
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.
Looks amazing, love the split PRs really easier to look at the smaller batches.
…ore' into nv-1850-integrations-store-modal-show-drawer
What change does this PR introduce?
In the Integrations Store modal, we will show the integration settings form in the drawer that will be shown when clicking on the integration tile. The drawer will be rendered over the integrations list.
Why was this change needed?
This PR is a part of improvements over the onboarding process.
Other information (Screenshots)
Screen.Recording.2023-03-16.at.14.30.22.mov