bcgov / nrts-prc-public

Public facing Applications, Comments and Reasons for Decisions
https://comment.nrs.gov.bc.ca/
Apache License 2.0
0 stars 6 forks source link

PRC-860: use API params instead of local filter logic #335

Closed severinbeauvais closed 5 years ago

severinbeauvais commented 5 years ago

NB: this PR will need to be rebased after other PRs on this branch are merged

NB: requires latest API (which is already in Master branch)

-refactored filters and applications component -refactored loading to get only basic applications -refactored list to load full data on demand -refactored detail popup to load full data on demand -refactored map to manage its coordinates -added filter by coordinates (map view) -refactored application service to use new API query parameters -refactored comment period service to use only Open/Not Open -added filtering to app count query -added total number count (for future) -separated purpose and subpurpose filters

severinbeauvais commented 5 years ago

It was decided to NOT merge this into Master independently, since it changes some UI functionality. Instead, this feature/commit will become part of the "new map design" feature (PRC-867).