-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter maintenance.timeline to return data from expected date range b…
…ased on limit (#960) * added a method to filter commit activity data based on start date and end date for maintenance timeline to align parity with usage timelime * fixed test error * implemented _process_maintenance_timeline to return data that is consistent with how the usage timeline is implemented, refactored test_activity_dashboard to reflect the code changes, and cleaned up code to improve readability in model.py and test_activity_dashboard.py in general * updated test_fixtures.py and resolved merge conflicts * updated test_activity_dashboard.py * refactored variable name and some more code cleanup * refactored methods in test_activity_dashoboard.py * code cleanup * refactored name for generate_expected_maintenance_timeline * minor spacing fix * addressed code review feedback and created _process_for _dates to be used by both _process_usage_timeline and _process_maintenance_timeline to avoid code duplication * minor code cleanup * refactored model.py such that latest_commits.json and commit_activity.json contain data in which plugin is lower case to maintain parity with the implementation of install activity * refactored _process_maintenance_timline method to be more readable * refactored code to improve readability in model.py
- Loading branch information
Showing
4 changed files
with
99 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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