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

Refining Repository Management's UI. #3557

Merged

Conversation

dhoehna
Copy link
Contributor

@dhoehna dhoehna commented Aug 6, 2024

Summary of the pull request

My original plan was to use a feature branch and push all my changes to that. But I already messed it up (on my computer. I spent a good while un-doing my mistake).

Going forward Repository Management is in experimental, visible only on dev builds, and incremental changes will go to main.

References and relevant issues

Detailed description of the pull request / Additional comments

In this PR I did modify a few files

  1. App.xaml.cs - to use the Repository Management extension.
  2. RepositoryManagementMainPageView - fixing margins to better match FIGMA.
  3. NavConfig.jsonc - Add Repository Management to experimental. The tool is off by default.

Additionally, I reverted the commit that changed LandingPage.xaml. The version in this PR matches the version in Main.

Validation steps performed

PR checklist

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

Copy link
Contributor

@vineeththomasalex vineeththomasalex left a comment

Choose a reason for hiding this comment

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

Might be better to retarget to a Feature Branch until this is more fleshed-out

@dhoehna
Copy link
Contributor Author

dhoehna commented Aug 7, 2024

After significant push back This PR will be closed and the branch user/dhoehna/RepoManagement will be the feature branch.

@dhoehna dhoehna closed this Aug 7, 2024
@dhoehna dhoehna reopened this Aug 7, 2024
@dhoehna dhoehna changed the base branch from main to user/dhoehna/RepositoryManagementDatabase August 7, 2024 18:46
@dhoehna dhoehna changed the base branch from user/dhoehna/RepositoryManagementDatabase to user/dhoehna/RepositoryManagementFeature August 7, 2024 18:47
@dhoehna dhoehna changed the title Moving Repository Management to experimental. Refining Repository Management's UI. Aug 7, 2024
dhoehna and others added 3 commits August 7, 2024 12:23
…e.RepositoryManagement.csproj

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>
…ions/ServiceExtensions.cs

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
</Project>
Copy link
Member

Choose a reason for hiding this comment

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

Does this icon mean the file is missing a newline at the end?

Copy link
Collaborator

@krschau krschau left a comment

Choose a reason for hiding this comment

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

Approved pending one question

tools/SetupFlow/DevHome.SetupFlow/DevHome.SetupFlow.csproj Outdated Show resolved Hide resolved
@dhoehna dhoehna merged commit fc754c1 into user/dhoehna/RepositoryManagementFeature Aug 13, 2024
1 of 4 checks passed
dhoehna added a commit that referenced this pull request Sep 3, 2024
#3709)

* Refining Repository Management's UI. (#3557)

* Adding the Repository tool

* WIP

* View is set up.  Test ata as well.

* Aligning columns.  Adding column spacing.

* Reverting this change

* Update tools/RepositoryManagement/DevHome.RepositoryManagement/Strings/en-us/Resources.resw

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Adressing comments

* Revert "Reverting this change"

This reverts commit 711dd78.

* Moving to experimental

* Disabling by default

* Removing from experimental.  Addressing comments.

* Reverting to main

* Update tools/RepositoryManagement/DevHome.RepositoryManagement/DevHome.RepositoryManagement.csproj

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Update tools/RepositoryManagement/DevHome.RepositoryManagement/Extensions/ServiceExtensions.cs

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Removing duplicate xaml code

* Adding to the mermaid diagram

* Got lost in the shuffle

* Removing a refrence

---------

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Adding EF core, database project, and some usage. (#3674)

* WIP

* EF works.  Can save data.

* Can read and write. :)

* Repos are added when cloned.

* Putting save/load into a different class

* Adding default values

* Cleaning up names and using statements

* More comments

* Removing refrence to the public nuget

* Restoring the nuget config

* Adding a test.  Better defining dates

* Adding some tests

* More comments.

* Better path comparison.

* Removing unused equals code

* Adding more comments.  Making new migrations

* Moving this to experimental

* Some comments and fixes

* Changing to Windows.SDK and re-adding projects

---------

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>
dhoehna added a commit that referenced this pull request Sep 19, 2024
* Refining Repository Management's UI. (#3557)

* Adding the Repository tool

* WIP

* View is set up.  Test ata as well.

* Aligning columns.  Adding column spacing.

* Reverting this change

* Update tools/RepositoryManagement/DevHome.RepositoryManagement/Strings/en-us/Resources.resw

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Adressing comments

* Revert "Reverting this change"

This reverts commit 711dd78.

* Moving to experimental

* Disabling by default

* Removing from experimental.  Addressing comments.

* Reverting to main

* Update tools/RepositoryManagement/DevHome.RepositoryManagement/DevHome.RepositoryManagement.csproj

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Update tools/RepositoryManagement/DevHome.RepositoryManagement/Extensions/ServiceExtensions.cs

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Removing duplicate xaml code

* Adding to the mermaid diagram

* Got lost in the shuffle

* Removing a refrence

---------

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Adding EF core, database project, and some usage. (#3674)

* WIP

* EF works.  Can save data.

* Can read and write. :)

* Repos are added when cloned.

* Putting save/load into a different class

* Adding default values

* Cleaning up names and using statements

* More comments

* Removing refrence to the public nuget

* Restoring the nuget config

* Adding a test.  Better defining dates

* Adding some tests

* More comments.

* Better path comparison.

* Removing unused equals code

* Adding more comments.  Making new migrations

* Moving this to experimental

* WIP

* Some telemetry and logging

* THings build again.

* Returning this back

* I believe I am understanding this.

* Can update

* Almost done with open in FE

* Try/Catching everything.  Open in FE should be done.

* Open in CMD works. :)

* Re-adding changes lost due to merge

* Getting saving straightened out.

* WIP

* Move Repository done.

* Removing 1:1.  Finishing RemoveFromList

* Adding _items

* Adding configuration file information to the repository table

* Opening the configuration file location in FE

* Deleting a repository.

* Add to winget configuration file.

* Cleaning up the code

* Icon for a configuration file.  UI updates when hiding a repo

* All the buttons do something.

* Removing 'local'

* Making sure the test works

* New test works

* Another TODO

* Fixing more things before PR.

* Removing another un-used using.

* MOre un used usings.

* Another Todo

* Anotehr TODO

* Changing a comment

* Update database/DevHome.Database/DatabaseModels/RepositoryManagement/Repository.cs

Co-authored-by: Branden Bonaby <105318831+bbonaby@users.noreply.github.com>

* Comments

* Don't just merge code and expect things to work.

* What is in a name?

* Adressing comments

* Updated the database migration.

---------

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>
Co-authored-by: Branden Bonaby <105318831+bbonaby@users.noreply.github.com>
dhoehna added a commit that referenced this pull request Oct 2, 2024
* Refining Repository Management's UI. (#3557)

* Adding the Repository tool

* WIP

* View is set up.  Test ata as well.

* Aligning columns.  Adding column spacing.

* Reverting this change

* Update tools/RepositoryManagement/DevHome.RepositoryManagement/Strings/en-us/Resources.resw

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Adressing comments

* Revert "Reverting this change"

This reverts commit 711dd78.

* Moving to experimental

* Disabling by default

* Removing from experimental.  Addressing comments.

* Reverting to main

* Update tools/RepositoryManagement/DevHome.RepositoryManagement/DevHome.RepositoryManagement.csproj

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Update tools/RepositoryManagement/DevHome.RepositoryManagement/Extensions/ServiceExtensions.cs

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Removing duplicate xaml code

* Adding to the mermaid diagram

* Got lost in the shuffle

* Removing a refrence

---------

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Adding EF core, database project, and some usage. (#3674)

* WIP

* EF works.  Can save data.

* Can read and write. :)

* Repos are added when cloned.

* Putting save/load into a different class

* Adding default values

* Cleaning up names and using statements

* More comments

* Removing refrence to the public nuget

* Restoring the nuget config

* Adding a test.  Better defining dates

* Adding some tests

* More comments.

* Better path comparison.

* Removing unused equals code

* Adding more comments.  Making new migrations

* Moving this to experimental

* WIP

* Some telemetry and logging

* THings build again.

* Returning this back

* I believe I am understanding this.

* Can update

* Almost done with open in FE

* Try/Catching everything.  Open in FE should be done.

* Open in CMD works. :)

* Re-adding changes lost due to merge

* Getting saving straightened out.

* WIP

* Move Repository done.

* Removing 1:1.  Finishing RemoveFromList

* Adding _items

* Adding configuration file information to the repository table

* Opening the configuration file location in FE

* Deleting a repository.

* Add to winget configuration file.

* Cleaning up the code

* Icon for a configuration file.  UI updates when hiding a repo

* All the buttons do something.

* Removing 'local'

* Making sure the test works

* New test works

* Another TODO

* Fixing more things before PR.

* Removing another un-used using.

* MOre un used usings.

* Another Todo

* Anotehr TODO

* Localized strings

* WIP

* Adding enhanced information if it can be found.

* Commit, Filtering, and Sorting.

* Fixing up the merge

* Removing Move/Delete because of a bug in FileExplorerGitIntegration.

* Adding a TODO

* A small commit

* Removing some unused usings

* Update tools/RepositoryManagement/DevHome.RepositoryManagement/Strings/en-us/Resources.resw

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Update tools/RepositoryManagement/DevHome.RepositoryManagement/Strings/en-us/Resources.resw

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Update tools/RepositoryManagement/DevHome.RepositoryManagement/Strings/en-us/Resources.resw

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>

* Adressing comments

* Adressing comments

* Addressing code quality comments

* Update database/DevHome.Database/DatabaseModels/RepositoryManagement/Repository.cs

Co-authored-by: Ryan Shepherd <ryansh@microsoft.com>

* Fixing some issues.

* Added a TODO

* Adding drop down to select a source control provider

* Hide source control selection

* FIxing indentation

---------

Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>
Co-authored-by: Ryan Shepherd <ryansh@microsoft.com>
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.

4 participants