-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding searching capability to the repo tool (#2245) * Re-adding lost changes * WIP * Minor tweaks * Cleaning up code. * Fixing code issues with new() * Reverting SDK version. * Reverting idl change because it is another PR. * Reverting package.appxmanifest change * Adding search term placeholder text * Removing a method. Using GetValuesFor * Removing a space * Moving QI to where it is used --------- Co-authored-by: Darren Hoehna <[email protected]> * Comment changes. (#2310) * Re-adding lost changes * WIP * Minor tweaks * Cleaning up code. * Fixing code issues with new() * Reverting SDK version. * Reverting idl change because it is another PR. * Reverting package.appxmanifest change * Adding search term placeholder text * Removing a method. Using GetValuesFor * Removing a space * Moving QI to where it is used * Comment changes --------- Co-authored-by: Darren Hoehna <[email protected]> * FIxing some errors. Making the UI closer to the mocks> (#2326) Co-authored-by: Darren Hoehna <[email protected]> * addRepo improvements (#2298) * USing tags * Can clone repos again. * Changing visibility to bool. * More changes * Account combobox is reset. * Adding some comments. * Combobox placeholder * Final touches * Fixing a comment. * Fixing SDk version * Ignoring a test * Update tools/SetupFlow/DevHome.SetupFlow/ViewModels/AddRepoViewModel.cs Co-authored-by: Kristen Schau <[email protected]> * Update tools/SetupFlow/DevHome.SetupFlow/ViewModels/AddRepoViewModel.cs Co-authored-by: Kristen Schau <[email protected]> * Update tools/SetupFlow/DevHome.SetupFlow/Views/AddRepoDialog.xaml Co-authored-by: Kristen Schau <[email protected]> * Changes * Removing prefixes for uid * Moving more things into the ViewModel. * Getting loginUI and provider name not null. * Ignoring anotehr test because making a new frame throws an exception. * Adding -async --------- Co-authored-by: Darren Hoehna <[email protected]> Co-authored-by: Kristen Schau <[email protected]> * Enabling Search inputs with IRepositoryProvider (#2244) * Adding IRepositoryProvider2 * Adding a space between the >'s * Modifying based on feedback. * Moving around arguments * Changes based on semi-API review * Adding implementation * HOlding onto the options * Copying a com array * Changing a name * Back to a working build. * WIP * eeeyyy, it works. Now need to add some smaller changes * Cleaning up code * Works and looks good * Adding comments * Fixing a typo * Adding locks. Getting search to work with one provider * Changing back to IIterable * Changing variable names * Adding a comment. * Adding another QI. Removing duplicate code. * Addressing comments. * Updating version * Removing plural --------- Co-authored-by: Darren Hoehna <[email protected]> * Updating version * Changing version --------- Co-authored-by: Darren Hoehna <[email protected]> Co-authored-by: Kristen Schau <[email protected]>
- Loading branch information
1 parent
657e9b9
commit 4fe92fa
Showing
12 changed files
with
713 additions
and
144 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,6 @@ internal enum PageKind | |
AddViaUrl, | ||
AddViaAccount, | ||
Repositories, | ||
SearchFields, | ||
} | ||
} |
This file contains 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
This file contains 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
22 changes: 22 additions & 0 deletions
22
tools/SetupFlow/DevHome.SetupFlow/Models/RepositorySearchInformation.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Microsoft.Windows.DevHome.SDK; | ||
|
||
namespace DevHome.SetupFlow.Models; | ||
|
||
public class RepositorySearchInformation | ||
{ | ||
public IEnumerable<IRepository> Repositories { get; set; } = Enumerable.Empty<IRepository>(); | ||
|
||
public string SelectionOptionsPlaceHolderText { get; set; } = string.Empty; | ||
|
||
public List<string> SelectionOptions { get; set; } = new List<string>(); | ||
|
||
public string SelectionOptionsLabel { get; set; } = string.Empty; | ||
} |
Oops, something went wrong.