Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'TOPA notice type' filter to map view #420

Open
3 tasks
emkap01 opened this issue Jul 19, 2017 · 0 comments
Open
3 tasks

Add 'TOPA notice type' filter to map view #420

emkap01 opened this issue Jul 19, 2017 · 0 comments

Comments

@emkap01
Copy link
Collaborator

emkap01 commented Jul 19, 2017

2 filters needed: TOPA: Notice Type, and TOPA: Notice Count

Per Issue #401, users will need the ability to filter the map view based on the type of TOPA notice covering each project (although not all projects will have TOPA notices). Since any given project can potentially be covered by multiple TOPA notices, we will also need a filter for the TOPA notice count per project.

TOPA: Notice Count - Users also want the ability to see which projects have more TOPA notices associated with them than others.

  • add a calculated field to the project table with number of topa notices by joining to the topa table
  • add calculated field to the filter API endpoint
  • add a slider by adding it to dataChoices.js

TOPA: Notice Type - The TOPA table in our Postgres db includes the field notice_type, which indicates the specific nature of the potential change.

Since topa notices are one-to-many with projects, this will require an enhanced filtering methodology in util/filter.js. Need to address #500 before we're able to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant