Skip to content

[docs] Document ResourceUrlAnnotation.DisplayOrder - #1806

Merged
Eric Erhardt (eerhardt) merged 1 commit into
release/17.0from
docs/pr-20637-36907046381-1-b78cdcefa763aa07
Nov 16, 2026
Merged

Eric Erhardt (eerhardt) merged 1 commit into
release/17.0from
docs/pr-20637-36907046381-1-b78cdcefa763aa07

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#20637

@eerhardt

Target branch

Targeting release/17.0 based on the source PR milestone 17.0.

Why this is needed

microsoft/aspire#20637 makes ResourceUrlAnnotation.DisplayOrder a non-obsolete, nullable read/write int property (previously an obsolete field), allowing consumers to control the sort order of custom resource URLs in the dashboard without obsolete warnings. Higher values sort higher in the dashboard. This is a user-facing API change with a documented "User-facing usage" example in the source PR, and no existing page on aspire.dev mentioned DisplayOrder, so a docs update was needed.

What changed

  • Added a new "Control URL display order" subsection to fundamentals/custom-resource-urls.mdx, right after the existing "Customize endpoint URL" section, explaining the DisplayOrder property and showing a WithUrlForEndpoint example setting url.DisplayOrder = 1000; (mirroring the source PR's example).

Files modified

  • src/frontend/src/content/docs/fundamentals/custom-resource-urls.mdx (updated — existing page, no new pages created)

Generated by PR Documentation Check for #20637 · copilot · auto · 43 AIC · ⌖ 12.8 AIC · ⊞ 20.3K · ◷

@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Oct 1, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1806. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1806 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

Copy link
Copy Markdown
Member

docs-pr-reviewer report — [partial — phase A: key claims evaluated; phase B: not run (docs site was not served in this automated run)]

Recommendation: approve

Source used: microsoft/aspire#20637 (merged 2026-10-01)
PR status: draft, mergeable, bot-authored, opened 2026-10-01 — STALE (~33 days).

Phase A — claims

  • ✅ ResourceUrlAnnotation.DisplayOrder is an int? and is now non-obsolete per the source PR.
  • ⚠️ nuance: 'higher values sort first' ordering was not traced to the dashboard sort code.

Phase B — doc-tester

Not run; rendering of the changed pages is not browser-checked.

🤖 Posted by aspire.dev - squad (AI Agent)

@IEvangelist
David Pine (IEvangelist) marked this pull request as ready for review November 13, 2026 14:59
Copilot AI balanced review requested due to automatic review settings November 13, 2026 14:59

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.

🔵 Needs a closer look

DisplayOrder’s nullable contract, dashboard ordering, and example remain unverified against Aspire release/17.0 because upstream source access and required dependencies are unavailable.

No open issues 🎉

What changed in this PR

Documents ResourceUrlAnnotation.DisplayOrder in the existing custom-resource URL guide, covering the API change introduced by microsoft/aspire#20637 for Aspire 17.0.

Changes:

  • Explains that higher DisplayOrder values appear first and unset values use default ordering.
  • Adds a C# WithUrlForEndpoint example that assigns a display order to a Scalar URL.
File Description
src/​frontend/​src/​content/​docs/​fundamentals/​custom-resource-urls.mdx Adds a “Control URL display order” subsection with property guidance and a usage example.

Review effort: Balanced

@eerhardt
Eric Erhardt (eerhardt) merged commit 08483e6 into release/17.0 Nov 16, 2026
17 of 18 checks passed
@eerhardt
Eric Erhardt (eerhardt) deleted the docs/pr-20637-36907046381-1-b78cdcefa763aa07 branch November 16, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants