[Security Solution][All] Replace old markdown renderer with the new one#80301
[Security Solution][All] Replace old markdown renderer with the new one#80301cnasikas merged 6 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/siem (Team:SIEM) |
...s/security_solution/public/timelines/components/open_timeline/note_previews/note_preview.tsx
Outdated
Show resolved
Hide resolved
yctercero
left a comment
There was a problem hiding this comment.
LGTM (Note - just focused on use in rules, not cases)! Pulled down and tested markdown on rule creation, made sure it shows up in rule details and that a new note is appended to a timeline opened from an alert where the rule has an investigation guide 👍 Thanks for updating this!
stephmilovic
left a comment
There was a problem hiding this comment.
Code review and manual testing both LGTM. Thanks @cnasikas !!
x-pack/plugins/security_solution/public/overview/components/recent_cases/recent_cases.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/common/components/markdown/index.test.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/common/components/markdown/index.test.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/common/components/markdown/index.test.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/index.ts
Outdated
Show resolved
Hide resolved
6173f6e to
9fc87dd
Compare
|
@elasticmachine merge upstream |
4a5b30c to
b1d01bd
Compare
2ac9079 to
718630e
Compare
718630e to
a73e977
Compare
x-pack/plugins/security_solution/public/common/components/markdown_editor/markdown_link.tsx
Outdated
Show resolved
Hide resolved
💚 Build SucceededMetrics [docs]@kbn/optimizer bundle module count
async chunks size
History
To update your PR or re-run it, just comment with: |
| <EuiLink | ||
| href={disableLinks ? undefined : href} | ||
| data-test-subj="markdown-link" | ||
| rel={`${REL_NOFOLLOW}`} |
There was a problem hiding this comment.
nit: consider dropping the extraneous template, i.e.
rel={REL_NOFOLLOW}
andrew-goldstein
left a comment
There was a problem hiding this comment.
Thanks for migrating the rest of the Security solution to the EUI Markdown formatter and renderer @cnasikas! 🙏
Desk tested:
- global timeline notes
- inline timeline notes
- case notes
- rendering case descriptions w/links in the Overview
- external link rendering
- timeline link rendering
- timeline
Analyze event-link rendering - x-browser markdown formatting (the example below is from FF):

LGTM 🚀 📓 ✏️
…arm-phase-to-formlib * 'master' of github.com:elastic/kibana: (55 commits) [UX] Fix map color variance and apply proper filter for extended stats (elastic#81106) [User Experience] Use EuiSelect for percentiles instead of SuperSelect (elastic#81082) [DOCS] Add link for monitoring ssl settings (elastic#81057) [test] Await loading indicator in monitoring test (elastic#81279) [ILM] Minor copy and link additions to cloud CTA for cold phase (elastic#80512) [Mappings editor] Add scaled_float and date_range comp integration tests (elastic#81287) [Discover] Deangularize context.app (elastic#80851) [O11y Overview] Add code to display/hide UX section when appropriate (elastic#80873) [Discover] Extend DiscoverNoResults component to show different message on error (elastic#79671) Fix tagcloud word overlapping (elastic#81161) [Security Solution] Fixes flaky test rules (elastic#81040) Changed the code to avoid tech debt with hacky solutions after receiving comments on EUI issue reported about this problem. (elastic#81183) [Security Solution][All] Replace old markdown renderer with the new one (elastic#80301) Add namespaced version of the API call (elastic#81278) [ML] Data Frame Analytics: Fix race condition and support for feature influence legacy format. (elastic#81123) [Fleet] Fix POLICY_CHANGE action creation for new policy (elastic#81236) [Security Solution][Endpoint][Admin] Malware user notification checkbox (elastic#78084) [SecuritySolution][Unit Tests] - fix flakey unit test (elastic#81239) skip flaky suite (elastic#81264) [Maps] fix top-level Map page is called 'Kibana' (elastic#81238) ... # Conflicts: # x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx # x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared/forcemerge_field.tsx # x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/warm_phase.tsx
Summary
This PR introduced the new
EuiMarkdownEditorfor cases. Some components in the Security Solution app still uses the old markdown editor. This PR removes the old markdown and replace it with the new one.Note: Markdown URLs are enabled on the case widget on the overview page. Before this PR there were not enabled (rendered).
Checklist
Delete any items that are not applicable to this PR.
For maintainers