Update applies_to
Stack/Serverless/Deploy/Product render order
#1727
+122
−81
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
🍷 Pairs with #1726. The other half of #1435.
applies_to
badges are rendered in a predefined order. This PR reorders theapplies_to
badge rendering inApplicableToComponent.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
ECE
ECK
ECH
Self-Managed
4. ProductApplicability
EDOT Android
EDOT CF AWS
EDOT Collector
EDOT .NET
EDOT iOS
EDOT Java
EDOT Node.js
EDOT PHP
EDOT Python
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)