Skip to content

[release/13.6] Fix dashboard shortcut availability - #20431

Merged
Jose Perez Rodriguez (joperezr) merged 1 commit into
release/13.6from
backport/pr-20413-to-release/13.6
Sep 24, 2026
Merged

Jose Perez Rodriguez (joperezr) merged 1 commit into
release/13.6from
backport/pr-20413-to-release/13.6

Conversation

@aspire-repo-bot

@aspire-repo-bot aspire-repo-bot Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #20413 to release/13.6

/cc James Newton-King (@JamesNK)

Customer Impact

Standalone dashboards without the resource service advertise and execute shortcuts for unavailable Resources and Console Logs pages, while shortcut help can disagree with the running configuration.

Testing

Focused dashboard component shortcut tests passed (5/5); git diff --check passed; both standalone and AppHost-connected help dialogs were visually verified.

Risk

Medium. The fix changes shared shortcut registration, help-dialog filtering, and keyboard navigation behavior across standalone and AppHost-connected dashboard configurations.

Regression?

No

Hide unavailable page and terminal shortcuts from help, while keeping contextual panel shortcuts listed and blocking disabled resource navigation.

Co-authored-by: Copilot <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20431

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20431"

@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

13 / 99 PR test projects · 2 PR jobs, from 7 changed files.

Selected PR test projects (13 / 99)

Aspire.Dashboard.Components.Tests, Aspire.Dashboard.Tests, Aspire.Hosting.Azure.Kubernetes.Tests, Aspire.Hosting.Azure.Tests, Aspire.Hosting.Blazor.Tests, Aspire.Hosting.Dotnet.Tests, Aspire.Hosting.DotnetTool.Tests, Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.Radius.Tests, Aspire.Hosting.Testing.Tests, Aspire.Hosting.Tests, Aspire.Playground.Tests, Aspire.Templates.Tests

Selected PR jobs (2)

extension-e2e, native-dashboard-validation


How these were chosen — grouped by what changed

⚠️ 11 of the 13 selected test projects come from a single change — src/Aspire.Dashboard/Components/Dialogs/HelpDialog.razor.cs.

🔧 src/Aspire.Dashboard/Components/Dialogs/HelpDialog.razor.cs (changed source)
→ 11 via the project graph: Aspire.Dashboard.Tests, Aspire.Hosting.Azure.Kubernetes.Tests (3 hops), Aspire.Hosting.Azure.Tests (2 hops), Aspire.Hosting.Blazor.Tests (2 hops), Aspire.Hosting.Dotnet.Tests (2 hops), Aspire.Hosting.DotnetTool.Tests (2 hops), Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.Radius.Tests (2 hops), Aspire.Hosting.Testing.Tests, Aspire.Hosting.Tests, Aspire.Playground.Tests (2 hops)

📦 affected project Aspire.Dashboard
→ 1 test: Aspire.Templates.Tests

🧪 tests/Aspire.Dashboard.Components.Tests/Dialogs/HelpDialogTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Components.Tests

🧪 tests/Aspire.Dashboard.Components.Tests/Layout/MainLayoutTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Components.Tests

🧪 tests/Aspire.Dashboard.Components.Tests/Shared/TestGlobalKeydownListener.cs (changed test)
→ 1 directly: Aspire.Dashboard.Components.Tests

Job reasons

Job Triggered by
extension-e2e • src/Aspire.Dashboard/Components/Dialogs/HelpDialog.razor.cs, src/Aspire.Dashboard/Components/Dialogs/KeyboardShortcut.cs, src/Aspire.Dashboard/Components/Layout/MainLayout.razor.cs, src/Aspire.Dashboard/ShortcutManager.cs
• affected project Aspire.Dashboard
native-dashboard-validation affected project Aspire.Dashboard

Selection computed for commit 0aea87e.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@joperezr
Jose Perez Rodriguez (joperezr) merged commit 484579a into release/13.6 Sep 24, 2026
300 of 305 checks passed
@microsoft-github-policy-service microsoft-github-policy-service Bot added this to the 13.6 milestone Sep 24, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

✅ No documentation update needed.

Step 5 branch taken: excluded → backport (base_branch_is_release, head_branch_is_backport, title_release_prefix, body_backport_marker)

Triggered signals (2): new_public_type, pr_body_has_cli_flag_mention

Rationale: signals.json marks this PR as excluded: true with exclusion_reasons: base_branch_is_release, head_branch_is_backport, title_release_prefix, body_backport_marker. This is a backport of #20413 to release/13.6 — the PR title is prefixed [release/13.6], the body states "Backport of #20413 to release/13.6", and the base ref is release/13.6. Per Step 5, when excluded == true it overrides recommendation (docs_optional) and any triggered signals; documentation for this change should be authored against the original forward PR (#20413) on the default branch, not duplicated here. No docs PR is drafted.

@github-actions github-actions Bot locked and limited conversation to collaborators Oct 25, 2026
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.

2 participants