-
Notifications
You must be signed in to change notification settings - Fork 465
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
Fleet UI: Add reset results warning for modifying platform or min osquery version #17663
Fleet UI: Add reset results warning for modifying platform or min osquery version #17663
Conversation
Wait on solution decided for #17662 before continuing |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 17018-reset-query-report #17663 +/- ##
=========================================================
Coverage 65.59% 65.59%
=========================================================
Files 1191 1191
Lines 107547 107564 +17
Branches 2566 2582 +16
=========================================================
+ Hits 70543 70557 +14
- Misses 31646 31649 +3
Partials 5358 5358
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -638,12 +638,32 @@ const EditQueryForm = ({ | |||
"differential_ignore_removals", | |||
].includes(lastEditedQueryLoggingType); | |||
|
|||
// Note: The backend is not resetting the query reports with equivalent platform strings |
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.
This was the best way I could think of to test equivalence, especially if we ever add new platforms. @jacobshandling would love your input on the naming of this equivalence checker.
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.
LGTM
@@ -638,12 +638,32 @@ const EditQueryForm = ({ | |||
"differential_ignore_removals", | |||
].includes(lastEditedQueryLoggingType); | |||
|
|||
// Note: The backend is not resetting the query reports with equivalent platform strings |
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.
LGTM
Issue
FE of #17018
Description
Recording
https://www.loom.com/share/698e75a3d70f460799ed3c7458906cdc?sid=2133e4ae-04de-47ac-ad7c-77e78dbf5e06
Checklist for submitter
If some of the following don't apply, delete the relevant line.