Skip to content

Extend ExecuteCommandResult to support cancellation of interactions #10368

@davidfowl

Description

@davidfowl
  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

Currently, when a command uses the interaction service and the dialog is dismissed, the only available outcomes are error and success. There is no built-in way to cancel the command so that it does not pop up a message.

Describe the solution you'd like

  • Extend ExecuteCommandResult to support a cancellation state, in addition to error and success.
  • Allow commands to indicate that they were cancelled (e.g., when a user dismisses an interaction dialog), and prevent the display of a message when a command is cancelled.

This will improve the user experience by allowing commands to be dismissed without unnecessary feedback or error states.

Additional context

N/A

Metadata

Metadata

Assignees

Labels

area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationarea-dashboard

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions