Skip to content
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

Add the ability to search packages automatically on start #46

Merged
merged 1 commit into from Oct 26, 2020
Merged

Add the ability to search packages automatically on start #46

merged 1 commit into from Oct 26, 2020

Conversation

ghost
Copy link

@ghost ghost commented Oct 23, 2020

fixes #32

@RussKie RussKie requested a review from maraf October 23, 2020 12:31
Copy link
Member

@maraf maraf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's only one little thing. Please take a look.

src/PackageManager.UI/Views/MainWindow.xaml.cs Outdated Show resolved Hide resolved
Copy link
Member

@maraf maraf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job 👍
Thank you.

@maraf maraf self-requested a review October 26, 2020 08:10
Copy link
Member

@maraf maraf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ivangrek I'm sorry for making it a bit complited. I walked through the code once more and there is a feature "auto update". When the UI app gets a command line argument --selfupdate, it calls App.RunSelfUpdate from App.xaml.cs#L107.

We should not execute auto search when self-updating. So we should move the execution of Search command to App.xaml.cs as an else branch of if statement on line 107 (the second link above).

I aplogy that I didn't find this in the previous review.

Copy link
Member

@maraf maraf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

@maraf maraf merged commit 62e017a into gitextensions:master Oct 26, 2020
@maraf
Copy link
Member

maraf commented Oct 26, 2020

Thank you @ivangrek

@mast-eu mast-eu added this to the 1.2.0 milestone Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

automatic search on startup
3 participants