Repository navigation
Conversation
Collaborator
|
Hi Sebastian, thanks for cutting this out of #577. Unfortunately, I'm very busy these days and have hardly any time to do any work on gitlab.nvim. I might be able to get to it in December, but I can't promise anything. Just a quick check - I haven't really tried to find the answer in your PR - will the commit browser update after running |
The browser is opened on fixed SHAs, so after a rebase it kept showing the old commits, and glh only refocused that stale tab. After the pull, reload the MR info and replace the browser with one on the new range. Focus stays on the current tab.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #450. First of three PRs cut out of #577.
glhopens the MR's commits in aDiffviewFileHistoryview in its own tab. Diffview's own panel keys step through the commits, which is what #450 asked for; this PR adds the view and the keymap. Pressingglhagain focuses the open browser instead of stacking a second tab. The reviewer's buffer-local autocommands now skip the browser's tab, since Diffview shares a revision's buffer between both views.The remaining two PRs (the per-tab discussion window and the jump-to-tree refactor) follow, and commenting on a commit stays in #577.