[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #23518 [Metrics/Atlas]: Turn Atlas into page on Tor Metrics



#23518: Turn Atlas into page on Tor Metrics
---------------------------+--------------------------
 Reporter:  karsten        |          Owner:  irl
     Type:  enhancement    |         Status:  accepted
 Priority:  Medium         |      Milestone:
Component:  Metrics/Atlas  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:  metrics-2017   |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+--------------------------
Changes (by irl):

 * status:  assigned => accepted


Old description:

> We briefly discussed this before, but I didn't find a ticket for it, so I
> made this one.
>
> Let's consider turning Atlas into a page on Tor Metrics. It could live
> under "Home >> Operation >> Atlas".
>
> From a technical perspective I think we could add Atlas as Git submodule
> and copy its index.html into a JSP, so that we can include the Tor
> Metrics banner and footer. And we'd copy over all required JS files.
>
> It would certainly help to get rid of Atlas' navbar and footer and make
> sure that it works well with [https://gitweb.torproject.org/metrics-
> web.git/tree/website/src/main/resources/web/css/style.css Metrics' style
> file].

New description:

 We briefly discussed this before, but I didn't find a ticket for it, so I
 made this one.

 Let's consider turning Atlas into a page on Tor Metrics. It could live
 under "Home >> Services >> Atlas".

 From a technical perspective I think we could add Atlas as Git submodule
 and copy its index.html into a JSP, so that we can include the Tor Metrics
 banner and footer. And we'd copy over all required JS files.

 It would certainly help to get rid of Atlas' navbar and footer and make
 sure that it works well with [https://gitweb.torproject.org/metrics-
 web.git/tree/website/src/main/resources/web/css/style.css Metrics' style
 file].

--

Comment:

 I've now merged the metrics theme with Atlas and rebranded it as Relay
 Search. For now we can display a message at the top of the page to explain
 to users about the rebranding. This will be merged and continue to be
 served by the static mirrors for now, waiting for embedded Jetty in
 metrics-web before merging into the metrics-web codebase.

 Javascript libraries have been updated for compatibility with the versions
 used by metrics-web, including jQuery and bootstrap.

 The only issue that has been found with compatibility is the "return to
 top" button used on the website which uses a URL fragment, conflicting
 with the URL routing for the javascript application.

 Many resources are now loaded from metrics.torproject.org instead of being
 local to the Atlas codebase, which is something we should be aware of but
 is not a large problem as that's where we'll want them to be loaded from
 in the future anyway.

 Currently services.html has:

 {{{
 <li><a href="https://atlas.torproject.org/"; target="_blank">Atlas</a>
 displays data about single relays and bridges in the Tor network.</li>
 }}}

 Let's change this to:

 {{{
 <li><a href="https://atlas.torproject.org/";>Relay Search</a> displays data
 about single relays and bridges in the Tor Network.</li>
 }}}

 (The omission of the _blank target is deliberate, as Relay Search now
 matches the Metrics branding this should be seamless for users.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23518#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs