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

De-angularize field-name directive #40744

Merged
merged 13 commits into from
Jul 15, 2019

Conversation

kertal
Copy link
Member

@kertal kertal commented Jul 10, 2019

Summary

Convert the field-name directive from Angular to React. This is required to deangularize doc_view and field_chooser of discover.

Bildschirmfoto 2019-07-11 um 15 44 55

Part of #38646

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately
- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately

@kertal kertal changed the title Deangularize field-name directive De-angularize field-name directive Jul 10, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@kertal kertal added the Feature:Discover Discover Application label Jul 11, 2019
@kertal kertal self-assigned this Jul 11, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@kertal kertal added v7.4.0 v8.0.0 Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jul 11, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@kertal kertal added the release_note:skip Skip the PR/issue when compiling release notes label Jul 11, 2019
@kertal kertal requested a review from lizozom July 11, 2019 16:46
@kertal kertal marked this pull request as ready for review July 11, 2019 16:46
@kertal kertal requested a review from a team as a code owner July 11, 2019 16:46
@kertal kertal requested a review from streamich July 11, 2019 16:47
Copy link
Contributor

@snide snide left a comment

Choose a reason for hiding this comment

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

Small comment on sass change.

@@ -169,7 +169,7 @@ discover-app {

// SASSTODO: replace the margin-right value with a variables
.dscField__icon {
margin-right: 5px;
margin-right: 10px;
Copy link
Contributor

Choose a reason for hiding this comment

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

Since you're changing this, can you go ahead and take on that todo? Likely if you're looking for a bit more space $euiSizeS will work. It'll get you to 8px.

Copy link
Member Author

Choose a reason for hiding this comment

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

Of course, we should further adapt this component, icons etc. but in a separate PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

i will adapt this change of course, more margin here is necessary, because react removed the whitespace angular added ... further work will include taking care of unused classes (for scripted fields e.g., guess there should be an icon for that etc.)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@kertal kertal requested a review from snide July 11, 2019 17:59
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@streamich streamich left a comment

Choose a reason for hiding this comment

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

Ran on Mac/Chrome, everything seems to work.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@kertal kertal merged commit 1bbc74a into elastic:master Jul 15, 2019
kertal added a commit to kertal/kibana that referenced this pull request Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Discover Discover Application release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.4.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants