Mailspring/spec/components
Annie c251884eaa fix(mail-merge): Fix column deletion and added a spec for uneven data
Summary: After importing an uneven csv (not all rows have the same number of columns e.g. rows: [[1,2][3,4,5]]), deleting the last column would improperly delete data in rows with fewer columns. This is because we were slicing each row based on row.length - 1 which is not the same for all rows. Fixed this by creating a new variable newNumColumns which is columns.length - 1.

Test Plan: Added new test data with uneven data and added a test in table-data-source-spec for removeLastColumn on this uneven set.

Reviewers: juan

Reviewed By: juan

Subscribers: juan

Differential Revision: https://phab.nylas.com/D3133
2016-07-28 12:12:10 -07:00
..
nylas-calendar fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
table fix(mail-merge): Fix column deletion and added a spec for uneven data 2016-07-28 12:12:10 -07:00
blockquote-manager-spec.coffee feat(composer): can outdent blockquotes allowing you to reply inline 2016-01-11 14:46:20 -05:00
clipboard-service-spec.coffee refactor(contenteditable): new ContenteditableExtension API 2015-12-21 19:58:01 -08:00
contenteditable-component-spec.cjsx bump(react): 0.13.2 => 0.14.7 2016-03-29 01:43:12 -07:00
date-input-spec.jsx fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
editable-list-spec.jsx refactor(signatures): Removed old signature imgs and made static empty signatures page 2016-07-11 12:35:41 -07:00
editable-table-spec.jsx fix(build): Fix linter errors 2016-05-11 16:38:30 -07:00
evented-iframe-spec.cjsx fix(frame): fix link clicking in iframes 2016-04-25 17:30:30 -07:00
fixed-popover-spec.jsx fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
injected-component-set-spec.jsx fix(spec): fix injected component spec 2016-05-06 16:42:55 -07:00
multiselect-dropdown-spec.jsx refactor(signatures): Removed old signature imgs and made static empty signatures page 2016-07-11 12:35:41 -07:00
multiselect-list-interaction-handler-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
multiselect-split-interaction-handler-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
participants-text-field-spec.cjsx feat(babel6): fix participant field spec 2016-05-06 11:55:16 -07:00
selectable-table-spec.jsx fix(build): Fix linter errors 2016-05-11 16:38:30 -07:00
tokenizing-text-field-spec.cjsx fix(specs): Fix broken popover specs 2016-04-24 11:08:33 -07:00