Skip to content

Fix hiding dismiss on inputs dialog - #10349

Merged
James Newton-King (JamesNK) merged 1 commit into
mainfrom
jamesnk/inputsdialog-dismiss
Jul 12, 2025
Merged

James Newton-King (JamesNK) merged 1 commit into
mainfrom
jamesnk/inputsdialog-dismiss

Conversation

@JamesNK

Copy link
Copy Markdown
Member

Fixes #10345

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

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 David Fowler (davidfowl) added this to the 9.4 milestone Jul 12, 2025
@davidfowl

Copy link
Copy Markdown
Collaborator

Baclport this one

@eerhardt

Copy link
Copy Markdown
Member

Is the Cancel button still going to show?

@JamesNK

Copy link
Copy Markdown
Member Author

Yes. It is controlled by ShowSecondaryButton.

@JamesNK
James Newton-King (JamesNK) deleted the jamesnk/inputsdialog-dismiss branch July 12, 2025 03:20
@JamesNK

Copy link
Copy Markdown
Member Author

/backport to release/9.4

@github-actions

Copy link
Copy Markdown
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