-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[SIEM] fix tooltip of notes #71342
[SIEM] fix tooltip of notes #71342
Conversation
Pinging @elastic/siem (Team:SIEM) |
@elasticmachine merge upstream |
@@ -16,7 +16,7 @@ export const NOTES_TOOLTIP = i18n.translate( | |||
export const NOTES_DISABLE_TOOLTIP = i18n.translate( | |||
'xpack.securitySolution.timeline.body.notes.disableEventTooltip', | |||
{ | |||
defaultMessage: 'Add notes for event filtered by a timeline template is not allowed', | |||
defaultMessage: 'Notes may not be added here while editing a template timeline', |
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.
While testing locally in the regular (non-template) mode, I noticed, per the screenshot below, that the tooltip currently reads Add or view notes for this event
:
I don't think the or view
part of the tooltip is valid, because clicking the button doesn't view notes. Notes are always displayed inline, per the screenshot below:
Would you be willing to change NOTES_TOOLTIP
in translations.ts
from Add or view notes for this event
to Add notes for this event
?
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.
Thanks for this fix @angorayc! 📓
Tested locally
LGTM 🚀
@elasticmachine merge upstream |
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
* fix tooltip of notes * fix unit test * update notes tooltip * fix unit test Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* master: (78 commits) Bump lodash package version (elastic#71392) refactor: 💡 use allow-list in AppArch codebase (elastic#71400) improve bugfix 7198 test stability (elastic#71250) [Security Solution][Ingest Manager][Endpoint] Optional ingest manager (elastic#71198) [Metrics UI] Round metric threshold time buckets to nearest unit (elastic#71172) [Security Solution][Endpoint] Policy creation callback fixes + Improved error handling in user manifest loop (elastic#71269) [Security Solution] Allow to configure Event Renderers settings (elastic#69693) Fix a11y keyboard overlay (elastic#71214) [APM] UI text updates (elastic#71333) [Logs UI] Limit `extendDatemath` to valid ranges (elastic#71113) [SIEM] fix tooltip of notes (elastic#71342) address index templates feedback (elastic#71353) Upgrade EUI to v26.3.1 (elastic#70243) [build] Creates Linux aarch64 archive (elastic#69165) [SIEM][Detection Engine] Fixes skipped tests (elastic#71347) [SIEM][Detection Engine][Lists] Adds read_privileges route for lists and list items [kbn/optimizer] implement "requiredBundles" property of KP plugins (elastic#70911) [Security Solution][Exceptions] - Exceptions modal pt 2 (elastic#70886) [ML] DF Analytics: stop status polling when job stopped (elastic#71159) [SIEM][CASE] IBM Resilient Connector (elastic#66385) ...
Pinging @elastic/security-solution (Team: SecuritySolution) |
Summary
After fix:
Change the note's tooltip to:
Notes may not be added here while editing a template timeline.
Change the pin's tooltip to
This event may not be pinned while editing a template timeline.
Checklist
Delete any items that are not applicable to this PR.
Documentation was added for features that require explanation or tutorialsThis was checked for keyboard-only and screenreader accessibilityThis renders correctly on smaller devices using a responsive layout. (You can test this in your browserThis was checked for cross-browser compatibilityFor maintainers