Skip to content

[bug] Node labels and overlays are redundant #454

@nemesifier

Description

@nemesifier

Image

When zooming in, this is clearly visible in:

I think we need to ensure that by default these two do not overlap.

I don't have a clear directive now, but I think the whole situation is a mess, here's the problems I see, I make suggestions at each point but I am open for better ideas:

  • I am not sure where the hover overlay is coming from, whether is enabled by default or not
  • It seems to me there's not an explicit ways to disable labels on the geographic map (they appears automatically after a certain level of zoom)
  • If both are enabled, the overlap covers the label and they're quite redundant, ideally the labels should disappear if there's another overlay showing up on hover and by default only one of the two should be enabled (probably the label as it's not invasive)
  • The current config options for controlling this behavior are: showLabelsAtZoomLevel for geo map and showGraphLabelsAtZoom, which is not consistent, I think we should rename showLabelsAtZoomLevel to showMapLabelsAtZoom (in the code we can continue supporting showLabelsAtZoomLevel for backward compatibility) and allow this to be false to disable lables altogether

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Backlog

    Status

    To do (general)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions