hackforla / hackforla/311-data

DEV - Bookmarking of Map parameters in query string

Open
#1,437 9 comments 0 reactions 0 assignees View on GitHub
Complexity: Medium p-feature: Map ready for dev lead Role: Frontend size: 8pt Tech Stack: New
Dominant language
JavaScript
Stars
73
Forks
74
PR merge metrics
No merged PRs in 30d

Description

### Dependency
- [x] #2015

### Overview
The ability to bookmark map links and have the map load by default with preconfigured parameters (request types, open/closed/all, selected dates, etc...), so that community members (users) can share links to data subsets on maps/reports, etc.

### Action Items

- [ ] 1 Proof of concept - Design a query string that maps a Map parameter to a variable. Ensure variable is accessible from React router and codebase responsible for bootstrapping initial Map loading data. (encode/sanitize input and console.log)
- [ ] 2 Proof of concept - Review the Map's bootstrapping code. Identify how data gets loaded from Redux and design a way to filter the loading of this data given the variable defined from step 1
- [ ] Implement 1 + 2 for all Map parameters
- [ ] Test test test

### Resources/Instructions
- Leverage work already completed: https://github.com/hackforla/311-data/issues/1115
- Related issue:

#### Examples of bookmarking sections or results
- Section: https://www.hackforla.org/about/#sustainability
- Results: https://www.hackforla.org/projects/?technologies=AWS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.