Skip to content

Show deprecated API docs without strikethrough, muting or reordering - #5016

Merged
reakaleek merged 3 commits into
mainfrom
remove-deprecated-docs-st-0f990ce1
Nov 23, 2026
Merged

reakaleek merged 3 commits into
mainfrom
remove-deprecated-docs-st-0f990ce1

Conversation

@reakaleek

Copy link
Copy Markdown
Member

Deprecated API operations and groups now look like any other row in the sidebar, search, landing pages and group pages. The red Deprecated badge is the only signal, and deprecated operations sort by route and method like the rest.

Affects: API reference, Site UI, Search

Prompt summary: Remove the muted and strikethrough styling of deprecated API docs everywhere: search, navigation, landing pages and group pages. Also remove the logic that deprecates a group when all its operations are deprecated, and the logic that pushes deprecated operations down in lists and the sidebar.

Why

A struck, dimmed title hides content readers still need, such as an old operation that is the only one for a task. The treatment was also spread over six stylesheets and components, and a group whose operations were all deprecated changed its own look and page title.

What

Muted styling removed

The strike, the 0.7 opacity and the desaturated method chip are gone from sidebar rows, both search UIs (the React search and the design-system search dialog), landing and group rows, and deprecated property names. The markup that only fed them is gone too: the <s> tags, the nav-link--deprecated and api-group-row--deprecated classes, and data-deprecated.

Group deprecation removed

TagNavigationItem.Deprecated is deleted, so a group whose operations are all deprecated looks like any other group and its page heading shows no badge.

Ordering

ApiOperationOrder.InListOrder sorts by route, then method. The sidebar, group pages and product landing page all use it, so deprecated operations stay where their route puts them.

What stays

The Deprecated badge on operation titles, operation rows, search cards and property chips stays. So does the visually hidden "Deprecated" text in operation nav rows. Out of scope: search relevance still lifts current operations (ApiLookupWeights.NotDeprecated) and IncludeDeprecated still filters; changing them needs a relevance run.

Verify

./build.sh test
# ApiDeprecatedListingTests — retired group looks current; order is by route, then method
mise run site:test
mise run journeys:test

🤖 Generated with Claude Code

A deprecated operation now looks like any other row. The red `Deprecated`
badge is the only signal, and deprecated operations sort by route and
method like the rest.

This removes the strike, the 0.7 opacity and the desaturated method chip
from the sidebar, both search UIs, landing and group rows, and property
names. A group whose operations are all deprecated is no longer marked
deprecated. Search relevance still lifts current operations.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@reakaleek
reakaleek requested a review from a team as a code owner November 23, 2026 18:22
@reakaleek
reakaleek requested a review from theletterf November 23, 2026 18:22
@github-actions

Copy link
Copy Markdown
Contributor

reakaleek and others added 2 commits November 23, 2026 20:12
… @infra-vault-gh-plugin-prod)

The design-system sidebar rendered by `_NavTreeItems` still struck, dimmed
and desaturated deprecated rows through `nav-tree__link--deprecated`. The
class and its `nav-tree.css` rules are gone. The hidden "Deprecated" text
stays.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The sidebar no longer strikes deprecated items, so the summary on
`IDeprecatableNavigationItem` described behaviour that is gone.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@reakaleek
reakaleek merged commit 27416bf into main Nov 23, 2026
44 checks passed
@reakaleek
reakaleek deleted the remove-deprecated-docs-st-0f990ce1 branch November 23, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant