-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
scm/git UI fixes #5254
scm/git UI fixes #5254
Conversation
Let's keep this PR to recover all lost changes in one commit that we don't create too much noise with fixing what already used to work. I'm going to go through git extension history starting from Jan now and list commits which should be recovered here. Hope is not much. |
@akosyakov OK, merged previous PRs |
@vinokurig ok, please close other PRs then, I am half through changes, will check/test the rest after the lunch. I open issues for everything which i find and will retest them against this PR after analyzing commits. |
@vinokurig I went through all changes from Jan and updated a comment with referenced issues. I'm starting testing and will mark verified as done. |
@vinokurig please try to toggle SCM several times: icon and widget caption are not rendered after toggling couple times |
@vinokurig https://github.com/theia-ide/theia/pull/5254/files#diff-a2eb5b2bcd08435891fb7969b75c9fccL119 looks bogus, it means if you move git widget to any other area except left updating title won't work anymore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've verified existing issues and commented at the code which looks suspicious. Let me know if you need my help to resolve remaining. I hope we can fix them and merge tomorrow.
Fixed |
Fixed |
@vinokurig everything seems to work now, except #3800 removed repositories are not detected, i would expect that there should be an event for |
@vinokurig are you looking into #3800? i can do if you don't have time, we need to resolve and merge it today |
I am working on it right now |
@akosyakov |
I don't mean to remove
Ok, let's open an issue to refactor it. |
Have you managed to track down #5254 (comment)? Why status bar elements are not removed. |
working on it now |
I wonder whether we should reset to |
@akosyakov Fixed icon cleanup |
@akosyakov any updates? |
now it cannot detect when a new repository is cloned after removing Strangely it is detected in the status bar, but not in SCM view. Order of items also is bogus. Also if you have a folder opened with 2 repos and delete one. The status bar item to pick a repo should disappear and appear when this repo is cloned again. It was working nicely before. |
@akosyakov Is it ok to fix it tomorrow? |
@vinokurig yes @marcdumais-work said that we can wait till SCM is cleaned up |
@vinokurig after testing more previous state: it is fine that new repositories cannot be detected without explicit refresh, but then status bar should not snow bogus elements like in #5254 (comment) With explicit refresh with multiple git repositories, all new repositories should be detected. |
@akosyakov Fixed icons order |
@vinokurig ok, testing, are you looking into detection addition/deletion repositories on refresh? |
yes |
@akosyakov detection addition/deletion repositories is fixed
fixed |
couldn't reproduce, maybe it is fixed with the latest commits |
@vinokurig thank you for all effort! it works good now. Please squash commits, we are waiting for travis to be green then. |
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please merge, thank you again
@akosyakov So if I understand correctly, this is not blocking the |
@marcdumais-work yes, it should be good for 0.7.0 |
@vinokurig Could you have a look at #5300? i've missed during testing :( |
@akosyakov yes, working on it |
fixed |
Discard All
action has layout issues when the Git widget is too narrow #4851