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: Data Quality dashboard _New Chat_ button & API updates #16

Conversation

andrew-goldstein
Copy link
Collaborator

[Security Solution] Security Assistant: Data Quality Dashboard New Chat button & API updates

  • adds a New chat button to the Data Quality dashboard
  • updates the useAssistantOverlay API
  • NewChat takes an optional children prop
  • added NewChatById component
  • improves test coverage

- updates the `useAssistantOverlay` API
- `NewChat` takes an optional `children` prop
- added `NewChatById` component
- increases test coverage
Comment on lines +25 to +28
* USE THIS WHEN: You want to register context in one part of the tree, and then show
* a _New chat_ button in another part of the tree without passing around the data, or when
* you want to build a custom `New chat` button with features not not provided by the
* `NewChat` component.
Copy link
Owner

Choose a reason for hiding this comment

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

Comment on lines +22 to +24
* `analyzeMarkdown` is a helper that enriches content returned from a query
* with action buttons
*
Copy link
Owner

Choose a reason for hiding this comment

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

Ty! Hoping we can remove this entirely once adding the markdown processor for codeblock actions

Copy link
Owner

@spong spong left a comment

Choose a reason for hiding this comment

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

LGTM! Ty for the control flow fixes, expanded dev docs and tests!

@spong spong merged commit 6f2f1bc into spong:security-assistant-playground May 31, 2023
1 check failed
spong pushed a commit that referenced this pull request Oct 3, 2023
elastic#167877)

Revert of elastic#164574

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
spong pushed a commit that referenced this pull request Jan 2, 2024
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