Git Product home page Git Product logo

Comments (7)

joshaber avatar joshaber commented on May 17, 2024

@simurai any idea what this would look like?

from github.

simurai avatar simurai commented on May 17, 2024

Was thinking since we color the current git-diff lines, we could do the same in the tree-view. For partially staged files, the line could be dotted.

screen shot 2016-03-12 at 9 24 56 am

Currently the tree-view adds classes like: status-modified. So we could add these additional classes: status-staged and status-staged-partially
status-staged-partially?

Or maybe better to name-space it with git- so it's easier to remember that this comes from the git package:

  • git-status-staged
  • git-status-staged-partially

Anyways, as long as you add "some" classes, I can do the styling for it.

from github.

simurai avatar simurai commented on May 17, 2024

One question is: Should a folder containing a staged file also show the staged line? To be consistent with the current diff coloring, I would say yes. So in the mock above, the "lib" folder would be orange and also have a git-status-staged class and therefore a blue line.

from github.

simurai avatar simurai commented on May 17, 2024

There was also the idea that you can stage/unstage/discard in the tree-view, maybe with a keybinding or mouse:

screen shot 2016-03-12 at 9 20 55 am

But if at all, maybe less priority?

from github.

joshaber avatar joshaber commented on May 17, 2024

I have the same questions about implementation here as I do in #45 (comment).

from github.

joshaber avatar joshaber commented on May 17, 2024

After mulling this, I think we should πŸ‘’ it from this milestone. This seems like a nice integration to have, but I think there are more important things we should do first.

@simurai Thoughts?

from github.

simurai avatar simurai commented on May 17, 2024

πŸ‘ on πŸ‘’ing this. Especially because it's an alternative to an already existing feature (staging from the panel).

from github.

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.