Skip to content

Update applies_to Stack/Serverless/Deploy/Product render order - #1727

Merged
Mpdreamz merged 8 commits into
mainfrom
order-applies-to
Aug 27, 2025
Merged

Mpdreamz merged 8 commits into
mainfrom
order-applies-to

Conversation

@bmorelli25

@bmorelli25 bmorelli25 commented Aug 12, 2025 •

Copy link
Copy Markdown
Member

Summary

applies_to badges are rendered in a predefined order. This PR reorders the applies_to badge rendering in ApplicableToComponent.cshtml to follow a more logical hierarchy. The new order prioritizes Stack, then Serverless, followed by deployment options, then specialized tools and agents.

Important

I might not have this order correct. I welcome any opinions on what the correct order is.

I did try putting Serverless first, but there are some edge-case sections like this one where Stack really gets buried if it comes after Serverless. Thoughts?

I also considered creating a configuration file for the badge ordering, but opted for keeping the hardcoded config as this ordering is unlikely to change often and in its current state doesn't require any runtime configuration lookup.

New Rendering Order

1. Stack

  • Stack

2. Serverless

  • Serverless (when all projects share same applicability)
  • Serverless Elasticsearch
  • Serverless Observability
  • Serverless Security

3. Deployment

  • ECH
  • ECK
  • ECE
  • Self-Managed

4. ProductApplicability

  • ECCTL
  • Curator
  • EDOT (alphabetical):
    • EDOT Android
    • EDOT CF AWS
    • EDOT Collector
    • EDOT .NET
    • EDOT iOS
    • EDOT Java
    • EDOT Node.js
    • EDOT PHP
    • EDOT Python
  • APM Agents (alphabetical):
    • APM Agent Android
    • APM Agent .NET
    • APM Agent Go
    • APM Agent iOS
    • APM Agent Java
    • APM Agent Node.js
    • APM Agent PHP
    • APM Agent Python
    • APM Agent Ruby
    • APM Agent RUM

5. Product (generic)

  • Generic product applicability (catch-all)

Signed-off-by: bmorelli25 <[email protected]>
Signed-off-by: bmorelli25 <[email protected]>
@bmorelli25 bmorelli25 mentioned this pull request Aug 12, 2025
1 of 2 tasks
@github-actions

github-actions Bot commented Aug 12, 2025 •

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

@colleenmcginnis

Copy link
Copy Markdown
Contributor

In the existing Documenting versions and deployment types page (which was absorbed into other pages in #1614), we stated that the order should "reflect organizational priorities". The examples provided were that serverless should come before stack and the deployment types should be in this order: serverless (?), ech, eck, ece, self-managed. I'm not sure who came up with that guidance initially or if we want to follow it.

@shainaraskas

Copy link
Copy Markdown
Member

👋 that was me making stuff up (but based on the push to serverless, and the deprioritization of ECE)

I think stack can come before serverless given your concerns, but I'd put the deployent types in the following order:
ech, eck, ece,self

Signed-off-by: bmorelli25 <[email protected]>

# Conflicts:
#	docs/syntax/applies.md
#	tests/authoring/Applicability/AppliesToFrontMatter.fs
Signed-off-by: bmorelli25 <[email protected]>
Signed-off-by: bmorelli25 <[email protected]>
@bmorelli25

Copy link
Copy Markdown
Member Author

Thanks for the feedback. Apologies for missing it. Updated based on your suggested order.

Signed-off-by: bmorelli25 <[email protected]>

@Mpdreamz Mpdreamz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ty @bmorelli25

@Mpdreamz
Mpdreamz merged commit 791f565 into main Aug 27, 2025
@Mpdreamz
Mpdreamz deleted the order-applies-to branch August 27, 2025 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement multiple lifecycle state logic

4 participants