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

[Security Solution] Security Assistant: useSecurityAssistantQuery hook and New chat button #5

Merged

Conversation

andrew-goldstein
Copy link
Collaborator

  • adds the useSecurityAssistantQuery hook
  • adds a New chat button that renders a query in a popover

Comment on lines +52 to +63
return (
<EuiPopover
button={NewChatButton}
closePopover={closePopover}
isOpen={isPopoverOpen}
panelPaddingSize="none"
>
<SecurityAssistantContainer>
<SecurityAssistant input={query} />
</SecurityAssistantContainer>
</EuiPopover>
);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@spong spong merged commit 199af3c into spong:security-assistant-playground May 9, 2023
1 check failed
@andrew-goldstein andrew-goldstein deleted the new-chat-button branch May 10, 2023 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants