Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreshReleases: show more intermediary dates #3138

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MonkeyDo
Copy link
Member

@MonkeyDo MonkeyDo commented Jan 21, 2025

Hot on the heels of a comment I made while testing #3125 , realizing our timeline looked very empty for me.

We have a system to decide which dates to show on the timeline that depends on the number of releases for each day.
If there is a long stretch of time without the required minimum releases, the timeline is suddenly very empty, less useful and less clear.
image

The modifications in this PR ensure a date is shown in the timeline at minimum every week.

Also small refactor while I'm in there.

We have a system to calculate dates to show on the timeline that depends on the number of releases for each day.
If there is a long stretch of time without the required minimum releases, the timeline is suddently less useful and less clear.
These modifications ensure a tick is shown for at minimum every week.
@MonkeyDo MonkeyDo marked this pull request as draft January 21, 2025 18:55
The existing code calculates a percentage value for each timeline entry based on all the releases available rather than the subset of dates that we actually show, which ended up skewing the percentages and making the timeline pretty useless.
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