File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
src/Elastic.Markdown/Myst/Components Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 269269 }
270270 else
271271 {
272- if ( applicability .Lifecycle is ProductLifecycle . GenerallyAvailable or ProductLifecycle . Beta or ProductLifecycle . TechnicalPreview )
272+ tooltipText = applicability .Lifecycle switch
273273 {
274- tooltipText = $" We plan to add this functionality in a future {keyFull } update. Subject to change." ;
275- }
276- else if (applicability .Lifecycle is ProductLifecycle .Deprecated )
277- {
278- tooltipText = $" We plan to deprecate this functionality in a future {keyFull } update. Subject to change." ;
279- }
280- else if (applicability .Lifecycle is ProductLifecycle .Removed )
281- {
282- tooltipText = $" We plan to remove this functionality in a future {keyFull } update. Subject to change." ;
283- }
274+ ProductLifecycle .GenerallyAvailable
275+ or ProductLifecycle .Beta
276+ or ProductLifecycle .TechnicalPreview
277+ or ProductLifecycle .Planned =>
278+ $" We plan to add this functionality in a future {keyFull } update. Subject to change." ,
279+ ProductLifecycle .Deprecated => $" We plan to deprecate this functionality in a future {keyFull } update. Subject to change." ,
280+ ProductLifecycle .Removed => $" We plan to remove this functionality in a future {keyFull } update. Subject to change." ,
281+ _ => tooltipText
282+ };
284283 }
285284
286285 }
314313 : " Planned" ,
315314 ProductLifecycle .Deprecated => " Deprecation planned" ,
316315 ProductLifecycle .Removed => " Removal planned" ,
316+ ProductLifecycle .Planned => " Planned" ,
317317 _ => badgeText
318318 };
319319 }
You can’t perform that action at this time.
0 commit comments