-
Notifications
You must be signed in to change notification settings - Fork 843
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
Default sortable to true for all table columns #1866
Comments
Changing the default from false to true would cause a breaking change. I'm wondering, however, if we could add a single prop to |
Hi @cchaos I would like to work on this. Can you explain what should be done? |
Can I take this up? |
Hi @Vineet-Sharma29 & @shakti97 , as we are open source we absolutely invite anyone to take on issues from our backlog, no need to ask permission. Just create a PR and we'll be able to review and help with any problems. As for the specific question of how to accomplish this task, the EuiBasicTable allows consumers to pass a data object with column specifications. Right now a consumer has to specify if they want each individual column to be sortable. The issue here is that can be cumbersome if there are lots of columns and you just want to use the default sorting ability. If we then add a prop called something like |
@cchaos Can you tell how to check changes made in the codebase? |
I am planning to make following changes:-
basic_table.tsx
I am planning to make above changes. Can someone @cchaos , @chandlerprall , @thompsongl once guide check this ? Need some guidance with this issue |
Hi @Vineet-Sharma29, we use the standard fork & pull request workflow. You can find a good intro and walkthrough of the process here: https://gist.github.com/Chaser324/ce0505fbed06b947d962 However, it looks like someone else has already created a PR #2906 to fix this issue. |
@cchaos ok |
@cchaos Also, if possible can you please consider assigning issues since it helps in working on one. If someone worked on a issue but some other interested contributor filed a PR early, which means first contributor's work got wasted. |
@Vineet-Sharma29 I understand that can be frustrating, however, we don't like to assign issues to community members as we don't want to put pressure on those individuals. They are very welcome to self-assign themselves to issues that they will be working on. Your best bet is to subscribe to the issue to get updates. Unfortunately we cannot control who submits a PR first. |
Context: elastic/kibana#35218
Seems like most of the time we want all table columns to be sortable by default.
I think it would be less tedious to explicitly turn off sorting for unsupported columns rather than always enabling it for all supported columns.
This is just something to ponder upon
The text was updated successfully, but these errors were encountered: