Skip to content

[release/13.6] Add run persistence help to dashboard - #20510

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

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

Conversation

@JamesNK

Copy link
Copy Markdown
Member

Backport of #20469 to release/13.6

/cc James Newton-King (@JamesNK)

Description

Dashboard users currently lack a direct way to learn what live, historical, and pinned runs mean. This backport adds Learn about runs to the run selector, opening the run-persistence documentation in a new window, and lightens the run button's light-theme hover and pressed states. External-link menu item construction is shared with resource URL menu items.

User-facing usage

Open the run selector in the dashboard header and choose Learn about runs to read the run-persistence documentation.

Screenshots / Recordings

This PR includes UI changes. Please add screenshots or screen recordings so reviewers can evaluate the visual changes without running locally.

  • For before/after comparisons, place them side-by-side or label them clearly.
  • For interactive changes (animations, transitions, new flows), prefer a short screen recording (GIF or video).
  • If you cannot capture visuals now, note what scenario to test and mark this section as TODO.

Screenshots from #20469:

Dashboard Run menu close-up Light-theme hover
Dashboard with the run menu open Run menu showing the Learn about runs option Run button with its lighter hover state

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

Customer Impact

Dashboard users currently lack a direct way to learn what live, historical, and pinned runs mean. A Learn about runs entry in the run selector opens the run-persistence documentation; the light-theme button states are clearer.

Testing

On release/13.6, 43/43 MainLayoutTests passed and UpdateXlf succeeded (zero warnings/errors); the source PR also reports manual TestShop theme verification.

Risk

Low — the menu item, shared external-link construction, resource strings, and button styling are contained within Dashboard UI.

Regression?

No — confirmed by the requester.

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

Or

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

@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

13 / 99 PR test projects · 2 PR jobs, from 21 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

⚠️ 10 of the 13 selected test projects come from a single change — src/Aspire.Dashboard/Components/Controls/DashboardRunSelect.razor.cs.

🔧 src/Aspire.Dashboard/Components/Controls/DashboardRunSelect.razor.cs (changed source)
→ 10 via the project graph: 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

🔧 src/Aspire.Dashboard/wwwroot/css/design.css (changed source)
→ 1 via the project graph: Aspire.Dashboard.Tests

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

Job reasons

Job Triggered by
extension-e2e • src/Aspire.Dashboard/Components/Controls/DashboardRunSelect.razor.cs, src/Aspire.Dashboard/Components/Controls/DashboardRunSelect.razor.css, src/Aspire.Dashboard/Model/MenuButtonItem.cs, src/Aspire.Dashboard/Model/ResourceMenuBuilder.cs, src/Aspire.Dashboard/Resources/Layout.Designer.cs, src/Aspire.Dashboard/Resources/Layout.resx, src/Aspire.Dashboard/Resources/xlf/Layout.cs.xlf, src/Aspire.Dashboard/Resources/xlf/Layout.de.xlf, src/Aspire.Dashboard/Resources/xlf/Layout.es.xlf, src/Aspire.Dashboard/Resources/xlf/Layout.fr.xlf, src/Aspire.Dashboard/Resources/xlf/Layout.it.xlf, src/Aspire.Dashboard/Resources/xlf/Layout.ja.xlf, src/Aspire.Dashboard/Resources/xlf/Layout.ko.xlf, src/Aspire.Dashboard/Resources/xlf/Layout.pl.xlf, src/Aspire.Dashboard/Resources/xlf/Layout.pt-BR.xlf, src/Aspire.Dashboard/Resources/xlf/Layout.ru.xlf, src/Aspire.Dashboard/Resources/xlf/Layout.tr.xlf, src/Aspire.Dashboard/Resources/xlf/Layout.zh-Hans.xlf, src/Aspire.Dashboard/Resources/xlf/Layout.zh-Hant.xlf, src/Aspire.Dashboard/wwwroot/css/design.css
• affected project Aspire.Dashboard
native-dashboard-validation affected project Aspire.Dashboard

Selection computed for commit 721ef12.

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.

Copilot review overview

🟢 Approval recommended

The backport matches the reviewed source behavior and includes focused regression coverage.

Review effort: Balanced
Findings: None

What changed in this PR

Backports dashboard run-persistence help, shared external-link construction, and lighter run-selector states to release/13.6.

Changes:

  • Adds a localized “Learn about runs” menu item.
  • Reuses shared external-link metadata.
  • Updates styling and component tests.
File Description
src/​Aspire.Dashboard/​Components/​Controls/​DashboardRunSelect.razor.cs Adds the help link.
src/​Aspire.Dashboard/​Components/​Controls/​DashboardRunSelect.razor.css Applies theme-specific states.
src/​Aspire.Dashboard/​Model/​MenuButtonItem.cs Adds the external-link factory.
src/​Aspire.Dashboard/​Model/​ResourceMenuBuilder.cs Reuses the link factory.
src/​Aspire.Dashboard/​Resources/​Layout.Designer.cs Exposes generated strings.
src/​Aspire.Dashboard/​Resources/​Layout.resx Defines help text.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.cs.xlf Updates Czech localization input.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.de.xlf Updates German localization input.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.es.xlf Updates Spanish localization input.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.fr.xlf Updates French localization input.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.it.xlf Updates Italian localization input.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.ja.xlf Updates Japanese localization input.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.ko.xlf Updates Korean localization input.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.pl.xlf Updates Polish localization input.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.pt-BR.xlf Updates Portuguese localization input.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.ru.xlf Updates Russian localization input.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.tr.xlf Updates Turkish localization input.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.zh-Hans.xlf Updates Simplified Chinese input.
src/​Aspire.Dashboard/​Resources/​xlf/​Layout.zh-Hant.xlf Updates Traditional Chinese input.
src/​Aspire.Dashboard/​wwwroot/​css/​design.css Defines run-selector theme colors.
tests/​Aspire.Dashboard.Components.Tests/​Layout/​MainLayoutTests.cs Verifies menu content and ordering.
Files not reviewed (1)
  • src/Aspire.Dashboard/Resources/Layout.Designer.cs: Generated file

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

@joperezr
Jose Perez Rodriguez (joperezr) merged commit d39d16c into release/13.6 Sep 26, 2026
308 of 311 checks passed
@microsoft-github-policy-service microsoft-github-policy-service Bot added this to the 13.6 milestone Sep 26, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

✅ No documentation update needed.

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

Triggered signals (1): pr_body_has_user_facing_section (evidence: PR body contains a "### User-facing usage" section describing the new "Learn about runs" menu item). This signal is present but irrelevant here because the PR is excluded outright before the recommendation branches are evaluated.

Exclusion reasons (from .pr-docs-check/signals.json):

  • base_branch_is_release: PR base is release/13.6.
  • head_branch_is_backport: head branch follows the backport naming convention.
  • title_release_prefix: title is prefixed [release/13.6].
  • body_backport_marker: PR body explicitly states "Backport of Add run persistence help to dashboard #20469 to release/13.6".

This PR (#20510) is a backport of the original forward-fix PR #20469 ("Add run persistence help to dashboard"), which already merged the documented user-facing change (the "Learn about runs" menu item in the dashboard run selector) into the default branch. Per workflow policy, backport PRs are out of scope for docs generation — any documentation update belongs against the original PR (#20469), not this release-branch backport. Drafting a second docs PR here would be duplicate noise. No documentation PR was created.

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.

3 participants