repology-updater icon indicating copy to clipboard operation
repology-updater copied to clipboard

Make the freshness map more legible by hiding colliding labels on hover

Open zopieux opened this issue 7 years ago • 8 comments

image

A real fix would be to use eg. d3js to implement zooming. Please tell me if you're interested.

zopieux avatar Nov 14 '17 23:11 zopieux

Wow, nice! Though I wonder if this will work on the site which has Content-Security-Policy header which prohibits builtin scripts.

AMDmi3 avatar Nov 17 '17 16:11 AMDmi3

It'd be great to have this on the main site. What's blocking this?

arrowd avatar Nov 24 '21 15:11 arrowd

It'd be great to have this on the main site. What's blocking this?

:shrug:

zopieux avatar Nov 25 '21 18:11 zopieux

Like I've said, embedded scripts and styles are prohibited by CSP, so it won't work on the site.

AMDmi3 avatar Nov 26 '21 11:11 AMDmi3

Is your point that the embedded script should be extracted in a standalone js file instead of being embedded?

zopieux avatar Nov 26 '21 13:11 zopieux

Yes, that would work.

AMDmi3 avatar Nov 26 '21 13:11 AMDmi3

@zopieux although, if you plan to work on this, we may consider adding an API endpoint which returns JSON with info for all these dots, and generate svg with JavaScript from the scratch instead of moving pregenerated svg objects around. This could allow to conveniently explore the while graph at once given that the points are unevenly distributed. But, I'll happily merge any solution - as said, CSP issue is the only thing that blocks this.

AMDmi3 avatar Nov 26 '21 20:11 AMDmi3

Eh, this CL celebrated its 4 year anniversary eleven days ago, so sadly I won't be giving it any more love. Anyone is very much welcome to take it over though.

zopieux avatar Nov 26 '21 22:11 zopieux