turnerniles / react-virtualized-pivot

React Virtualized Pivot
https://turnerniles.github.io/react-virtualized-pivot/
MIT License
107 stars 19 forks source link

Demo Update - Allow User To Preview, Add And Edit CSV/TSV File Headers #107

Closed scottcarol closed 6 years ago

scottcarol commented 6 years ago

This pull request addresses #106 and adds functionality and testing to the Demo. The goal is to help new users successfully use the pivot table by letting them preview the headers of their uploaded files, edit those headers if desired, and add headers if their CSV/TSV file did not include them.

Specific functionality added:

Notes on changes:

turnerniles commented 6 years ago

@scottcarol this looks awesome and thank you! I will take a look at it this week and review / give feedback or merge in depending! I was away this weekend so I didn't have the chance.

scottcarol commented 6 years ago

Awesome @turnerniles definitely open to feedback!

turnerniles commented 6 years ago

@scottcarol This is super cool! Wow! It's great to have the option to edit the headers or add a new header. 👍. I left you some comments that I think should be fairly quick to change and then we can merge. Let me know if you have any comments/questions. I will be quicker to respond this week.

scottcarol commented 6 years ago

Great feedback @turnerniles. I combined addHeaders and saveEditedHeaders into a new function called saveNewHeaders and moved the form validation there as well. Test also updated.

turnerniles commented 6 years ago

@scottcarol Amazing!! Thank you! Merging now.

turnerniles commented 6 years ago

Closed in @scottcarol's #107. @scottcarol thank you again!

scottcarol commented 6 years ago

@turnerniles Happy to help, thanks for creating this great library.