Opened 11 months ago

Closed 9 months ago

#25861 closed enhancement (fixed)

make country clickable and provide country-exits only and AS-exits only links

Reported by: cypherpunks Owned by: irl
Priority: Medium Milestone:
Component: Metrics/Relay Search Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: #26700 Points:
Reviewer: Sponsor:

Description

this use-case comes from the bad-relays@ context.

When we detect exits in a given country it is useful to easily
get a list of all exits in that country or in that AS.

It would be nice if you could add the following URLs/filters on the relay
page:

  • make country clickable put a second link next to it "(exits only)" with flag:exit
  • put a "exits only" link also next to the already AS number link

thanks!

Child Tickets

Change History (7)

comment:1 Changed 11 months ago by teor

I wonder if we should make all the countries clickable.

comment:2 Changed 11 months ago by irl

Making things clickable is always a good idea. I think making countries clickable, and ensuring all the AS numbers are clickable (they may be already) is definitely the right thing to do.

Adding an "exits only" link next to clickables may be a slippery slope however. Once you have that, why not "guards only" or "hsdir only" or "fast only"? The interface would get quite crowded.

Datatables does support filtering, would it be acceptable to have filtering by flag on the search results (table) page? This is a two-click solution, not a one-click solution, but it keeps the interface cleaner.

As an alternative suggestion: Perform an aggregated search for "country:X" and click the exit count to go to the list of exits for that country.

comment:3 Changed 9 months ago by irl

Status: newneeds_information

comment:4 Changed 9 months ago by irl

Owner: changed from metrics-team to irl
Status: needs_informationaccepted

Working on this this week.

comment:5 Changed 9 months ago by irl

Status: acceptedmerge_ready

Fixed in commit c31e1799 in my relaysearch-dev branch. I did implement the "all exits in country" link in the end, but if there are requests for more then will switch to the two click solution instead.

comment:6 Changed 9 months ago by irl

Parent ID: #26700

comment:7 Changed 9 months ago by irl

Resolution: fixed
Status: merge_readyclosed

Merged in #26700.

Note: See TracTickets for help on using tickets.