Open twelsh37 opened 2 years ago
Sweet! This is something that is on our radar but we haven't put a ton of thought into. To get this working properly, I think we need to extend the notion of the column control panel to support multiple columns.
@aarondr77 any thoughts on how we might approach this? Would be nice to think of all the features we have in there, and how they might extend to multiple columns...
I think there are a two approaches we could take to this. Potentially doing both:
It might include:
Continue the flow of letting users multi select columns in the sheet and then edit them all at once via a toolbar button. This is how we support deleting and formatting. It would make sense to multi select and then change the dtype all at once. Notably, this is the approach that @twelsh37 attempted. This approach continues to work as one off solutions, but doesn't address the overall problem with bulk editing. The bulk of the design work here is what to do with the toolbar that is filling up.
Since this quickly becomes a bigger design question, let's create a formal specification for this before implementing.
+1 a pro user just requested this feature
Describe the bug If you select multiple columns and you want to assign them all the same dtype the dtype is only assigned to the last column selected.
To Reproduce Steps to reproduce the behavior:
This happens no matter what dataset you are using. I was trying to change 20 str's to int's In the end I had to complete the action 20 times instead of selecting the 20 columns and carrying out the action once.
Expected behavior Select multiple columns and in the task pane change all the columns to the same dtype
Screenshots
Desktop (please complete the following information):