Skip to content

feat(map): adds preview component, updates UI#39

Draft
oahnh wants to merge 1 commit intomainfrom
nhernand13/phs-29-site-map-filtering-connect-to-spotlights
Draft

feat(map): adds preview component, updates UI#39
oahnh wants to merge 1 commit intomainfrom
nhernand13/phs-29-site-map-filtering-connect-to-spotlights

Conversation

@oahnh
Copy link
Member

@oahnh oahnh commented Feb 27, 2024

✨ New in this PR ✨

One liner: what did you do? 🛠

adds a preview component to the map

Coverage 🙆‍♀️

use this section to break up your task into submodules and track progress, copy from Linear and mark what was completed

  • functionality to handleClose
  • DisplayPreview component
  • Query to load markers onto map
  • functionality to filter the markers

Next Steps:

Currently, the preview card isn't responsive. It doesn't appear centered in some devices. Although I defined a new component to allow us to overlay the preview card, I want to look into a refactor to more safely and responsively (like this).

Additionally, there have been a chunk of UI updates to the map that should also be handled before merging (marker icons, etc.)

How can the reviewer test your code? Where is this sprint located in the codebase? 👩‍💻

REQUIRED: Link a short video demo of the feature you have added. 👩‍💻

Any bugs you encountered or still having trouble with? 🐛

Resources 📔

https://stackoverflow.com/questions/23762176/leaflet-custom-control-position-center

REQUIREMENTS in this section: Link all relevant online resources and related PRs. Write down any new dependencies or packages and link to their documentation. If you ran into bugs, link any stack overflow or online resources that helped you unblock yourself

❗IF this sprint was marked as FRONTEND on linear, cc Claire Wang

REMEMBER: once PR is made, also request a PR review Sarah, CC'ing is NOT enough!
🏚 cc: @sarahhpeng @andreisito

@linear
Copy link

linear bot commented Feb 27, 2024

@oahnh
Copy link
Member Author

oahnh commented Feb 28, 2024

cc @miha-bhaskaran

@andreisito andreisito requested a review from miha-bhaskaran May 4, 2024 06:56
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 this pull request may close these issues.

1 participant