Skip to content

Tooltip missing lifecycle status text for unavailable features #1751

@leemthompo

Description

@leemthompo

Describe the bug

Image

Description:
Tooltip shows incomplete text - missing lifecycle status at the beginning of the sentence.

Root cause: lifecycleFull variable is empty/null when ProductLifecycle.Unavailable, causing the tooltip template to render with missing text.

Remedy

The issue is that lifecycleFull isn't being set properly for the Unavailable lifecycle state, so the tooltip template renders with an empty string at the beginning.

https://github.com/elastic/docs-builder/blob/main/src/Elastic.Markdown/Myst/Components/ApplicableToComponent.cshtml#L253

I nominate @theletterf to fix this.

Expected behavior

Expected: "Unavailable on Elastic Cloud Serverless unless otherwise specified."
Actual: "on Elastic Cloud Serverless unless otherwise specified."

Steps to reproduce

Read this issue

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions