Giter VIP home page Giter VIP logo

Comments (7)

aolinpk avatar aolinpk commented on August 11, 2024

现调研了一下github的这块功能。

from vue-devui.

aolinpk avatar aolinpk commented on August 11, 2024

结合现有CodeReview现有功能,预计增加以下功能:
1、点击选中行(只能选连续的行,预计做成按住shift点击左键)。
2、点击评论的回调函数中增加一到两个参数,优先增加返回参数行号数组[1,2,3,4,5,6],如果可以的话返回对应选中行的代码块字符串。

from vue-devui.

aolinpk avatar aolinpk commented on August 11, 2024

补充:参照github如果已经选中多行 此时如果点击的是最后一个选中的行触发事件则为多选。 如果选中的不是已选中多选的最后一行,或者点击是未选中行则走原来的单选。
image

from vue-devui.

aolinpk avatar aolinpk commented on August 11, 2024

选中方法参照github,改成只能从小到大选择。 因为如果能自由选择的话会有一个问题。 例如选中了200-205,再选202的时候到底是要200-202还是202-205就会有分歧。

from vue-devui.

aolinpk avatar aolinpk commented on August 11, 2024

image

from vue-devui.

aolinpk avatar aolinpk commented on August 11, 2024

image

from vue-devui.

aolinpk avatar aolinpk commented on August 11, 2024

image
image

from vue-devui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.