You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had been curious about release dates when browsing Zig’s website before, but hadn’t found them. Though I mainly looked at release notes pages (#149), I also had visited https://ziglang.org/download/ before, and hadn’t noticed the dates on that page. I only found they were on that page when I searched this repo for information about release dates and saw that they were inserted onto this page.
How a release on that page looks:
There are three factors making that release date hard to see:
All the other items in that list are reference links. Those links are only there to be clicked on; there is no information to be gained by reading their text. When skimming, one might assume the first bullet point is the same.
The date has no label. It doesn’t say it’s a release date; that has to be inferred from context.
The date blends in with the release version number, which is repeated many times on that page (in every download link).
Ideas for solutions
I think I prefer the second one. Even the first one would be an improvement, though.
Idea for the future
It also might be nice if “master” labeled the date differently, since it will have many release dates over time. It might call the date “Last released” or “Last updated” instead of “Released”. However, it looks like the code for the downloads page doesn’t output the master release separately:
Doesn't seem that people care too much about the discoverability of the date, as there was no other mention of this in the last couple of years, leaving things as they are since the information in fact is already pretty accessible even if not highlighted.
Problem
I had been curious about release dates when browsing Zig’s website before, but hadn’t found them. Though I mainly looked at release notes pages (#149), I also had visited https://ziglang.org/download/ before, and hadn’t noticed the dates on that page. I only found they were on that page when I searched this repo for information about release dates and saw that they were inserted onto this page.
How a release on that page looks:
There are three factors making that release date hard to see:
Ideas for solutions
I think I prefer the second one. Even the first one would be an improvement, though.
Idea for the future
It also might be nice if “master” labeled the date differently, since it will have many release dates over time. It might call the date “Last released” or “Last updated” instead of “Released”. However, it looks like the code for the downloads page doesn’t output the master release separately:
www.ziglang.org/config.toml
Lines 11 to 14 in 9de50d6
so let’s leave differentiating “master” for a later step.
Implementation
https://ziglang.org/download/ is generated from this code that displays each release’s date from data/releases.json as a list item:
www.ziglang.org/themes/ziglang-original/layouts/_default/downloads.html
Lines 11 to 16 in 9de50d6
That is the code to change.
In one of my above mockups, CSS would also need to be added somewhere to style a
span
in the heading to have smaller text:font-size: 0.75em;
.The text was updated successfully, but these errors were encountered: