Skip to content

Conversation

@JamesNK
Copy link
Member

@JamesNK JamesNK commented Jul 12, 2025

Fixes #10345

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

The PR updates the InteractionsInputDialog component to respect the dialog’s ShowDismiss parameter rather than always displaying the dismiss button.

  • Bind the ShowDismiss attribute to Dialog.Instance.Parameters.ShowDismiss instead of a hardcoded true.
Comments suppressed due to low confidence (1)

src/Aspire.Dashboard/Components/Dialogs/InteractionsInputDialog.razor:16

  • Consider adding a UI or component test to verify that the ShowDismiss parameter correctly controls the visibility of the dismiss button, ensuring this behavior is covered by tests.
<FluentDialogHeader ShowDismiss="@Dialog.Instance.Parameters.ShowDismiss">

@davidfowl davidfowl added this to the 9.4 milestone Jul 12, 2025
@davidfowl
Copy link
Member

Baclport this one

@eerhardt
Copy link
Member

Is the Cancel button still going to show?

@JamesNK
Copy link
Member Author

JamesNK commented Jul 12, 2025

Yes. It is controlled by ShowSecondaryButton.

@JamesNK JamesNK merged commit ebf006f into main Jul 12, 2025
277 checks passed
@JamesNK JamesNK deleted the jamesnk/inputsdialog-dismiss branch July 12, 2025 03:20
@JamesNK
Copy link
Member Author

JamesNK commented Jul 12, 2025

/backport to release/9.4

@github-actions
Copy link
Contributor

Started backporting to release/9.4: https://github.com/dotnet/aspire/actions/runs/16233788846

@github-actions github-actions bot locked and limited conversation to collaborators Aug 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inputs dialog shows dismiss button even when ShowDismiss = false

4 participants