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 Reset Selection button #140

Open
4 tasks
TylerMatteo opened this issue Jan 13, 2025 · 4 comments · May be fixed by #148
Open
4 tasks

Add Reset Selection button #140

TylerMatteo opened this issue Jan 13, 2025 · 4 comments · May be fixed by #148
Assignees

Comments

@TylerMatteo
Copy link
Contributor

TylerMatteo commented Jan 13, 2025

Acceptance Criteria

  • Filter panel has new "Reset Selection" clickable text (designs)
  • When user clicks Reset Selection, reset dropdown boxes to default selections, query parameters should clear
  • When user clicks Reset Selection, geography filter should be cleared. App should reset to default path. This includes clearing selected project if any
  • When user clicks Reset Selection, map should reset to default lat/long/zoom
@TylerMatteo
Copy link
Contributor Author

@horatiorosa do you feel like you have enough info to work on this after this morning's call? I know the code for this will eventually interact with the other filter resets but try not to get too hung up on that for now - see if you can implement this as-is and we'll incorporate the other functionality incrementally.

@horatiorosa
Copy link
Contributor

Yes I can get going, I don't need to wait until Jessica finishes the redesign (links instead of buttons)

@horatiorosa horatiorosa linked a pull request Jan 31, 2025 that will close this issue
@horatiorosa
Copy link
Contributor

@TylerMatteo it looks like this ticket needs to be updated. The new designs no longer have a clear filter function for the Filter by District section. In working on this ticket, I have functionality for the "Reset Selections" button that should clear all district selections. We should be able to modify it to include attributes, when those have been added.

@TylerMatteo TylerMatteo changed the title Add Reset Selection button to district filter Add Reset Selection button Feb 10, 2025
@TylerMatteo
Copy link
Contributor Author

@horatiorosa I updated this Issue to reflect the new designs. This will just be for the "Reset Selection" button and not button to clear individual dropdown - we can use this Issue @dhochbaum-dcp made for that.

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

Successfully merging a pull request may close this issue.

2 participants