Skip to content
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

Remove extra external link in markdown editor #86933

Merged
merged 4 commits into from
Jan 5, 2021

Conversation

sulemanof
Copy link
Contributor

@sulemanof sulemanof commented Dec 24, 2020

Summary

Here is the issue in the markdown editor with an extra external icon rendered next to Help text ->

image

The reason of the regression is an addition in eui - it adds the icon for external links by default now elastic/eui#4172

Fix:

image

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@sulemanof sulemanof requested a review from stratoula December 24, 2020 11:42
@sulemanof sulemanof added Feature:Markdown Markdown visualization feature release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v7.12.0 v8.0.0 labels Dec 24, 2020
@stratoula
Copy link
Contributor

Good catch @sulemanof 🙂

const props = ({
stateParams: {
fontSize: 12,
markdown: 'hello from 2020 🥳',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😂


it('should update markdown on change', () => {
const comp = shallow(<MarkdownOptions {...props} />);
const value = 'see you in 2021 😎';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy holidays 🥳

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not owned by the kibana app team but I tested it and works fine so I approve it 🥳

@sulemanof sulemanof marked this pull request as ready for review December 24, 2020 14:15
@sulemanof sulemanof requested a review from a team as a code owner December 24, 2020 14:15
@sulemanof
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@poffdeluxe poffdeluxe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for this!

@stratoula
Copy link
Contributor

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Distributable file count

id before after diff
default 47252 48012 +760

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
visTypeMarkdown 14.4KB 14.3KB -143.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@stratoula stratoula merged commit 4f9b0af into elastic:master Jan 5, 2021
stratoula pushed a commit to stratoula/kibana that referenced this pull request Jan 5, 2021
* Remove extra external icon

* Add unit tests

Co-authored-by: Kibana Machine <[email protected]>
stratoula pushed a commit to stratoula/kibana that referenced this pull request Jan 5, 2021
* Remove extra external icon

* Add unit tests

Co-authored-by: Kibana Machine <[email protected]>
stratoula added a commit that referenced this pull request Jan 5, 2021
* Remove extra external icon

* Add unit tests

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Daniil <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
stratoula added a commit that referenced this pull request Jan 5, 2021
* Remove extra external icon

* Add unit tests

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Daniil <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Markdown Markdown visualization feature release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants