WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.34k stars 971 forks source link

Improve daterange selection for changes #11894

Closed harriebird closed 1 week ago

harriebird commented 1 week ago

Proposed changes

This improves the selection of date ranges for the generation of changes using the DateRangeField. This solves issue #11846.

Example image: Screenshot 2024-06-19 at 15-40-35 Changes @ Devel Weblate

Checklist

Other information

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.59%. Comparing base (6aee586) to head (faf1e28). Report is 2235 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11894/graphs/tree.svg?width=650&height=150&src=pr&token=9rzx9QBq35&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg)](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11894?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg) ```diff @@ Coverage Diff @@ ## main #11894 +/- ## ========================================== - Coverage 90.82% 90.59% -0.23% ========================================== Files 554 577 +23 Lines 57306 58827 +1521 Branches 9122 9392 +270 ========================================== + Hits 52046 53297 +1251 - Misses 3640 3837 +197 - Partials 1620 1693 +73 ``` | [Files](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11894?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg) | Coverage Δ | | |---|---|---| | [weblate/trans/forms.py](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11894?src=pr&el=tree&filepath=weblate%2Ftrans%2Fforms.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg#diff-d2VibGF0ZS90cmFucy9mb3Jtcy5weQ==) | `88.08% <100.00%> (+0.21%)` | :arrow_up: | | [weblate/trans/tests/test\_changes.py](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11894?src=pr&el=tree&filepath=weblate%2Ftrans%2Ftests%2Ftest_changes.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg#diff-d2VibGF0ZS90cmFucy90ZXN0cy90ZXN0X2NoYW5nZXMucHk=) | `100.00% <100.00%> (ø)` | | | [weblate/trans/tests/test\_reports.py](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11894?src=pr&el=tree&filepath=weblate%2Ftrans%2Ftests%2Ftest_reports.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg#diff-d2VibGF0ZS90cmFucy90ZXN0cy90ZXN0X3JlcG9ydHMucHk=) | `100.00% <100.00%> (ø)` | | | [weblate/trans/views/changes.py](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11894?src=pr&el=tree&filepath=weblate%2Ftrans%2Fviews%2Fchanges.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg#diff-d2VibGF0ZS90cmFucy92aWV3cy9jaGFuZ2VzLnB5) | `65.78% <100.00%> (+1.45%)` | :arrow_up: | ... and [328 files with indirect coverage changes](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11894/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg)
nijel commented 4 days ago

This introduced regression: https://github.com/WeblateOrg/weblate/issues/11954