jariarkko / psgeo

Activity location library
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Certain elements of the UI need to react to program state dynamically #282

Closed ralfstrandell closed 1 year ago

ralfstrandell commented 1 year ago

We have a policy of plain javascript for this app. The document structure has evolved organically and thus lacks some structure (divs, classes, id:s) especially in the Filter Pane, which was originally planned as a static a object. Yes, it's the range filter checkboxes (the old cave lenght filter) that cause headache now.

Addressing this issue for the rangeFilter checkboxes by removing labels and appending text nodes and divs instead, which are easier to address by getElementByWhatever() and update.

ralfstrandell commented 1 year ago

This has been achieved now.