This repository was archived by the owner on Jun 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Detecting configuration files #2459
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
60ed7f9
WIP
dhoehna 501649f
Merge branch 'main' into user/dhoehna/DetectingConfigurationFiles
dhoehna 4f0f3d8
Builds and runs. no special UI though. :(
dhoehna 19c1ffd
Works. Looks good. View File works.
dhoehna 3b75e0d
Fixing some UI
dhoehna cf187af
Merging with Main
dhoehna c08cc92
Stretching the contents. Adding owning account name
dhoehna bec0cb9
Consolidating localized strings
dhoehna 63c8311
Merge branch 'main' into user/dhoehna/DetectingConfigurationFiles
dhoehna 9fd34d3
Adding back my changes
dhoehna 8287e89
Finally. Expands the whole list view
dhoehna 378338c
Now with proper padding
dhoehna 301e6ed
Adding new borders to compensate for removing the top border from Nex…
dhoehna c91c13a
Making the code a bit better
dhoehna 82c2f29
Merge branch 'main' into user/dhoehna/DetectingConfigurationFiles
dhoehna 36d314c
Removing un-needed using statements
dhoehna 7ae4a14
Removing un-used code. Adding some syntactical sugar.
dhoehna af7b2ae
Adding another catch. Removing IHost
dhoehna 06c3a6f
Fixing merge
dhoehna 1d9b87b
Merge branch 'main' into user/dhoehna/DetectingConfigurationFiles
dhoehna 1998f8d
Fixing log and spacing issues
dhoehna 7224ad5
Merge branch 'main' into user/dhoehna/DetectingConfigurationFiles
dhoehna a2f2b2e
Removing extra white-space
dhoehna a8006a1
Pulling main
dhoehna ff73717
Addressing comments. Consolidating exception code
dhoehna File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
common/TelemetryEvents/SetupFlow/SummaryPage/CloneRepoNextStepError.cs
This file contains hidden or 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,33 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
using System; | ||
using System.Diagnostics.Tracing; | ||
using DevHome.Telemetry; | ||
using Microsoft.Diagnostics.Telemetry.Internal; | ||
|
||
namespace DevHome.Common.TelemetryEvents.SetupFlow.SummaryPage; | ||
|
||
[EventData] | ||
public class CloneRepoNextStepError : EventBase | ||
{ | ||
public string Operation { get; } | ||
|
||
public string ErrorMessage { get; } | ||
|
||
public string RepoName { get; } | ||
|
||
public override PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServicePerformance; | ||
|
||
public CloneRepoNextStepError(string operation, string errorMessage, string repoName) | ||
{ | ||
Operation = operation; | ||
ErrorMessage = errorMessage; | ||
RepoName = repoName; | ||
} | ||
|
||
public override void ReplaceSensitiveStrings(Func<string, string> replaceSensitiveStrings) | ||
{ | ||
// no op | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
common/TelemetryEvents/SetupFlow/SummaryPage/CloneRepoNextStepEvent.cs
This file contains hidden or 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,30 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
using System; | ||
using System.Diagnostics.Tracing; | ||
using DevHome.Telemetry; | ||
using Microsoft.Diagnostics.Telemetry.Internal; | ||
|
||
namespace DevHome.Common.TelemetryEvents.SetupFlow.SummaryPage; | ||
|
||
[EventData] | ||
public class CloneRepoNextStepEvent : EventBase | ||
{ | ||
public string Operation { get; } | ||
|
||
public string RepoName { get; } | ||
|
||
public override PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServicePerformance; | ||
|
||
public CloneRepoNextStepEvent(string operation, string repoName) | ||
{ | ||
Operation = operation; | ||
RepoName = repoName; | ||
} | ||
|
||
public override void ReplaceSensitiveStrings(Func<string, string> replaceSensitiveStrings) | ||
{ | ||
// no op | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
common/TelemetryEvents/SetupFlow/SummaryPage/CloneRepoNextStepsEvent.cs
This file contains hidden or 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,32 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Diagnostics.Tracing; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using DevHome.Telemetry; | ||
using Microsoft.Diagnostics.Telemetry; | ||
using Microsoft.Diagnostics.Telemetry.Internal; | ||
|
||
namespace DevHome.Common.TelemetryEvents.SetupFlow.SummaryPage; | ||
|
||
[EventData] | ||
public class CloneRepoNextStepsEvent : EventBase | ||
{ | ||
public override PartA_PrivTags PartA_PrivTags => PrivTags.ProductAndServicePerformance; | ||
|
||
public int NumberOfConfigurationFilesFound { get; } | ||
|
||
public CloneRepoNextStepsEvent(int numberOfConfigurationFilesFound) | ||
{ | ||
NumberOfConfigurationFilesFound = numberOfConfigurationFilesFound; | ||
} | ||
|
||
public override void ReplaceSensitiveStrings(Func<string, string> replaceSensitiveStrings) | ||
{ | ||
// No op. | ||
} | ||
} |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.