What I was trying to do:
View Elected official electoral dates information
What I expected to happen:
I expected to see dates of last election and next election and days since last last election, as well as the progress bar
What actually happened:
Nothing is shown.
Directives - Requirements
The election.lastElectionOn and election.nextElectionOn are both in firestore.
They are the 'Last Election' and 'Next Election' to show in this feature.
The 'Days Served' are to be calculated from present date compared to lastElectionOn.
The progress bar is to be displayed and calculated from these dates
If either the last election date, or the next election date is blank in firestore, do not display this entire feature altogether.
If the next election date is greater or equal to current date (bad data), do not display this feature altogether.
From Figma (what needs to be added)
Whole EO page section (where to add it)