-
Story
-
Resolution: Done
-
Normal
-
None
-
None
The details pages currently show an empty state when there is no data for the current month. For example, when we're gathering data for the first day of the month.
Instead of showing an empty state, we want to show the previous month if available. If data is not available for either month, then show the empty state.
The page would work like this:
- Add a dropdown for the current and previous month
- Page defaults to the current month
- If current month data is unavailable, show previous month
- Show a tooltip for the disabled dropdown option
- If no data for either month, show the empty state
Note that we should also consider removing the month selector from the export dialog. Since previous data would be viewable, the selector is no longer necessary.
Stefan suggested adding an inline alert to indicate the user is viewing data for the previous month.