Closed scottcarol closed 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.
Awesome @turnerniles definitely open to feedback!
@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.
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.
@scottcarol Amazing!! Thank you! Merging now.
Closed in @scottcarol's #107. @scottcarol thank you again!
@turnerniles Happy to help, thanks for creating this great library.
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:
app.spec.js
Notes on changes:
package.json
, added Toggle-Display library for conditional displaypackage.json
, added.css
to the list of extensions mocked in unit testingpackage.json
, changed `enzyme-adapter-react-16' from "^1.1.0" to "1.1.0" because a newer version was causing errors in 'Drawer.spec.js'