-
Notifications
You must be signed in to change notification settings - Fork 892
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
[Bug] fix missing discover context icon #1545
[Bug] fix missing discover context icon #1545
Conversation
add back icon directive, which injects SVG Signed-off-by: Josh Romero <rmerqg@amazon.com>
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.
Nice! Is it worthwhile to add tests to ensure the icons are now loaded properly to prevent a regression in the future?
Ideally, yes, absolutely. The problem is I'm not sure there's a straightforward way to do that for these legacy views that are rendered with a mix of Angular and React. Specifically, the regression case we'd want to test is that we're dynamically inserting the icon SVG on any angular-defined
becomes
It probably makes more sense to spend some time investigating the functional tests in discover, to see if they provide enough coverage for the larger effort of finishing the migration from Angular to React. |
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.
__ _____________ ___
/ / / ___/_ __/ |/ /
/ /__/ (_ / / / / /|_/ /
/____/\___/ /_/ /_/ /_/
@joshuarrrr I think that's reasonable. We'll need to address that with #1560. |
add back icon directive, which injects SVG Signed-off-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit bd10227)
add back icon directive, which injects SVG Signed-off-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit bd10227)
add back icon directive, which injects SVG Signed-off-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit bd10227)
add back icon directive, which injects SVG Signed-off-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit bd10227)
add back icon directive, which injects SVG Signed-off-by: Josh Romero <rmerqg@amazon.com>
add back icon directive, which injects SVG Signed-off-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit bd10227)
add back icon directive, which injects SVG Signed-off-by: Josh Romero <rmerqg@amazon.com>
add back icon directive, which injects SVG Signed-off-by: Josh Romero <rmerqg@amazon.com>
Add back icon directive, which injects SVG for EUI icons
Signed-off-by: Josh Romero rmerqg@amazon.com
Description
Corrects rendering of discover context table row expansion buttons. The directive appears to have been removed when partially de-angularizing discover, without realizing the impact on the context doc table rendering.
Issues Resolved
fixes #1281
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr