Sunday, September 25, 2016

Policy Plus - Filters

Today I finally wrote the IsPolicySupported function that determines whether a given policy is considered "supported" by a list of products. It wasn't as difficult as I was expecting. The trickiest part was handling ranges correctly. I did run into some challenges, though, in getting the main form's ShouldShowPolicy to work in a reasonably expected way when confronted with filter-by-comment on dual-section policies. It seems to be working pretty well now. I also adjusted the filter options dialog slightly to automatically check all sub-entries of a newly checked product. That's important when dealing with ranges.

The changes are live on GitHub.

No comments:

Post a Comment