Skip to content

Dim links in historical dashboard runs - #20171

Merged
Ella Hathaway (ellahathaway) merged 1 commit into
mainfrom
historical-run-link-opacity
Sep 16, 2026
Merged

Ella Hathaway (ellahathaway) merged 1 commit into
mainfrom
historical-run-link-opacity

Conversation

@JamesNK

Copy link
Copy Markdown
Member

Description

Links from historical dashboard runs should look visually distinct from links in the current run. This change displays resource URLs, resource detail URLs, console log links, automatic property-grid and text-visualizer links, and the resource URL overflow control at 0.7 opacity while a historical run is selected.

The dashboard layout now exposes the selected run state through a CSS class and scopes the opacity adjustment to these link surfaces. Switching back to the current run restores their normal opacity.

Validation: dotnet build .\src\Aspire.Dashboard\Aspire.Dashboard.csproj --no-restore /p:OutDir=C:\Development\Source\aspire\artifacts\historical-run-link-opacity-build\

Fixes # (issue)

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

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

Or

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

@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

10 / 99 PR test projects · 3 PR jobs, from 2 changed files.

Selected PR test projects (10 / 99)

Aspire.Cli.EndToEnd.Tests, Aspire.Dashboard.Components.Tests, Aspire.Dashboard.Tests, Aspire.Hosting.DotnetTool.Tests, Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.RemoteHost.Tests, Aspire.Hosting.Testing.Tests, Aspire.Managed.Tests, Aspire.Playground.Tests, Aspire.Templates.Tests

Selected PR jobs (3)

cli-starter-validation, extension-e2e, polyglot


How these were chosen — grouped by what changed

⚠️ 8 of the 10 selected test projects come from a single change — src/Aspire.Dashboard/Components/Layout/MainLayout.razor.

🔧 src/Aspire.Dashboard/Components/Layout/MainLayout.razor (changed source)
→ 8 via the project graph: Aspire.Dashboard.Components.Tests, Aspire.Dashboard.Tests, Aspire.Hosting.DotnetTool.Tests (2 hops), Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.RemoteHost.Tests (2 hops), Aspire.Hosting.Testing.Tests, Aspire.Managed.Tests (2 hops), Aspire.Playground.Tests (2 hops)

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

📦 affected project Aspire.Managed
→ 1 test: Aspire.Cli.EndToEnd.Tests

Job reasons

Job Triggered by
cli-starter-validation affected project Aspire.Managed
extension-e2e • src/Aspire.Dashboard/Components/Layout/MainLayout.razor, src/Aspire.Dashboard/Components/Layout/MainLayout.razor.css
• affected project Aspire.Dashboard
polyglot affected project Aspire.Managed

Selection computed for commit da8a68b.

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.

🟢 Approval recommended

No unresolved blocking issues were identified.

Pull request overview

Dims dashboard links when a historical run is selected.

Changes:

  • Adds a historical-run CSS class based on selected run state.
  • Applies 0.7 opacity to relevant historical-run links and controls.
File summaries
File Summary
src/Aspire.Dashboard/Components/Layout/MainLayout.razor.css Styles historical-run link surfaces.
src/Aspire.Dashboard/Components/Layout/MainLayout.razor Exposes historical-run state through CSS.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite (auto)

Note

Copilot is running an experiment and ran this review at Lite.


💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

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

@ellahathaway
Ella Hathaway (ellahathaway) merged commit 266bf02 into main Sep 16, 2026
419 of 424 checks passed
@ellahathaway
Ella Hathaway (ellahathaway) deleted the historical-run-link-opacity branch September 16, 2026 16:58
@github-actions github-actions Bot added this to the 13.6 milestone Sep 16, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

✅ No documentation update needed.

Step 5 branch taken: docs_required → false positive signal, nothing to document

Triggered signals (1): pr_body_has_cli_flag_mention

Evidence review: The only triggered signal matched the string --no-restore /p:OutDir=C:\Development\Source\aspire\artifacts\historical-run-link-opacity-build\ in the PR body's Validation section, which is a dotnet build command the author ran to confirm the change compiles — not a CLI flag, option, or any user-facing command surface. It is not an Aspire CLI feature at all, so this is a true false positive with no concrete documentation edit to make.

Underlying change: The PR only touches src/Aspire.Dashboard/Components/Layout/MainLayout.razor (1 line changed) and src/Aspire.Dashboard/Components/Layout/MainLayout.razor.css (4 lines added), applying 0.7 opacity to link surfaces (resource URLs, console log links, property-grid/text-visualizer links) while a historical dashboard run is selected, reverting to normal opacity on the current run. This is a pure visual/CSS styling change with no new public API, CLI surface, configuration, or documented behavior change — it does not warrant a docs update.

No other signal categories fired, and no allowlist/exclusion path was needed beyond the false-positive determination above.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 CI Failure Analysis: Transient Infrastructure Failure

The CI build failed due to transient infrastructure issues.

Failed jobs:

  • Tests / Package tests - Windows (class, Aspire.Templates.Tests, Templates-NUnit_NewUpAndBuildSupportProje... / Templates-NUnit_NewUpAndBuildSupportProjectTemplatesTests (windows-latest) — The 'Set up .NET Core' step failed with 'read ECONNRESET', a transient network connection reset that occurred while downloading the SDK/runtime. This is unrelated to the PR, which only changes dashboard CSS/Razor files (MainLayout.razor, MainLayout.razor.css) and has no connection to .NET SDK setup or Windows template tests. (transient-infra)

If a rerun was not already requested automatically, visit the workflow run page to rerun the failed jobs manually.

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

4 participants