Skip to content

Don't open the darc popup if target-directory or source-directory are provided#5357

Merged
dkurepa merged 2 commits into
dotnet:mainfrom
dkurepa:dkurepa/DarcUxFix
Oct 10, 2025
Merged

Don't open the darc popup if target-directory or source-directory are provided#5357
dkurepa merged 2 commits into
dotnet:mainfrom
dkurepa:dkurepa/DarcUxFix

Conversation

@dkurepa

@dkurepa dkurepa commented Oct 10, 2025

Copy link
Copy Markdown
Member

#5220
a small UX fix that makes updating subscriptions a better experience

Copilot AI review requested due to automatic review settings October 10, 2025 08:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

Fixes a UX issue where the DARC tool would unnecessarily open an interactive popup even when target-directory or source-directory options were provided via command line. This improves the user experience when updating subscriptions programmatically.

  • Adds checks for TargetDirectory and SourceDirectory options to prevent popup when these are specified
  • Enhances the command-line detection logic to be more comprehensive

Comment thread src/Microsoft.DotNet.Darc/Darc/Operations/UpdateSubscriptionOperation.cs Outdated
@dkurepa dkurepa enabled auto-merge (squash) October 10, 2025 08:28
@dkurepa dkurepa merged commit a30f727 into dotnet:main Oct 10, 2025
7 of 9 checks passed
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