Add the pay data into each .json file for each calendar year
Add all .json files to appropriate folders
Add the new option elements to: <select id="career-one-calendar-year" name="career-one-calendar-year">
and <select id="career-two-calendar-year" name="career-two-calendar-year">
๐ซ Are there any limiting factors?
None
๐ค Things to consider?
Make sure the pay data referenced is from official sources to ensure accuracy
๐ก Describe the feature you would like to see implemented!
Should look into migrating the existing JavaScript to TypeScript
Have had to troubleshoot a few bugs so far that were inadvertently caused by mismatched types
By moving to a strongly-typed language, I believe it will be easier to program with and debug
๐ Have you seen a feature like this somewhere else?
Many sites are developed using TypeScript
It is a very common and popular language, so support for it should be very strong going into the future
๐ค Are there any other things we should consider regarding this request?
I think that this move should happen now while the codebase is smaller. It will make it easier to implement as opposed to when the codebase grows larger
I believe that TypeScript is better at scaling than JavaScript, so in a way, I think a move like this could future proof the codebase as it grows larger