Skip to content

Show a banner on packages tagged "deprecated" - #100

Open
turlamai wants to merge 1 commit into
racket:masterfrom
turlamai:deprecated-banner
Open

turlamai wants to merge 1 commit into
racket:masterfrom
turlamai:deprecated-banner

Conversation

@turlamai

Copy link
Copy Markdown

Packages tagged deprecated are hidden from the main listing, but a visitor who arrives at such a package's page directly (via a search engine, an old README, or a shared link) currently has no indication of it. The page shows deprecated only as one unexplained word in the tags row.

This adds a factual banner at the top of a deprecated package's page: "This package is tagged deprecated and is hidden from the main package listing." The tag name links to its tag page.

The banner appears only on the deprecated package's own page — it does not add warnings to the public listings, respecting the concern raised in #50.

The main listing hides packages tagged "deprecated", so a visitor
who lands on such a package's page (via a search engine or a direct
link) has no indication that it is deprecated. Show a factual banner
stating the tag and explaining the hidden-from-listing consequence,
linking to the tag itself. The banner only appears on the deprecated
package's own page, so it does not add warnings to the public
listings (see issue racket#50).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant