-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve UI #1
Comments
Hey sorry I haven't responded, I've been swamped with homework. I like the idea of doing a window split, I'm not immediately familiar with how VSCode handles creating windows, but I've seen extensions create and open new tabs in a split, I've also seen what appear to be custom windows displayed in the current active tab. I'm thinking like whatever https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory is doing. It's clear, interactive, easy to read, and allows you (though it takes a few clips) to view older states of the file. Based on knowing that vscode is javascript and absolutely nothing else, I'm going to assume that we can draw HTML in a panel, which will allow us to enable mouse support and such. I'm going to sit down and pore over what you have written and vscode's dev documentation this weekend, sorry again for my ignorance! |
Hey, school is always more important! I'm in the same situation for two more weeks. This is how gitHistory does their split: https://github.com/DonJayamanne/gitHistoryVSCode/blob/9039041523aa371a55360e316869b6af6a765e9a/src/commands/fileHistory.ts#L162-L172. The VSCode API is not unrestricted so it's possible that splitting the window has limitations. |
Ah, it's fairly easy to create a custom preview! BTW how should we handle keeping the fork up to date? I like doing rebase to keep the changes clean, but that won't work well when we both make commits. Or maybe it's fine if I just alert you on gitter? |
I looked into it a bit more and it's not as easy as I thought. Then the problem of providing an API that extensions can use. If we don't do this step then we need to have the renderer live in
@chuckdries do you want to work on the API or on making an internal extension (like |
@chuckdries let's iterate on ideas for the UI. We could do that here or on gitter.
I'd like shortcuts to move in the tree even if the tree window is not focused.
I'd also like the window to be less in the way, possibly by doing a window-split.
Mouse interaction would be nice as well.
The text was updated successfully, but these errors were encountered: