OpenWaterFoundation / owf-app-infomapper-ng

Open Water Foundation InfoMapper web application for menu-driven maps and visualizations, using Angular
GNU General Public License v3.0
1 stars 2 forks source link

Feedback on event configuration file and functionality #315

Open smalers opened 3 years ago

smalers commented 3 years ago

The event configuration file seems to be working well. I do want to do a bigger redesign of event handling, but for now let's go with what we have since there is other work that needs to be done. The following are changes that would improve functionality before the big redesign:

  1. Support * wildcards in the include and exclude values.
  2. Make sure that values specified match an attribute and if not, do not add. Print a console message so that the issue can be corrected. If after all processing there are no valid included attributes, revert back to default behavior of showing all attributes.
  3. For attributes that are included, display in the order of the include. This allows sorting the attributes by most important first. If * for include, then use the data layer attribute order.
  4. The data table for viewing all attributes can continue to be shown in the current order. It is a separate discussion to decide whether that should be the original order of the data (probably) or some other order.
Nightsphere commented 3 years ago

Included attributes will be added in order now. I will focus on getting the * wildcard finished next.