Sometimes appearing and disappearing of pull request panel is not comfortable:
Screencast:

The problem is not in the pull-request panel, it happens because when the right part has no panels to show and when selection is set to Git project pull request panel is added to part and it appears. Also when selection is set to project without Git, pull request panel disappears from part and the part hides. The problem is in the part's behavior.
I think show PullRequest panel just because project under Git control is not good idea. User should to decide code is ready for PR, then make PR.
Honestly I don't feel this is annoying in real life (real life means when using Che every day with real projects):
To me, this issue is not priority at all and would prefer to see git panel improvements rather than this one.
Thanks
Why don't we reinvent a wheel and do like IntelliJ is doing?
To have some state for opened panel(1) and hidden (2)

I totally agree with @skabashnyuk . "show/hide panel button" should exist. I know main argument to remove them it's a saving more space. But I don't think we should throw away such important and usefull conception. I usually always used "show/hide" button panel feature. And It was very usefull and easy to use. It was nice user experience for me. With current mechanism showing panel I spend more time to find and show or hide some panels. I need look on a lot icons and think what should I click to get expected result. And I need click more than one button. I think classic way to show/hide panels was better. Desktop Eclipse and IntelliJ use this way. But any way it's only mine own opinion and user experience.
The PR panel is a differentiator, we need to highlight it for people. However once it鈥檚 closed it should stay closed. Having a preference to set whether it鈥檚 open on project load (default) or closed on project load is fine.
@bmicklea what would be an action to bring it back?
It would be closed but still there on the right - you鈥檇 just click it to open. Or am I misunderstanding the question?
It would be closed but still there on the right
That is a good question. I don't know.
Yes - were not removIng it, just keeping it closed once it鈥檚 closed.
--
Brad Micklea // Developer Tools // 416.707.0792
but there is nothing to do ... it already keeping closed once it's closed
Could we just close this issue because it is not an issue in my opinion
OK
cannot reproduce with 2 git projects (close panel, switch project, panel is still closed)
can reproduce with 1 git project and 1 non git project ( close panel, switch project, switch project, panel reopens)
Then in real life I personally never have project not managed by git ... even for my svn project I use git-svn. I would prefer to see git panel improvements rather than this one. But this is my opinion.
It's really distracting. Example
I have 1 project managed by git. Each time I start workspace I see this panel and close it.
What is the point of this behavior? I don't need it after workspace start. But when I will need it I have to restart my workspace?
I think the goal of this issue is to find the proper way of hiding closing this panel.
For example like this https://github.com/eclipse/che/issues/7304#issuecomment-343573433
@sunix @slemeur or you think this is a right behavior?
@skabashnyuk You need do three steps:




The pull request panel is not supposed to be displayed all the time. It's a one time action that user should be able to call from:
Once the pull request proceed, user will likely hide the panel and get the editor maximize.
Linking to https://github.com/eclipse/che/issues/4993
@skabashnyuk in real life I don't restart a workspace all the time. But maybe we are missing layout preferences ... that's all. For instance each time I start a workspace I minimise the Dashboard pane. When I have a panel layout settings and restart the workspace or open another workspace, I would like Che to use the same previous layout.
To reopen the PR panel, why not having a button like the dashboard pane ?
Linking to #7975
Most helpful comment
Why don't we reinvent a wheel and do like IntelliJ is doing?

To have some state for opened panel(1) and hidden (2)