-
Notifications
You must be signed in to change notification settings - Fork 20
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
fix(aa): refactor Automated Analysis Recording Setting #1014
Conversation
Test image available:
|
Test image available:
|
Test image available:
|
Test image available:
|
src/app/Dashboard/AutomatedAnalysis/AutomatedAnalysisConfigForm.tsx
Outdated
Show resolved
Hide resolved
src/app/Dashboard/AutomatedAnalysis/AutomatedAnalysisConfigForm.tsx
Outdated
Show resolved
Hide resolved
src/app/Dashboard/AutomatedAnalysis/AutomatedAnalysisConfigForm.tsx
Outdated
Show resolved
Hide resolved
src/app/Dashboard/AutomatedAnalysis/AutomatedAnalysisConfigForm.tsx
Outdated
Show resolved
Hide resolved
src/app/Dashboard/AutomatedAnalysis/AutomatedAnalysisConfigForm.tsx
Outdated
Show resolved
Hide resolved
src/app/Dashboard/AutomatedAnalysis/AutomatedAnalysisConfigForm.tsx
Outdated
Show resolved
Hide resolved
src/test/Dashboard/AutomatedAnalysis/AutomatedAnalysisConfigForm.test.tsx
Outdated
Show resolved
Hide resolved
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.
UI looks good!
Not sure if its just me. The editing panel seems crashing in Automated Analysis Drawer -> click on the edit icon just closes the drawer panel.
I think it is the issue with TargetSelect
trying to set global selection. This causes the AutomatedAnalysisCard
to generateReport
-> loading state -> closes the drawer.
See #1014 (comment)
Test image available:
|
src/app/Dashboard/AutomatedAnalysis/AutomatedAnalysisConfigForm.tsx
Outdated
Show resolved
Hide resolved
src/app/Dashboard/AutomatedAnalysis/AutomatedAnalysisConfigForm.tsx
Outdated
Show resolved
Hide resolved
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 more comments and prettier needs running :))
Signed-off-by: Max Cao <macao@redhat.com>
Signed-off-by: Max Cao <macao@redhat.com>
Signed-off-by: Max Cao <macao@redhat.com>
Signed-off-by: Max Cao <macao@redhat.com>
Signed-off-by: Max Cao <macao@redhat.com>
Test image available:
|
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 awesome! Thanks!
@andrewazores any other comments? |
src/app/Dashboard/AutomatedAnalysis/AutomatedAnalysisConfigForm.tsx
Outdated
Show resolved
Hide resolved
src/app/Dashboard/AutomatedAnalysis/AutomatedAnalysisConfigForm.tsx
Outdated
Show resolved
Hide resolved
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 good other than the two minor localization spots
Test image available:
|
* show current config Signed-off-by: Max Cao <macao@redhat.com> * prevent setting empty template Signed-off-by: Max Cao <macao@redhat.com> * add reset Signed-off-by: Max Cao <macao@redhat.com> * fix some handling Signed-off-by: Max Cao <macao@redhat.com> * redesign Signed-off-by: Max Cao <macao@redhat.com> * redesign 2 Signed-off-by: Max Cao <macao@redhat.com> * update tests and add confirmation Signed-off-by: Max Cao <macao@redhat.com> * re: fixes Signed-off-by: Max Cao <macao@redhat.com> * fix tests Signed-off-by: Max Cao <macao@redhat.com> * localize Signed-off-by: Max Cao <macao@redhat.com> --------- Signed-off-by: Max Cao <macao@redhat.com> (cherry picked from commit 093e003)
* show current config Signed-off-by: Max Cao <macao@redhat.com> * prevent setting empty template Signed-off-by: Max Cao <macao@redhat.com> * add reset Signed-off-by: Max Cao <macao@redhat.com> * fix some handling Signed-off-by: Max Cao <macao@redhat.com> * redesign Signed-off-by: Max Cao <macao@redhat.com> * redesign 2 Signed-off-by: Max Cao <macao@redhat.com> * update tests and add confirmation Signed-off-by: Max Cao <macao@redhat.com> * re: fixes Signed-off-by: Max Cao <macao@redhat.com> * fix tests Signed-off-by: Max Cao <macao@redhat.com> * localize Signed-off-by: Max Cao <macao@redhat.com> --------- Signed-off-by: Max Cao <macao@redhat.com> (cherry picked from commit 093e003) Co-authored-by: Max Cao <macao@redhat.com>
Welcome to Cryostat! 👋
Before contributing, make sure you have:
main
branch[chore, ci, docs, feat, fix, test]
git commit --amend --signoff
Fixes: #1006
Description of the change:
This puts the current configuration as a expandable panel in the AA recording config settings and allows the user to explicitly edit the configuration. It also prevents null templates from being set as a default configuration.
Motivation for the change:
See #1006