-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix spliceRows() issues with delete #1600
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
base: master
Are you sure you want to change the base?
Conversation
Note that this PR includes PR 1599 (fixed lint violations). |
"As it stands now, spliceRows() is useless to delete rows at the end of the worksheet." I had this problem three hours ago. Thank you fix it! |
BUT! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've started reviewing this PR, however I want getting done #1599 first.
@iva2k could I please you to update this branch from the current master? |
Not sure it has to be done as merge can be done automatically, there are no conflicts and all checks have passed. The actual fix is localized to 1 function. All other edits are to deal with this project not passing its own lint checks. If you insist on me doing it - I was tied up with other stuff and still am. I will circle back to that perhaps in a couple of weeks, when my bandwidth opens up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the great contribution! :)
From the code side and as the tests show, it works great - wonderful :)
However, I wonder a little bit about styling and cell formats. I'm going to check some variants before approval.
*.xlsx | ||
*{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What *{}
mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These .gitignore items I added for test artifacts.
Ad the #1599 has been merged. Updating with master causing reduce the file to review from 19 to 5. Additionally, all tests run with up-to-date code. |
I checked against master - no merge conflicts and no fails. BTW, styling issues (if there are) are separate. This only deals with issue of not removing rows that should be removed. |
Is this gonna be merged? |
Summary
Fixes #674 #628 #474
Test plan
npm run test
There are couple new testcases that exercise deletes near the end of the worksheet rows. They fail prior to the spliceRows() code edits, and pass with the fixes.