Skip to content

As a developer, I would like to be able to read and more easily understand the code for the click/hover popup box on the map #493

Description

@gsehrlich

Is your feature request related to a problem? Please describe.
The click/hover popup box on the map works, but I implemented it hastily and the code is a bit messy. Some refactoring would clear it up. The prototypes at the bottom may also be missing for some variables.

Describe the solution you'd like
Refactor.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Let's make sure we actually want the hover/click interaction before we put too much energy into refactoring it.

Labels

  • Add a status label
    • needs definition
    • needs help
    • ready to work on
    • in progress
    • backlog
  • Add additional labels as needed

For Developers

Affected Components
I think mostly web/src/components/map/menu.js and ./hover.js.

Testing Outline
Currently this functionality is not tested. Some tests would be a good idea...

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions