soft_start_date#414
Draft
Danysan1 wants to merge 16 commits into
Draft
Conversation
Collaborator
|
This is amazing ! I wasn't aware that Chart.js offered plugins allowing to do that, I looked a bit in the past to have this kind of highlight but didn't manage to implement it. Changes & docs are looking good for now, glad to see the rest of it 😀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In the italian instance we are representing single-month-long projects but we need to also show the history of tagging in the months right before and after the month.
This is a draft of changes I'm implementing to allow this, specifically:
soft_start_dateoption to the project config, allowing to specify the beginning of the strong community involvement period. The only required date option would remainstart_date, if all four are configured they should be in the orderstart_date<soft_start_date<soft_end_date<end_date. If the two soft dates are specified, their range is automatically highlighted on the chart (see screenshots below)USE_SOFT_DATESboolean option to the site config, which if true makes the site use soft_start_date and soft_end_date to calculate whether each project is past, current or next (which changes how it's shown in the homepage and what's shown at the top of the project page)USE_SOFT_DATES=trueall statistics of the project page should show the statistics for only the soft_start_date - soft_end_date range, instead (or alongside) the statistics for the full historyUSE_SOFT_DATES=trueuse soft_start_date and soft_end_date range for badge calculationsDo you have feedback on the current changes or suggestions on the remaining changes?
Examples:


https://osmit-podoma.wmcloud.org/projects/2025-12_ithydrant
https://osmit-podoma.wmcloud.org/projects/2025-07_ittownhall

