BMMRO-tech / BMMRO

MIT License
3 stars 5 forks source link

Add a dropdown in the encounter list page to select the month of encounter #399

Open rameez25 opened 1 year ago

rameez25 commented 1 year ago

Background

This story is related to #377 where we have decided to remove the "load previous month" button and replace that with a month picker/ dropdown. This is for the ease of scrolling to previous month's data.

Acceptance Criteria

AC1

Given a user is logged in When a user visits the encounter list page Then the user should be able to view a dropdown to select the month of encounter

AC2

Given a user visits the encounter list page When user clicks on the dropdown list Then the dropdown list should have the months ordered in descending order

AC3

Given a user visits the encounter list page When the user clicks on the dropdown list Then the dropdown list should only have 12 months

AC4

Given a user visits the encounter list page When the user selects a month in the dropdown Then the encounter list for that month should be displayed

AC5

Given a user visits the encounter list page When the user can see the dropdown list Then there will be no Load Previous Month button the Encounters page

Wireframes

Link

Tech Tasks