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

Warning on required prop sorting.sort.direction on Vis Editor Table #80100

Closed

Conversation

DianaDerevyankina
Copy link
Contributor

Closes #69657

Summary

Added field to Actions column to avoid setting this column name as sort name in EuiInMemoryTable.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@DianaDerevyankina DianaDerevyankina added Feature:Vis Editor Visualization editor issues v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.11.0 labels Oct 9, 2020
@DianaDerevyankina DianaDerevyankina self-assigned this Oct 9, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

page load bundle size

id before after diff
kibanaReact 133.9KB 133.9KB +64.0B

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

defaultMessage: 'Actions',
}),
name: actionsColumnName,
field: actionsColumnName,
Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer to fix that issue on Elastic UI side. field param is not required for ActionsColumn (see https://elastic.github.io/eui/#/tabular-content/in-memory-tables). From my point of view ActionsColumn's should be ignored by default for sorting

Copy link
Contributor

Choose a reason for hiding this comment

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

@chandlerprall any ideas? Should we move that fix to Elastic UI side?

Copy link
Contributor

Choose a reason for hiding this comment

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

Agreed, please create an issue in https://github.com/elastic/eui and we'll take a look.

@DianaDerevyankina
Copy link
Contributor Author

@chandlerprall Could you check the PR created in eui repo, please? elastic/eui#4138

@alexwizp alexwizp closed this Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Vis Editor Visualization editor issues release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warning on required prop sorting.sort.direction on Vis Editor Table
4 participants