Show pull request activity in intellij

Issue #117 new
Former user created an issue

Currently show related pull request only displays pull request details.

Would be good to show activity like inline comments etc.

Any plans for this feature?

Comments (4)

  1. Daniil Penkin staff

    Not particularly for the related pull requests, but rather for currently open pull requests — yes, I had an idea of loading the PR state so that it can be reviewed right in the IDE with all the perks it provides (navigation around the code, all sorts of inspections and so on), including showing and allowing to create comments. However, this is a fairly complex task. I even built MVP for this a couple of times, but both had some dodgy hacks around InteliiJ APIs, so they never appeared in a public release.

    As for showing more PR details in the related PR tool window or something like that (as in, rebuilding some kind of PR view inside of IDE, but not in the editor) – that’s probably not really worth the effort I think.

    I would love to hear any ideas though, I might be focused on my own workflows and overlooking other scenarios 🙂 Please let me know what you think.

    Cheers,
    Daniil

  2. Marco

    Hi, to see all open PR would be even better but please keep an option to see closed ones too. I do mostly devops so often when I want to take a look at what’s going on the PR is already merged. What I currently do is to keep the tab open in the browser but sometimes have several open tabs and the browser is not practical. I was playing around with “highlight” (merge grey out) option in the git history and then found your search for related PR feature.

    I don’t know much about IntelliJ plugins but I wouldn’t mind to have your MVP included in it even if not complete 🙂

    Another idea would be to somehow have “seen” and “unseen” PR to keep a track of it but this is much less important than to see the PR activity.

    Thanks for your work.

  3. Daniil Penkin staff

    Hi Marco,

    Thanks for sharing your thoughts!

    I mistakenly put too much stress on the open PRs in my first reply. What I was trying to differentiate is rather the way PR should presented in the IDE, in my opinion: I am thinking of checking out PR state locally and visualise comments right in the editor and make other necessary changes (like make all files read-only since changing them won’t make any sense given that PR in Bitbucket is actually showing post-future-merge state, which for open PRs doesn’t yet exist in the repository as such). This is opposed to building some kind of a dialog window which shows one-to-one PR view just like Bitbucket does that in the browser – this seems useless to me as it doesn’t add any value other than avoiding switching to the browser.

    My planned approach would work well for both closed and open PRs, so if I ever build that properly, there will be no limitation I imagine, other than maybe that open PRs will be suggested first cause they’ll likely due for review.

    The MVPs are actually in the branches of this repo, but they are horribly out-of-date (4.5 and 2.5 years old, respectively) and unlikely are easy to fix, and also they both worked only for repos hosted on Bitbucket Server (because it was easier to build this functionality for it). Hopefully one day I’ll come back and keep on pushing this feature forward 🙂

    Cheers,
    Daniil

  4. Log in to comment