Skip to content

Commit b8c05a7

Browse files
committed
applies_to: Show GA in "Planned" if technical preview exists
1 parent d4f0f7b commit b8c05a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Elastic.Markdown/Myst/Components/ApplicableToComponent.cshtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@
266266
case ProductLifecycle.GenerallyAvailable:
267267
if (TryGetRealVersion(applicability, out var version) && version > versioningSystem.Current)
268268
{
269-
badgeText = "Planned";
269+
var technicalPreviewApplicability = applications.FirstOrDefault(a => a.Lifecycle == ProductLifecycle.TechnicalPreview);
270+
badgeText = technicalPreviewApplicability is not null ? "GA planned" : "Planned";
270271
lifecycleTooltip = "We plan to add this functionality in a future update. Plans may change without notice.";
271272
lifecycleClass = "planned";
272273
}

0 commit comments

Comments
 (0)