Skip to content

Add "See Related" functionality #20

@abettermap

Description

@abettermap

Summary

...from today's Zoom, in a nutshell:

the elements in the Details panel should be clickable and will trigger the same filtering behavior as that of clicking a cell value in the table. See "Original summary" section below for more details.

UI considerations

  1. How to make these elements appear link-like without a 💩 -show of overwhelming colors? The white and great look great as-is, as does the lack of underlines.

Behavior questions

  1. Define app-wide behavior/impacts .
  2. Outline scenarios which might conflict with table filters.
  3. ...and vice versa.

Ideally this will all be route-based so we can just sprinkle in route links as needed. "just" 😆

Code approaches

  1. How to preserve/overwrite routes efficiently?
  2. If going all-in with routes, will need to scrap at least rewrite the logic in onRowClick handler.
  3. Full-circle back to this I guess?

Original summary

From Ross (paraphrased):

“Show Nearby” would be amazing... I’m continually aware that in many cases we have large groupings of languages: several dozen Englishes, a dozen varieties of Spanish, same with Chinese, Arabic, and some others. I’m sure the way we display search results will bear the biggest burden here, but I’m hoping that we can open people’s eyes to the diversity within familiar "languages" like these that are actually “macrolanguages” or groupings. There won’t be a way just to go to "Chinese", for instance… I have no sense of the technical challenges, but it just occurred to me in terms of a dream “recommendation engine” that one variety of Chinese could lead people to others, for instance.

More detail is available in this Sheets Data Schema thread, but basically the idea is to see features with similar attributes and encourage users to explore. This could be a linkable item inside a popup, for example (Jason):

What if the popup showed “Top-level language: Chinese” (or whatever the attribute might be) as a link rather than just text?

Not to get too far into routing here, but a URL can really reflect what it represents, so in the above case the link would point to something like “map.languagemapping.org/layers/languages/top-level-lang-family/Chinese”. And visiting the link would do several things: symbolize and/or label the layer by top-level language, filter by Chinese, and zoom to the extent of the results?

Just brainstorming for now, total wishlist and not in the SOW, but we can revisit later if time permits. It certainly ties in with the routing concept as well.

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