Page MenuHomeSoftware Heritage

Remove date popups on the visit page when cursor doesn't point it anymore
Closed, MigratedEdits Locked

Description

On the calendar shown on https://archive.softwareheritage.org/browse/origin/visits/?origin_url=https://nix-community.github.io/nixpkgs-swh/sources-unstable.json , a popup is displayed when my cursor points on a visit date. Since the popup hides all other dates, I need to wait for a timeout to get this popup removed.

This popup should only be displayed when the cursor points to it.

Event Timeline

lewo created this object in space S1 Public.
ardumont triaged this task as Normal priority.May 27 2020, 1:14 PM
ardumont updated the task description. (Show Details)
ardumont added a project: Web app.

It gets all the more annoying when that popup hides the other visits.
As in the following screenshot below [1], the popup rises and does not close.
Subsequently hiding the other visits [2]

[1]

[2] context without popup:

Note:
Shaking the mouse a bit and with some luck at a given angle, the popup finally gives up and closes though.

I found that the angle to attack the popup (to close it) is near the top angle of the arrow-shape like opening (if i'm making sense here).

I also experienced that annoying behavior by the past but could not find a viable solution to fix it at the time.

Anyway, I managed to workaround it by:

  • closing the popover when the mouse leaves the day that triggered the popover
  • closing the popover when the mouse leaves the popover

Still some cypress tests to write before pushing a diff.

awesome, thanks for the heads up.