praeclarum / FuGetGallery

An alternative web UI for browsing nuget packages
https://www.fuget.org
MIT License
683 stars 121 forks source link

FR: Show [Obsolete] status and message in documentation view #173

Open mindsolve opened 2 years ago

mindsolve commented 2 years ago

This is an extension to the FR #167 to also display the [Obsolete] status and message in documentation view, not only in the diff. I would like to be able to directly see whether an API is deprecated.

mindsolve commented 2 years ago

I have created a proof-of-concept in my fork, based on PR #171 (adding obsolete status to the diff view): https://github.com/mindsolve/FuGetGallery/tree/feature/173-obsolete-status-in-doc-view

I would appreciate feedback before opening the PR, especially with the design.

Feature status of POC:

Screenshots:

jamesmcroft commented 2 years ago

Merged your changes for this into the #171 PR 😄

mindsolve commented 2 years ago

Very nice, thank you @jamesmcroft! Do you think that the two open points (comment above) should also be added in that change? Or do we leave it like this, as it covers the most common uses and possibly add them later?