elements icon indicating copy to clipboard operation
elements copied to clipboard

Add better indicators for deprecated endpoints when in "sidebar" view

Open rotciw opened this issue 1 year ago • 1 comments

Stoplight supports "deprecated" badge near the title of the endpoint. An issue I am facing now is that the "sidebar" layout makes it hard to get quick glance over what is deprecated or not. A suggested solution is for example to strikethrough the text on the sidebar to show that it is deprecated.

Context

Gain a better overall overview of which endpoints are deprecated or not.

Current Behavior

Currently, there is no indicator on the sidebar to whether the endpoint is deprecated or not. You have to click in to the endpoint to see it. Even then you might overlook it.

Expected Behavior

Much easier to gain an overview of which endpoints are deprecated or not.

Possible Solution(s)

Text strikethrough in the sidebars of deprecated endpoints.

rotciw avatar Oct 28 '24 14:10 rotciw

Hi I’ve opened a pull request to address this issue: [#<2795>: Strikethrough deprecated endpoints in sidebar] This PR adds a deprecated property to the TableOfContentsNode and updates the UI to apply a strikethrough to deprecated items in the sidebar.
If merged, it would resolve this issue and make deprecated endpoints easier to spot..

cetevolte avatar May 09 '25 08:05 cetevolte