Websites/Snippets/Geolocated-Snippets: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
= Elevator Pitch =
= Elevator Pitch =


Line 23: Line 22:
* Consulted: Privacy, Brand, IT, Security, Mike Kelly
* Consulted: Privacy, Brand, IT, Security, Mike Kelly
* Informed: Chris More, Chris Beard, Dave Slater, Mary Colvig, Pete Scanlon
* Informed: Chris More, Chris Beard, Dave Slater, Mary Colvig, Pete Scanlon
= Documentation =
== Testing on Staging ==
The new client-side code is now online. This means there is a working end-to-end system ready for review. In order to exercise it, you need to take the following steps (in Firefox):
# Navigate to about:config
# Search for browser.aboutHomeSnippets.updateUrl
# Change the url to https://snippets.stage.mozilla.com....(the rest of the url that was already there)
# After saving the value, restart the browser.
# Navigate to about:home.
# Open the Web Developer > Web Console (ctrl+shift+k).
# At the prompt (">") enter localStorage['snippets-last-update'] = 0
# At the prompt (">") enter localStorage.geoLastUpdated = 0
# Refresh about:home. You should see a request to snippets.stage.mozilla.com and another request to geo.mozilla.com.
# At the prompt (">") enter localStorage.geoCountry. You should see a country code derived from your IP address ("US" for United States).
You have now requested the new snippets code from the staging snippets server; and the new snippets code has made a request to the new geo server and stored the result in your browser. If you were in a country that had country specific snippets, you would see them. (There are none yet.)
To restore your browser, navigate to about:home again and modify the snippets server URL (steps 1-3 above). Its default value is:
https://snippets.mozilla.com/%STARTPAGE_VERSION%/%NAME%/%VERSION%/%APPBUILDID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/


= Meetings =
= Meetings =

Revision as of 16:26, 14 March 2013

Elevator Pitch

Firefox OS will land on devices in specific countries at different times. This project will allow us to use the snippets area of about:home to notify users only in those countries about the availability of Firefox OS devices.

Overview

Responsibility Assignments

  • Responsible: Justin Crawford
  • Accountable: Winston Bowden
  • Consulted: Privacy, Brand, IT, Security, Mike Kelly
  • Informed: Chris More, Chris Beard, Dave Slater, Mary Colvig, Pete Scanlon

Documentation

Testing on Staging

The new client-side code is now online. This means there is a working end-to-end system ready for review. In order to exercise it, you need to take the following steps (in Firefox):

  1. Navigate to about:config
  2. Search for browser.aboutHomeSnippets.updateUrl
  3. Change the url to https://snippets.stage.mozilla.com....(the rest of the url that was already there)
  4. After saving the value, restart the browser.
  5. Navigate to about:home.
  6. Open the Web Developer > Web Console (ctrl+shift+k).
  7. At the prompt (">") enter localStorage['snippets-last-update'] = 0
  8. At the prompt (">") enter localStorage.geoLastUpdated = 0
  9. Refresh about:home. You should see a request to snippets.stage.mozilla.com and another request to geo.mozilla.com.
  10. At the prompt (">") enter localStorage.geoCountry. You should see a country code derived from your IP address ("US" for United States).

You have now requested the new snippets code from the staging snippets server; and the new snippets code has made a request to the new geo server and stored the result in your browser. If you were in a country that had country specific snippets, you would see them. (There are none yet.)

To restore your browser, navigate to about:home again and modify the snippets server URL (steps 1-3 above). Its default value is:

https://snippets.mozilla.com/%STARTPAGE_VERSION%/%NAME%/%VERSION%/%APPBUILDID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/

Meetings

Considerations

Project Management

Tracking Bugs:

  • bug 836099 Geolocated Snippets
  • bug 836532 Automatically generated private tracking bug for process gates

Timeline:

<smartsheet id="3641bcb92cb448b1a4323920a1458ab5" width="100%" />

End of Life