Skip to content

AIO: UI improvements for deprecated APIs #44265

@AndrewKushnir

Description

@AndrewKushnir

Description

Sometimes it's a bit unclear that a particular API is deprecated, for example take a look at the "entryComponents" at https://angular.io/api/core/NgModule. It'd be great to highlight deprecated APIs as such a bit more. Here are some ideas:

  • on the summary list we can add a "deprecated" label/tag and also strikethrough the name:

deprecated-ui-1

  • on a method/property details section we can do the same:

deprecated-ui-2

Also for some reasons the deprecation message itself is missing as well (see the message at https://github.com/angular/angular/blob/master/packages/core/src/metadata/ng_module.ts#L200-L203).

What is the affected URL?

https://angular.io/api/core/NgModule

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIssue that requests a new featurefeature: in backlogFeature request for which voting has completed and is now in the backlog

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions