fix: use absolute instead of running index to count position#2544
fix: use absolute instead of running index to count position#2544ghiscoding merged 3 commits intoghiscoding:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2544 +/- ##
=======================================
Coverage 100.0% 100.0%
=======================================
Files 196 196
Lines 24964 24965 +1
Branches 8814 8815 +1
=======================================
+ Hits 24964 24965 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
angular-slickgrid
aurelia-slickgrid
slickgrid-react
slickgrid-vue
@slickgrid-universal/angular-row-detail-plugin
@slickgrid-universal/aurelia-row-detail-plugin
@slickgrid-universal/react-row-detail-plugin
@slickgrid-universal/vue-row-detail-plugin
@slickgrid-universal/binding
@slickgrid-universal/common
@slickgrid-universal/composite-editor-component
@slickgrid-universal/custom-footer-component
@slickgrid-universal/custom-tooltip-plugin
@slickgrid-universal/empty-warning-component
@slickgrid-universal/event-pub-sub
@slickgrid-universal/excel-export
@slickgrid-universal/graphql
@slickgrid-universal/odata
@slickgrid-universal/pagination-component
@slickgrid-universal/pdf-export
@slickgrid-universal/row-detail-view-plugin
@slickgrid-universal/rxjs-observable
@slickgrid-universal/sql
@slickgrid-universal/text-export
@slickgrid-universal/utils
@slickgrid-universal/vanilla-bundle
@slickgrid-universal/vanilla-force-bundle
commit: |
|
is that another thing related to hidden column? because this function wasn't changed in a very long time |
|
oh its not so long ago, actually just a day 🤣 sry if it was unclear but I contributed the |
|
ah ok yeah I didn't realized it was you in previous PR, but you changed it to a slickgrid-universal/packages/common/src/core/slickGrid.ts Lines 2936 to 2939 in da8e9d6 it's less lines of code but it's also less problems test coverage (and maybe less readable too but it's not that bad) |
|
so one more issue that I found was that if the to be pasted columns exceed amount of availble columns, which gets triggered when pasting multiple rows as the same time, we ran into a undefined.hidden error. |
|
I think we're good with this one so far, haven't found any new issues as of today |
|
yeah but can you make the change as suggested in my previous comment, you're also missing coverage for that new file mod... oh and formatting problem too, I'm not sure why Prettier vscode plugin no longer detects formatting changes (I won't switch to oxc/ofmt until they cover all inline templating aka js-in-html) |
|
yep ofc, will take a look today |
|
@zewa666 Great thanks again, are you done with all your testing or does that last a few days? I could push another version in the weekend or wait longer |
|
I think I'm good for this week. deploying by the weekend is totally fine. I'm sure we'll find more but that is an ongoing task |
|
🎉 This pull request is included in version 10.5.2 📦 |
sry this issue somehow sneaked in during testing. ofc the returned indexes should be the absolute ones from the total collection