Enhance Readability and Information Detail in Top 10 Hacker News Messages #209
Labels
difficulty: medium
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Issue Description:
Our current bot implementation sends the top 10 news items from Hacker News in the following format:
Here,
{title}
is a hyperlink. While functional, this format could be improved in terms of readability and information richness.Example:
Proposed Enhancements:
I propose an updated message format:
Example:
Inclusion of Domain: The domain part of the link should be included next to the title. This will give users an immediate idea of the source without needing to click the link.
github.com
andtwitter.com
links, include the username part in the domain to provide more specific context.Display of Points: The
points
should be taken from thescore
property of the news item. This will give users a quick sense of the popularity or relevance of the news item.Friendly Time Format: The
age
should be a user-friendly string of time (e.g., "1 hour ago", "5 hours ago", "2 days ago"). This helps users gauge the freshness of the news item quickly.Rationale:
The proposed changes aim to enhance the user experience by providing more context and information at a glance. This format is expected to be more engaging and useful for our community, helping them make informed decisions about which links to explore based on source, popularity, and timeliness.
Expected Impact:
The text was updated successfully, but these errors were encountered: