Comments (7)
@simurai any idea what this would look like?
from github.
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.
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.
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.
There was also the idea that you can stage/unstage/discard in the tree-view, maybe with a keybinding or mouse:
But if at all, maybe less priority?
from github.
I have the same questions about implementation here as I do in #45 (comment).
from github.
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.
π on π’ing this. Especially because it's an alternative to an already existing feature (staging from the panel).
from github.
Related Issues (20)
- .
- knknkn
- Default branch name of new git repositories is `master`, despite init.defaultbranch settings HOT 1
- Cannot stage changes, make commits, make branches
- Can't open tlauncher
- Cannot see autocomplete in Search Input
- [email protected] HOT 1
- Credit HOT 1
- Credit HOT 1
- Can't push to organization repo HOT 3
- Port these views to VSCode? HOT 2
- Startup & Hydrogen issues HOT 3
- Can't push from Atom to Github
- Profiles
- ## Environment
- Github Desktop deleted all files in folder (pls help i spent so much time on these projects)
- Jusc HOT 1
- unstaged changes do not show up in git panel HOT 3
- I'm HOT 1
- Not
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github.