You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we switch the home page banner intro text manually after each Election Day calendar milestone (day after registration closes, day after Advance Ballot deadline, day after Election Day, etc).
Let's automate that rotation with some pre-defined rules.
If we have special keys in the translations.json file for each milestone change, then the app can do the calendar math and automatically pick the banner text based on what day it is.
This ticket represents figuring out:
milestone days
what calendar math to apply
what special translation key to use for each milestone
The text was updated successfully, but these errors were encountered:
Thought: I wonder if a calendar.json file would make sense. The structure might be an array (list) of election season objects, where the keys are milestone days and the values are dates. Essentially turning https://sos.ks.gov/elections/important-election-dates.html into a structured list. Where no time is listed, the implicit time is 23:59:59 (end of day).
Currently we switch the home page banner intro text manually after each Election Day calendar milestone (day after registration closes, day after Advance Ballot deadline, day after Election Day, etc).
Let's automate that rotation with some pre-defined rules.
If we have special keys in the
translations.json
file for each milestone change, then the app can do the calendar math and automatically pick the banner text based on what day it is.This ticket represents figuring out:
The text was updated successfully, but these errors were encountered: