Skip to content

[release/17.0] Fix dashboard tooltips over non-localhost HTTP - #22424

Merged
Jose Perez Rodriguez (joperezr) merged 1 commit into
release/17.0from
backport/pr-22414-to-release/17.0
Nov 20, 2026
Merged

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

Conversation

@aspire-repo-bot

@aspire-repo-bot aspire-repo-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #22414 to release/17.0

/cc James Newton-King (@JamesNK)

Customer Impact

Users opening the Aspire dashboard over plain HTTP on a non-localhost hostname or IP address can't see tooltips on affected controls or resource graph nodes. The fix restores those tooltips without requiring a change to the dashboard URL.

Testing

On #22414, Chromium reproduced both failures before the fix and verified that HTML and SVG tooltips worked afterward on non-localhost HTTP. All three dashboard Playwright cases passed on rerun. The release backport was not separately browser-tested. Test report

Risk

Low. The fix only changes how the dashboard generates tooltip identifiers. It preserves existing element IDs and doesn't change transport or authentication settings.

Regression?

Yes. The dashboard modernization (#21412) introduced a dependency on crypto.randomUUID() for tooltip anchors. Browsers don't expose that API on ordinary non-localhost HTTP origins.

@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 -- 22424

Or

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

@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

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

Selected PR test projects (13 / 101)

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

⚠️ 12 of the 13 selected test projects come from a single change — src/Aspire.Dashboard/wwwroot/js/app-tooltips.js.

🔧 src/Aspire.Dashboard/wwwroot/js/app-tooltips.js (changed source)
→ 12 via the project graph: Aspire.Dashboard.Components.Tests, 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

Job reasons

Job Triggered by
extension-e2e • src/Aspire.Dashboard/wwwroot/js/app-tooltips.js
• affected project Aspire.Dashboard
native-dashboard-validation affected project Aspire.Dashboard

Selection computed for commit ced927d.

@joperezr
Jose Perez Rodriguez (joperezr) merged commit 39d0fd5 into release/17.0 Nov 20, 2026
163 checks passed
@microsoft-github-policy-service microsoft-github-policy-service Bot added this to the 17.0 milestone Nov 20, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

✅ No documentation update needed.

excluded → head_branch_is_backport, title_release_prefix, body_backport_marker (plus base_branch_is_release). This is a backport of #22414 to release/17.0 (dashboard tooltip fix); docs belong with the original PR. No signals triggered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants