diff --git a/src/frontend/src/content/docs/dashboard/explore.mdx b/src/frontend/src/content/docs/dashboard/explore.mdx index 53c5cb0f9..d1726d0e0 100644 --- a/src/frontend/src/content/docs/dashboard/explore.mdx +++ b/src/frontend/src/content/docs/dashboard/explore.mdx @@ -579,13 +579,17 @@ Selecting **View response** opens the text visualizer with the command's result Aspire dashboard text visualizer showing a command response opened from the notification center. + + The unread count resets when you open the notification center. To clear all notifications, select the **Dismiss all** button in the dialog. -For information on returning messages from custom commands, see [Custom resource commands](/fundamentals/custom-resource-commands/). +For information on returning command result payloads from custom commands, see [Custom resource commands](/fundamentals/custom-resource-commands/). ## Settings dialog diff --git a/src/frontend/src/content/docs/fundamentals/custom-resource-commands.mdx b/src/frontend/src/content/docs/fundamentals/custom-resource-commands.mdx index 9f0e592a6..ce3618057 100644 --- a/src/frontend/src/content/docs/fundamentals/custom-resource-commands.mdx +++ b/src/frontend/src/content/docs/fundamentals/custom-resource-commands.mdx @@ -629,7 +629,7 @@ The `ExecuteCommandResult` type carries the outcome of a command. It exposes the - **`Success` / `success`** _(boolean)_ — Whether the command completed successfully. - **`Canceled` / `canceled`** _(boolean)_ — Whether the command was canceled by the user. - **`Message` / `message`** _(string?)_ — A human-readable message that surfaces in the dashboard [notification center](/dashboard/explore/#notification-center) and CLI output. Used for both success messages and error messages. -- **`Data` / `data`** _(`CommandResultData?`)_ — Optional structured output (plain text, JSON, or Markdown). See [Return structured output from a command](#return-structured-output-from-a-command). +- **`Data` / `data`** _(`CommandResultData?`)_ — Optional structured output (plain text, JSON, or Markdown). See [Return a result from a command](#return-a-result-from-a-command).