Skip to content

Page title to reflect the crate name or ID #4828

Closed as not planned
Closed as not planned
@peter-lyons-kehl

Description

@peter-lyons-kehl

Current Behavior

A working example: visit https://crates.io/crates/markdown-toc. The page title is "markdown-toc". OK.

But, visit https://crates.io/crates/cargo-run-bin. The page title is "crates.io: Rust Package Registry". As per #1930, the page title should reflect the crate name. (Another past issue about titles seems to be #1341).

If some crates are missing their names, how about using the URL part in the title, please.

Expected Behavior

Show the crate name in the title. If a crate doesn't have a name or it can't be retrieved, show its URL postfix.

Steps To Reproduce

No response

Environment

  • Browser: Current Firefox 100
  • OS: Current Manjaro x64 w/ GNOME 40+

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bug 🐞Category: unintended, undesired behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions