Skip to content

Conversation

@leon1995
Copy link
Owner

@leon1995 leon1995 commented Nov 2, 2025

Note

Adds a new Projects page at /projects with project/unrelated minutes charts, introduces project calculation/settings state, extends data loading (time records, projects, project workers), and upgrades factorialhr and reflex.

  • UI/Pages:
    • Projects Page: New pages/projects_page.py with date range inputs, “Only active projects” filter, error callout, and Calculate action.
    • Charts: Vertical bar chart for project imputed minutes and bar chart for unrelated minutes.
    • Routing: Add routes.PROJECTS_ROUTE and register page in factorialhr_analysis.py and pages/__init__.py.
  • State Management:
    • New States: ProjectSettingsState (date/active filters) and ProjectState (compute imputed/unrelated minutes, chart data, errors, loading flags).
    • DataState Enhancements: Load and store TimeRecord, Project, and ProjectWorker; parallelized in poll_data; clear on reset; internal types switched to Mapping.
  • Templates:
    • Remove footer from templates.template layout.
  • Dependencies:
    • Bump factorialhr to 5.0.2 and reflex to 0.8.17 (plus transitive lock updates).

Written by Cursor Bugbot for commit c3226cb. This will update automatically on new commits. Configure here.

cursor[bot]

This comment was marked as outdated.

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.

2 participants