-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Incorrect “my changes” statement displayed in update flyout for fields with no final column changes #206666
Comments
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
@pborgonovi The diff is correct:
Perhaps we could come up with a better copy/explanation text. Here's the ticket for UI copy review: elastic/security-docs#6238. Feel free to suggest a better copy for this specific issue there, or contribute any other UI copy suggestions. @nikitaindik Please help answer any further questions that Paula might have about this issue. If there are no further questions, let's close the ticket. |
The purpose of "My changes" is to display any user-made changes, whether they were made via the rule editing page / API or in the upgrade flyout. @pborgonovi, do you think this needs to be clarified further with improved wording? |
Hey @nikitaindik I see there is some difference between the UI and the implementation: My screenshot: UI ticket: But my biggest concern in this case was that I haven't applied any change in the Update Flyout - this rule had only the customizations previously made. When I open the update flyout, 'My changes" statement mention "what you changed in your installed rule and in the Final update section". I was wondering if it shouldn't be "Original changes" instead. Is that clear? |
@pborgonovi Thanks for the explanation! It makes sense to me now. I think it's indeed an issue with wording. Perhaps we could reword the description for My changes to something like "view what you have changed in your installed rule or in the Final update section". I'd say let's wait until the docs folks review all UI copy (ticket). Maybe they'll come up with something clearer. I'm going to mention this comment in the docs ticket, so that they can a look. I believe we can close this issue now, since there's probably going to be another issue to improve UI copy once the Docs review UI text. |
Thanks @nikitaindik |
Description:
In the Rule Update Flyout, the diff view shows different options based on the type of changes applied to the field:
Diff view tooltip:
However, in this case, when opening the flyout for a rule where previous changes were made directly to the query field in the installed rule (before opening the flyout), the field is automatically shown in edit mode, and the diff view incorrectly displays the statement:
“My changes - view what you have changed in your installed rule and in the Final update section”
This is inaccurate because no changes have been made in the Final column during this session.
Kibana/Elasticsearch Stack version:
VERSION: 9.0.0
BUILD: 82604
COMMIT: 6ec7c37
Functional Area (e.g. Endpoint management, timelines, resolver, etc.):
Rules Update
Pre requisites:
prebuiltRulesCustomizationEnabled
flag is enabledSteps to reproduce:
Current behavior:
The diff view incorrectly displays “My changes - view what you have changed in your installed rule and in the Final update section”, even though no changes were applied in the Final column of the flyout.
Expected behavior:
Since no changes were applied in the Final column during the current session, the diff view should display:
“My original changes - view what you have changed in your installed rule. Doesn’t include changes made in the Final update section.”
Screenshots:
Screen.Recording.2025-01-14.at.10.58.46.AM.mov
The text was updated successfully, but these errors were encountered: