news

Let's Redesign the Hacker News website!

Jump In!

Introduction

Hacker News Website

Hacker News is a website featuring the hottest news in computer science and entrepreneurship used by some of the greatest minds in the world, but the site's poor design has ultimately turned me away from the platform (until now!).

Just by looking at the site on the left, a site that is meant to be readable is quite literally unreadable! We'll dive into these issues in the next section!

Fun Fact

Since it's run by startup accelerator Y Combinator and the initial users were mostly YC founders, there is inevitably a startup spin to the stories that are popular here. The site was originally called Startup News. But it turned out to be boring to have so much of a startup focus, so they changed the name and the focus to be more general.

(If you are reading this site, there is a good chance the content on this site appeals to you. Check it out! It is a popular site for software engineers!)

Issues Here, Issues There, Issues Everywhere!

Let's dive into the usability issues. Ultimately usability issues are divided into the following buckets: usability/efficiency, learnability, memorability, and conceptual model. Hover over these terms to learn more about what each entails.

Keeping these usability terms in mind, the following are the major usability issues with Hacker News:

Incoherent Conceptual Model

Users should be following Guidelines to make posts, but it is tucked away in a set of hyperlinks on the footer (which themselves do not appear to be hyperlinks as there is no underline/text decoration).

Tiny Text

Ironically enough, for a site centered around getting its users to read its content, it is a fierce challenge to read this site. The text is extremely small, and the developers acknowledge this by using a typeface called Verdana, which is designed for small text.

Light-Colored Text

The light gray text used for the content on the page may be this way for aesthetics, but users will have a formidable time reading it. Users often interact with their mobile devices in less-than-ideal conditions. Bright sunlight can make elements on a screen hard to see.

Visual Hierarchy

Elements in the Navbar have no distinct hierarchy. The "New" and "Past" options filter the posts, the "Ask," "Show," and "Jobs" options navigate to three different Hacker News communities/lists, and the "Submit" option to create a new post/submission. Despite these three different categories, all look the same and are displayed the same.

It is also difficult to remember what the front page displays. Is it the top posts? Trending posts? The top posts from today? Today and yesterday?

Lastly, the link to the Lists page, which is the main page for discoverability, is tucked away in the Footer! Further, the Search Bar, often used for quick navigation, is also in the Footer!

Poor Submission Design

Each "post" on Hacker News is called a submission, entailing both the news article the user shares as well as a comment thread. It is extremely hard to interact with these submissions as they are unintuitive

Upvoting information is also not glanceable. It is hidden amongst the caption for each submission, and the upvote button itself is small.

There needs to be more space between touch targets. A lot of the screen real estate on the right is empty, and the targets to interact with a post are smooshed together.

Poor Accessibility

The website categorizes Both article links and Submission captions under “Very Low Contrast."

There are no Aria landmarks at all. ARIA landmarks are attributes added to website elements used by accessibility tools to navigate a page. This is unacceptable: users using accessibility tools such as screen readers cannot use the site easily.

Lo-Fi Wireframes

With these issues guiding the redesign, the following are Lofi Wireframes to solve these issues and overall create a more pleasant reading experience for everyone.

Each wireframe is annotated with how each section solves the aforementioned usability issues!

Desktop Lo-Fi
Desktop Lo-Fi

The search bar is no longer in the footer, and is now immediately visible and takes up a large part of the Navbar. The user no longer needs to scroll down to the footer to search.

There is now a clear “Call-To-Action” that prompts the user to login in the header with a large, orange button. It no longer is hard to read and is kept in a nook in the corner of the Navbar.

Hacker News also aims to bring attention and support to Y Combinator’s startups. It has new jobs each day, and thus deserves one of the primary spots in the Visual Hierarchy. This board surfaces those opportunities and each job is hoverable and navigates to the job post. Both the Jobs header and more buttons are also clickable and will change color on hover!

The website now communicates that the user defaults to looking at the top posts when they first arrive at the site. It also becomes clear what the filtering options are for the submissions instead of being bundled with other options in the Navbar.

There is now a clear “Call-to-Action” to create new submissions on the platform. Before, the button “submit” looked as if it navigates to another page with new content, but now this button makes it clear that it is for creating new posts.

Lists: Hacker News also offers the “AskHN” and “ShowHN” post series, as well as surfaces the site's best comments each day and much more. Previously, the link to see these series was in the footer. However, it also deserves a higher place in the Visual Hierarchy and links to the full lists board via the "Lists" header and "more" button.

This new design reimagines the functionality of the original posts. First, each post is separated to make it easy to determine what contents belong to what posts. From left to right, there is an easy-to-parse upvote button that highlights on hover, the article name and website link are clickable to open the URL, and less important information like the user, timestamp, and comment count is present but not on the same hierarchical level as it was previously. Lastly, a comment icon is added to open the post easier, and the submission itself and comment button will highlight on hover: so it is clear which post the user is interacting with!

Again, there is now a clear “Call-to-Action” to Apply to YC by adding an “Apply” button in the footer. Further, all of the other low-priority pages are located in the footer and are in a larger, more discoverable font.

As the viewport is smaller, the search bar shrinks to a search icon. The List Board also becomes a button in the Navbar that links to the Lists page. On a smaller screen, the user can easily navigate to the List of topics with this button, rather than scrolling down the List board.

To prioritize new content that is surfaced to the site, the two primary columns are the Jobs Board and the Feed (the Lists board is static and thus becomes a button in the Navar). The content shifts in that the feed takes up 80% of the column width (about 9 columns) while the Job board takes up the remaining 20% (about 3 columns). Further, the links in the Job Board disappear, but the Job name and caption grow.

The footer content still has the application prompt floating left and the miscellaneous pages floating right, but becomes slightly larger on the Tablet for accessibility purposes.
Tablet Lo-Fi
Tablet Lo-Fi
Mobile Lo-Fi
Mobile Lo-Fi

All the content now takes up one column for the user to scroll through. As the Feed is the primary component, it becomes the first element to float to the top.

The Lists Board and Jobs Board follow the Feed, with the Lists coming first and then the Jobs. This keeps the users engaged after scrolling through the first ten submissions.

The links to each startup site reappear again and float right to take up more of the screen real estate (and make it accessible to click with the right thumb).

The footer content now stacks on top of each other: effectively making the footer larger but dividing the “apply” and the “miscellaneous” sections for hierarchy purposes.

Visual Design Style Guide

Next up is the Visual Design Style Guide! It contains the components and styles for the website to make a clean UX. For this redesign, as well, we are going Dark Mode!

Dark mode doesn't directly reduce eye strain, but it can offer some relief and makes it easier to read in light. It is no mystery why more and more sites adopt dark mode: users love it!

Style Guide
Style Guide

Hi-Fi Prototypes

Next, let's dive into the Hi-Fi Prototypes: annotated with how each component would be implemented!

These designs are based on the board from October 13, 2022. Here is the link to see the submissions from that day!

Hi-Fi Desktop
Hi-Fi Desktop

Bootstrap Navbar with display: flex inside of a container-fluid.

The main content sits in a container-fluid with a single row. For an even division of the 12 columns Bootstrap offers, the Feed component occupies 6 columns while both the surrounding Jobs board and Lists board take up 3 columns each.

Both containers start with overarching header elements and a corresponding description paragraph element. Each job is a subheader and description paragraph paired with a link that is separated with justify-content-between (so each job can scale down when the viewport shrinks). As such, each row is its row with the Job Title and Description taking up most of the 12-row columns. The headers of Jobs and Lists expand on hover using the :hover CSS selector!

This component sits above the feed and is separated using justify-content-between within a 6-column container.

The submissions sit in an HTML Table in a card component. Each submission in the feed, from right to left, follows the convention: submission rank; upvote button and upvote counter; article name, link, and metadata; and then the comment button (each in a td tag).

For even spacing, the contents sit in a regular container with an accompanying row, and the Apply section and Misc. The links section takes up 6 columns each.

The search bar has its display property set to none while the Search Icon gets its display set to active. The search icon then floats right alongside the Login button in a Bootstrap an input-group-btn. The List Board also becomes a button in the Navbar.

The Feed now takes up 9 columns, with the Jobs Board taking up 3. The font scales down to blank 0.75 rem for consistent sizing using the media selector.
Hi-Fi Tablet
Hi-Fi Tablet
Hi-Fi Mobile
Hi-Fi Mobile

The Feed and the Jobs and Lists boards now all occupy the 12 columns across the screen.

The Lists Board's display is switched from none to active here. The order-# property of Bootstrap is used to make the Feed appear first in the row, followed by the List and the Jobs.

The Footer now expands vertically as the Apply Call-to-Action and miscellaneous pages stack on top of each other (taking up 12 columns each).

Hacker News: Redesigned

Now, you can go try it out yourself! Clicking on an entry navigates to that page easily, and clicking the button opens the corresponding comment section!

Everything except the buttons in the header and footer is interactive. I hope you have fun playing around with it!

Hacker News Redesign
Hacker News Redesign

Conclusion

Overall, we turned a seemingly mundane website with lots of valuable content into a modern, readable website! Again, I highly recommend you check out Hacker News to get relevant info on tech and the world!

Back to Portfolio