tavyandy97 / span-tree

🌳 Tree for GitLab
https://chrome.google.com/webstore/detail/spantree-gitlab-tree/gcjikeldobhnaglcoaejmdlmbienoocg
MIT License
217 stars 20 forks source link

Feature: replace div with a tag #73

Closed LinYunWen closed 2 years ago

LinYunWen commented 2 years ago

Replace div tag with a tag on the tree item. If it is directory, prevent the default action of a tag.

Because of using anchor tags, users can open the file in a new tab by context menu or clicking the middle button on mouses.

tavyandy97 commented 2 years ago

Hey @LinYunWen ! This use case can be incorporated in the extension and will be useful to users. I'll review your pull request and let you know if any changes are required. Thanks for the contribution!

liechtir commented 2 years ago

Hi Andy could you please merge that one? Seems like a neat functionaly. However, this most likely conflicts with my pull request a tiny bit.

tavyandy97 commented 2 years ago

Hey @liechtir , thanks for bumping this up. I'll definitely look into it.