Add Month/Year select(s) to Home Profile Activities section
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
As a manager, I would like to be able to answer the following questions:
- Who has been active with our residents in a given Month and Group Home?
- What are the counts of activities by type in a given Month and Group Home?
# Task
Add a month/year selection to the Home Profile in the Activities section. When a month/year combination is selected, update the Home Activities charts with data from that period. The query should default to the current month, rather than the 'last 30 days'.
# Note
The month/year selector does not need to allow for a day selection. However, it will likely need to create a JavaScript `Date` object in client-side code, so that we can pass a valid date string to the server-side query.
Contributor guide
Research direction
Start at the Home Profile Activities section and trace how its charts obtain activity data. Add month/year selection that defaults to the current month, creates a valid date for the server-side query, and refreshes the charts for the selected period; verify counts and activity data for a chosen group home and month.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- full-stack
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100