From a067c59a2f6262681164f95da978d0a43cd63af6 Mon Sep 17 00:00:00 2001 From: misaugstad Date: Mon, 10 Jul 2017 11:03:07 -0400 Subject: [PATCH 1/6] updated some text in FAQ --- app/views/faq.scala.html | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/app/views/faq.scala.html b/app/views/faq.scala.html index d34e49a0f8..9efbcd94c3 100644 --- a/app/views/faq.scala.html +++ b/app/views/faq.scala.html @@ -28,22 +28,22 @@

How can I help?

- Great! We really appreciate your help! It would be very helpful if you could use our tool to audit accessibility of neighborhoods. + Thanks for chipping in! You can help us out by using our tool to audit the accessibility of neighborhoods. By accessibility audit, we mean:

  1. - Click Start Auditing. + Click Start Mapping.
  2. - Take an interactive tutorial to learn how to use our tool (if you haven't taken one before). + Take an interactive tutorial to learn how to use our tool (if you haven't taken it before).
  3. Walk along the streets and explore the neighborhood to find and label accessibility features.

- Please watch the following video to see the demo of how the accessibility audit works: + Please watch the following video to see a demo of how an accessibility audit works:

@@ -53,11 +53,11 @@

How can I help?

-

Can I select a neighborhood to audit?

+

Can I pick which neighborhood I audit?

- Yes! Please follow the following steps: + Yes! Just follow these steps:

  1. @@ -179,13 +179,14 @@

    References

-

What to do when navigation arrow disappears?

+

What to do when the navigation arrow disappears?

- Sometimes during auditing, you would have noticed that the navigation arrows go missing, especially, while walking straight. + Sometimes while auditing, you may have noticed that the navigation arrows go missing, especially while walking straight. Worry not, there is a simple solution!

- Just double click on the street to move ahead and you are all set! + Just double click on the street to move ahead and you are all set!

+ And if you are still stuck, you can always use the Jump button on the left.

@@ -233,7 +234,7 @@

Why do my labels disappear?

So, why does it work like this? Well, the answer is kind of complicated but the short answer is: - the Google Street View interface is akin to a 3-dimensional interface similar to walking in the real world. + the Google Street View interface is akin to a 3-dimensional interface, similar to walking in the real world. When you place a label, we convert the 3D position of the label to a 2D lat/long position. However, once you take a step to a new location, we cannot accurately recompute the label's position in 3D for that new view. See, we told you it was kind of complicated. :) @@ -248,7 +249,7 @@

Why do my labels disappear?

-

Are there keyboard shortcuts for the image labeling interface?

+

Are there keyboard shortcuts?

@@ -307,6 +308,11 @@

} diff --git a/app/views/navbar.scala.html b/app/views/navbar.scala.html index 4d91f0c4a5..2ce3523c0d 100644 --- a/app/views/navbar.scala.html +++ b/app/views/navbar.scala.html @@ -118,6 +118,25 @@ } }); }); + + // Log clicking "start mapping" in navbar + $(".navbarStartBtn").on('click', function(){ + var url = "/userapi/logWebpageActivity"; + var async = true; + var activity = "Click_module=StartMapping_location=Navbar"; + $.ajax({ + async: async, + contentType: 'application/json; charset=utf-8', + url: url, + type: 'post', + data: JSON.stringify(activity), + dataType: 'json', + success: function(result){}, + error: function (result) { + console.error(result); + } + }); + }); });