brackets-userland / brackets-git

brackets-git — git extension for adobe/brackets
Other
656 stars 192 forks source link

Full screen interface #679

Open FezVrasta opened 10 years ago

FezVrasta commented 10 years ago

Just an idea, I don't know if you guys will like it.

I think would be awesome have a full screen interface for Brackets Git, something to completely replace lot of Git interfaces like SourceTree or GitTower.

It should be a full-screen panel which hides the file tree of brackets and shows only the Brackets Git interface with a list of repositories (probably the ones opened in the file tree of Brackets), list of edited files, history etc, just like the current interface but redesigned to take the entire brackets area.

I think a good implementation would be the one you can see in GitTower:

img

Little list of features:

I know it looks like a repetition of what Brackets Git already does but it would be not related to the editor features and should be a way to manage the repositories in a more meaningful view.

I could start a PR if the idea is welcome.

zaggino commented 10 years ago

Yeah, quite like it. Assuming it'd be turned on by some keyboard shortcut or by a button on the current Git panel? But you'd probably need to test first how this full-screen mode would play with the rest of Brackets.

FezVrasta commented 10 years ago

yes exactly

FezVrasta commented 10 years ago

We should use (again) EditorManager._showCustomViewer private API... Should we create something to replace it or is ok to continue use it?

Maybe we could just spawn a absolute positioned div on top of everything else... In this way we don't have to think about Brackets elements because everything would be hidden behind our div.

PS: I think the last one is the way to go, the full-window mode of Brackets Git should be something exclusive which allow users to work only with Brackets Git features and let them "forget" they are inside Brackets I think. @zaggino ?

zaggino commented 10 years ago

Right, do not use EditorManager._showCustomViewer as it triggers stuff that we doesn't want to trigger and it doesn't allow you to cover entire screen. Something of our own and re-usable would be a way to go.