ppeach / airfilterrecommendation

Recommendation tool for air filters to help reduce transmission of respiratory viruses
GNU General Public License v3.0
11 stars 4 forks source link

Refactor of variable names and more ACH options #7

Closed Wozzyy closed 2 years ago

Wozzyy commented 2 years ago

Variables and language has been moved into a separate constants file so we have a set dictionary and if we need to change the phrasing of something in the form it doesn't mess with the application logic.

ACH has been retooled to allow multiple levels of ACH selection.

ppeach commented 2 years ago

On selecting any of the ACH options the next div should show the space volume number entry rather than the occupancy which is for L/p/s

Wozzyy commented 2 years ago

On selecting any of the ACH options the next div should show the space volume number entry rather than the occupancy which is for L/p/s

Yes, good by me. Have resolved, and now using a data-mode attribute on the option selectors so we don't need to parse the value attribute in JS

Also started on moving away from using jQuery