Opened 7 years ago

Closed 6 years ago

#8900 closed enhancement (wontfix)

Collapse RelayFlags on Consensus health

Reported by: bastik Owned by:
Priority: Low Milestone:
Component: Metrics/Website Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Would it be possible to collapse the list of relay flags?

https://metrics.torproject.org/consensus-health.html#relayflags

Probably so that it works without JavaScript and is available to the majority of browsers.

Collapsed by default and expanded when you click on it, maybe with collapsing it again on another click.

Child Tickets

Change History (3)

comment:1 Changed 7 years ago by karsten

Status: newneeds_information

Sounds useful, but how would you collapse the list without JavaScript?

If this is complicated, I'd want to postpone it and rather wait for somebody to work on PyDoctor instead. This isn't the only potential improvement to the consensus-health website.

comment:2 in reply to:  1 Changed 7 years ago by bastik

Replying to karsten:

Sounds useful, but how would you collapse the list without JavaScript?

I'm not excluding JavaScript by default, but some people disable it or use NoScript. So it's probably to be avoided as it may creates a failure state. (The list of relays is more useful to be shown, rather than "hidden" and not accessible to some.)

I thought about CSS (Cascading Style Sheets), while it is unknown to me how well it would be supported by let's say IE.

http://bradclicks.com/CSSplay/foldingList.html
http://www.w3.org/Style/Examples/007/folding.en.html

If this is complicated, I'd want to postpone it and rather wait for somebody to work on PyDoctor instead. This isn't the only potential improvement to the consensus-health website.

I don't know if this is complicated. If this is it has to wait. It's such a minor thing.

If it could break things it is best to be dropped.

(I don't understand what JavaScript does for Atlas, how it works in detail. Code is magic, black magic ;) )

comment:3 Changed 6 years ago by karsten

Resolution: wontfix
Status: needs_informationclosed

This is not going to happen anymore. There's a Python DocTor now, even though it doesn't have a website output. But the only reason for the consensus health page (produced by the Java DocTor) still being online is that Roger sometimes uses it to debug the network. Once Roger has a better tool for that, the good old consensus-health page will go away. Closing.

Note: See TracTickets for help on using tickets.