jledentu / vue-finder

πŸ“ A Vue.js component to display hierarchical data (like the MacOS X finder)
https://vue-finder.netlify.app
MIT License
160 stars 16 forks source link

feat(move): add index in moved event #80

Closed jledentu closed 4 years ago

jledentu commented 4 years ago

This PR adds a index property in the move event. It is the index of the dropzone where the item is dragged. When dragged on an item, the index is undefined (the element is pushed at the end of the children).

Closes #79

codecov[bot] commented 4 years ago

Codecov Report

Merging #80 into master will increase coverage by 0.02%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
+ Coverage   93.84%   93.86%   +0.02%     
==========================================
  Files           8        8              
  Lines         260      261       +1     
  Branches       57       59       +2     
==========================================
+ Hits          244      245       +1     
  Misses         16       16
Impacted Files Coverage Ξ”
src/components/FinderList.vue 100% <ΓΈ> (ΓΈ) :arrow_up:
src/components/Finder.vue 65.9% <100%> (ΓΈ) :arrow_up:
src/utils/tree-model.js 98.79% <100%> (+0.01%) :arrow_up:
src/components/FinderListDropZone.vue 100% <100%> (ΓΈ) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update 12e01b5...c331479. Read the comment docs.

jledentu commented 4 years ago

:tada: This PR is included in version 1.15.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: