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

addRepo improvements #2298

Merged
merged 22 commits into from
Feb 28, 2024
Merged

addRepo improvements #2298

merged 22 commits into from
Feb 28, 2024

Conversation

dhoehna
Copy link
Contributor

@dhoehna dhoehna commented Feb 22, 2024

Summary of the pull request

These improvements are in #2286. That PR is frozen until design looks at it. A minimum of 2 weeks. Instead of waiting I moved the improvement code changes into this PR.

References and relevant issues

Detailed description of the pull request / Additional comments

I moved more code out of the View's code-behind and into AddRepoViewModel.

The code in AddRepoViewModel is a bit messier and it still has a reference back to AddRepoDialog However, this is a necessary step to get as much code out of AddRepoDialog.xaml.cs as possible.

Validation steps performed

Cloned repos and added a Dev Drive.

Signed into github after clicking an account.

PR checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated

@dhoehna dhoehna mentioned this pull request Feb 22, 2024
3 tasks
@dhoehna dhoehna merged commit 45fa816 into main Feb 28, 2024
4 checks passed
dhoehna added a commit that referenced this pull request Mar 4, 2024
* 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]>
@krschau krschau added this to the Dev Home v0.12 milestone Mar 11, 2024
dhoehna added a commit that referenced this pull request Mar 21, 2024
* 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]>
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.

3 participants