Skip to content

bug: results for show and ask posts with no link should link to the post itself #131

@danielsgriffin

Description

@danielsgriffin

ShowHN posts do not require URLs in the link. If an item does not have a link then the search results include the link to the search itself, rather than either (1) linking to the post or (2) not having a link at all.
It doesn't do anything if left clicked, but right clicking opens the search again in another tab. This disrupts a practice of opening tabs to read while reading through search results because the user may not remember which result they were trying to look at.

Example query: [Show HN: Search engine to quickly find in-depth articles from engineering blogs]

Notice the top result.

Example posts:
without link: https://news.ycombinator.com/item?id=25763329

with link: https://news.ycombinator.com/item?id=40112958

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions