Skip to content

Use project traces in plots#650

Open
dalonsoa wants to merge 2 commits into
630_sync_clockify_buttonfrom
522_use_project_traces
Open

Use project traces in plots#650
dalonsoa wants to merge 2 commits into
630_sync_clockify_buttonfrom
522_use_project_traces

Conversation

@dalonsoa
Copy link
Copy Markdown
Collaborator

@dalonsoa dalonsoa commented Jun 2, 2026

Description

This replaces the previous method of calculating the traces at the plot level for the projects. Changes will follow to do the same for the user's capacity. Whatever traces are shown for the project information, they should be unchanged after this PR.

As a side effect, a few changes have been made to properly use the timezone - since otherwise some datetime objects created by pandas were naive.

Fixes #522

Type of change

  • Documentation (non-breaking change that adds or improves the documentation)
  • New feature (non-breaking change which adds functionality)
  • Optimization (non-breaking, back-end change that speeds up the code)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (whatever its nature)

Key checklist

  • All tests pass (eg. python -m pytest)
  • The documentation builds and looks OK (eg. mkdocs serve)
  • Pre-commit hooks run successfully (eg. pre-commit run --all-files)

Further checks

  • Code is commented, particularly in hard-to-understand areas
  • Tests added or an issue has been opened to tackle that in the future. (Indicate issue here: # (issue))

@dalonsoa dalonsoa changed the base branch from main to 630_sync_clockify_button June 2, 2026 14:25
@dalonsoa dalonsoa requested a review from SaranjeetKaur June 2, 2026 14:26
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.40%. Comparing base (55a100e) to head (a5c3db1).

Additional details and impacted files
@@                     Coverage Diff                      @@
##           630_sync_clockify_button     #650      +/-   ##
============================================================
+ Coverage                     92.28%   92.40%   +0.11%     
============================================================
  Files                            50       50              
  Lines                          1490     1487       -3     
  Branches                        113      111       -2     
============================================================
- Hits                           1375     1374       -1     
+ Misses                           97       96       -1     
+ Partials                         18       17       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Update the capacity plot to use project traces

2 participants