Skip to content

re-organize sidebar#3558

Merged
oalders merged 4 commits intomasterfrom
oalders/metacpan-web/sidebar
Mar 6, 2026
Merged

re-organize sidebar#3558
oalders merged 4 commits intomasterfrom
oalders/metacpan-web/sidebar

Conversation

@oalders
Copy link
Member

@oalders oalders commented Mar 5, 2026

Try to re-organize the sidebar

I used https://github.com/settings/profile as a sort of inspiration to follow here.

Collapse dependencies by default

On some dists these take up a huge amount of vertical space, forcing you to do a lot of scrolling to get beyond them. They are now collapsed by default following the same pattern as author information so that you can expand/collapse on demand

Make dependency section a bit easier to spot

Put the deps in a card in order to draw the eye towards them. Now that they take up less space (in some cases) we can still try to make them prominent

Install instructions was the only blue link in the sidebar

This looked a bit weird and is now consistent

Re-organize sidebar

We currently have a wall of text that makes it hard to find what you are looking for.

  • Try to group links logically
  • Add icons to allow the eye to find specific links quickly
  • Reduce the height of the activity histogram a little. It doesn't need to be very big
  • Add some subtle header lines between sections to make it easier to spot the groupings
  • Add headings to search inputs, trying to solve accessibility concerns raised in Search distribution and grep distribution inputs should not rely on placeholder for name #3109
  • Add more contrast to the headings, for accessibility reasons
  • Lower case the section headings. Not sure why they were upper case
  • Try to make sure this all looks good on mobile
  • Move the release date to the "Distribution" section. Having the date on its own at the sidebar seemed a bit confusing as it was not 100% clear what the purpose of the date was

Flatten sidebar

  • The sidebar had a drop shadow that was "giving 2012". This should feel a bit more modern
Screenshot 2026-03-05 at 1 23 05 PM

@oalders oalders force-pushed the oalders/metacpan-web/sidebar branch from 62dbb5e to 7a8df16 Compare March 5, 2026 17:39
@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.62%. Comparing base (fd0b00e) to head (7ba89b7).
⚠️ Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3558   +/-   ##
=======================================
  Coverage   74.62%   74.62%           
=======================================
  Files          71       71           
  Lines        2463     2463           
  Branches      349      349           
=======================================
  Hits         1838     1838           
  Misses        491      491           
  Partials      134      134           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@oalders
Copy link
Member Author

oalders commented Mar 5, 2026

These screenshots are a bit dated as I've reduced some font sizes and padding, but they do show the general organization of things.

mobile top before:

mobile-top-before

mobile top after:
mobile-top-after

mobile scroll before:
mobile-scroll-before

mobile scroll after:
mobile-scroll-after

desktop before:
desktop-before

desktop after:
desktop-after

@oalders oalders force-pushed the oalders/metacpan-web/sidebar branch from 7a8df16 to 7ba89b7 Compare March 5, 2026 18:25
@oalders oalders merged commit 18fc5b6 into master Mar 6, 2026
11 checks passed
@oalders oalders deleted the oalders/metacpan-web/sidebar branch March 6, 2026 00:52
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