user survey to be released with ff2 and ff3 updates needs to be linked and shown to the correct locales

RESOLVED WONTFIX

Status

www.mozilla.org
General
--
minor
RESOLVED WONTFIX
10 years ago
5 years ago

People

(Reporter: lmesa, Assigned: pascalc)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

10 years ago
The user survey must be visible to the 10 language locales, but only to 10% of each locale that views the "what's new page" on the day of releases. 

Wil Clouser is aware of the issue and is working on it.

Updated

10 years ago
Assignee: server-ops → nobody
Component: Server Operations: Web Content Push → www.mozilla.com
Product: mozilla.org → Websites
QA Contact: mrz → www-mozilla-com
Group: infra
Stuff I think I know (please correct/confirm):
  Locales this affects: en-US, en-GB, fr, de, it, es-ES, zh-TW, ja, pl, pt-BR
  
  Timeline: Tomorrow (to give us stage time before launch on Friday, 8/8)


Stuff I need to know:
  Where on the page will this link appear?

  What is the link text?

  What is the URL of the pages that this will appear on?

Steps to implement:

1) Add the string to the $locale.lang files.
2) Write javascript that will add the link to the page 10% of the time
3) Add the javascript to the pages mentioned above.
Laura? :-)
(Reporter)

Comment 3

10 years ago
Sorry--don't know how I missed this!

1. Correct.
2. It will appear at the bootom of the page. See example here:
http://mozilla-com-trunk.silverorange.com/en-US/firefox/3.0.1/whatsnew/
> username: mozilla
> password: passmoz 
3. Yes, the link will be something similar to
https://surveys.mozilla-europe.org/?id=8. I think it would be good for
the URL to read "mozilla.com", but AFAIK survey.mozilla.com is already
used for the uninstall survey. Do you think surveys.mozilla.com would
be acceptable as an alias to surveys.mozilla-europe.org?

The link text will be "Take this quick survey and help make Firefox even better!" 

(In reply to comment #3)

> The link text will be "Take this quick survey and help make Firefox even
> better!" 

Laura, I thought that the link was going to be composed of two strings:

"Help us make Firefox even better!"
"Take a few moments to take a quick survey and share your thoughts with us."

(similar to what we see here: http://mozilla-com-trunk.silverorange.com/en-US/firefox/3.0.1/whatsnew/)

I already sent these strings to Pascal for localization.

(Reporter)

Comment 5

10 years ago
You are correct, sir. 

Please change the text to what Stas offered.
Looking at steven's site, it looks like this is already done?  Is there something webdev needs to do to resolve this bug?
Talked with Laura via chat.  Next steps are:

1) Steven commits his changes to SVN
2) I write some javascript to only show his changes to 10% of people
3) QA signs off
4) Laura signs off
5) someone pushes stuff live (probably me)
Reassigning to Steven for step 1
Assignee: nobody → steven
Before we know the exact URL, I'd like to wait for resolution of bug 451110 (I asked for a new domain for the survey tool).
>(In reply to comment #7)
> 1) Steven commits his changes to SVN

(In reply to comment #8)
> Reassigning to Steven for step 1

Committed in r17609 and r17750.
Thanks Steven.

r17774 ( https://www-trunk.stage.mozilla.com/en-US/firefox/3.0.1/whatsnew/ ) shows the survey link at the bottom for 10% of visitors.  I forgot L10n the last time, so the steps from here are:

1) Stas gets a URL from bug 451110 and commits the change to en-US
2) Laura says it's good on the en-US page
3) Someone (??) gets the localized strings and copies the en-US <div> to the locales in comment 1.
4) QA signs off on all locales
5) We push this live
Assignee: steven → clouserw
(Assignee)

Comment 12

10 years ago
I can take care of 3)
Reassigning to Stas for the new step 1
Assignee: clouserw → smalolepszy
Still waiting for a new domain (bug 451110). 
Depends on: 450235, 450240, 451110, 451577
I deleted this from 3.0.1/whatsnew/index.html in r17925 because it's not ready yet and we need to push other changes on this page.  The JS is still committed but won't do anything if it doesnt' find a div#survey.
OK, so now that the bug 451110 is resolved, we can make some progress here :)

The URL for the survey will be: 
http://surveys.mozilla.org/?id=8&plocale={locale}

where {locale} is one of:
en-US, en-GB, fr, pl, it, de, ja, zh-CN, pt-BR, es-ES

We also tried to get the zh-TW translation, but we haven't had any response from the localizer so far. I think zh-CN is good enough (it's Simplified Chinese, spoken in China, whereas zh-TW is the Traditional Chinese, spoken in Taiwan, Hang Kong, Macau and partly in continental China as well).

The next step is to make the change to en-US (I'm not sure if I have commit rights there, can't check it now b/c of the bug 452773...) and ask Laura to verify if it's OK.

Next we can proceed with other locales, as Wil suggested in comment 11. I'll attach the localized strings in a moment.
Assignee: smalolepszy → stas
Created attachment 336055 [details]
Localized strings for the link on the 'whatsnew' page

If en-US is OK, we can use these strings (Pascal offered his help) for other locales.
Created attachment 336538 [details] [diff] [review]
Add the link to the survey to en-US

I don't have access to mozilla.com/trunk/en-US/. Wil, can you review this patch and commit it please?
Attachment #336538 - Flags: review?(clouserw)
Comment on attachment 336538 [details] [diff] [review]
Add the link to the survey to en-US

>+    <script type="text/javascript" src="/js/whats-new-page.js"></script>

Please don't re-add that .js file.
Attachment #336538 - Flags: review?(clouserw) → review-
Attachment #336538 - Flags: review?(clouserw)
Oops, sorry, I accidentally asked for the review twice.

Reed: what's wrong with this file?
(In reply to comment #20)
> Reed: what's wrong with this file?

I'm deleting it in another bug.
(In reply to comment #21)

> I'm deleting it in another bug.

Do you mean bug 445717? This is something unrelated. Is it conflicting with your change?
(In reply to comment #22)
> Do you mean bug 445717? This is something unrelated. Is it conflicting with
> your change?

You're adding this line in your patch:

<script type="text/javascript" src="/js/whats-new-page.js"></script>

That's not right, as I'm deleting that file... Is there a reason you added it?
Ohh, you mean the file, not the line :) Sorry, it's late here..

This js file will make sure that the survey link is displayed to only 10% of people visiting the whatsnew page. Can you leave it for now please?
(In reply to comment #23)
> (In reply to comment #22)
> > Do you mean bug 445717? This is something unrelated. Is it conflicting with
> > your change?
> 
> You're adding this line in your patch:
> 
> <script type="text/javascript" src="/js/whats-new-page.js"></script>
> 
> That's not right, as I'm deleting that file... Is there a reason you added it?

I added code to that file that the survey needs.  Since the code involves a variable (10%) and is used on several pages it's easier that it's in a central location.  Why do you need to remove the file?
Attachment #336538 - Flags: review?(clouserw) → review+
Comment on attachment 336538 [details] [diff] [review]
Add the link to the survey to en-US

I think it's fine.  Reed: please remove whatever you need to from whats-new-page.js but leave the survey code.  We can revisit removing the file completely when this survey is finished.
Ah, I see I'm committing this too.  It's in r18055.  I know I r+'d your patch, but the .js file is a great candidate for late loading so I moved it down to the footer.  The actual patch I committed can be seen at:

http://viewvc.svn.mozilla.org/vc/projects/mozilla.com/trunk/en-US/firefox/3.0.2/whatsnew/index.html?r1=18021&r2=18055
Wil, where can we preview this change? https://www-trunk.stage.mozilla.com/en-US/firefox/3.0.2/whatsnew/ gives me the "Thanks for helping us beta test Firefox 3.0.2" page...
(In reply to comment #28)
> Wil, where can we preview this change?
> https://www-trunk.stage.mozilla.com/en-US/firefox/3.0.2/whatsnew/ gives me the
> "Thanks for helping us beta test Firefox 3.0.2" page...

I commented out the 3.0.2 rewrite in the .htaccess.  It should work now, but this change shouldn't go live until 3.0.2 is released.
I'm still not seeing it... :(

Pascal, will you have time tomorrow to make the changes to other locales using attachment 336055 [details]?
(In reply to comment #30)
> I'm still not seeing it... :(
> 

oremj fixed this
Great, thanks! This looks great.

Laura: can you please confirm that the whatsnew page looks OK to you [1]? I should be able to help Pascal with the localized pages tomorrow. (I'm still following Wil's plan from comment 11).

-- 
[1] Since we're showing the link to only 10% of visitors, chances are that you won't see that link :) You may use Firebug to unhide it or paste this into the location bar: 
javascript:(function(){document.getElementById('survey').className='survey';})();
(Reporter)

Comment 33

9 years ago
I think it looks great!

Let me know if I can be of any more help--thanks again for everything!
Laura, good to hear that :)

Pascal, over to you for changes on other affected locales.
Assignee: stas → pascalc
(Assignee)

Comment 35

9 years ago
Should be done by tomorrow night, I am working on the overall update of these pages for 3.0.2
The survey is now on the staging server and can be access at
http://euro-surveys.php5stage.mozilla.com/id=8

The preview of what's recorder in the DB is here:
http://euro-surveys.php5stage.mozilla.com/results/?id=8

Let's make sure it works like it should :)

Pascal, any news on other locales?
(Assignee)

Comment 37

9 years ago
The pages for other locales are done (r18212 r18213), a few notes:
- japanese whatsnew page is on mozilla.jp, I am CCing Kohei to this bug so as that he applies the changes to the page
- I tested the page on trunk for all locales, it looks good
- there was a mistake in the French strings (a word was repeated) and I didn't quite like the wording so I updated it and updated other strings in the French survey, Stas I attached an updated version to bug #450240
- will this survey be ran only on firefox 3.0.2 or will it be repeated for Firefox 3.0.3 ? If the survey is limited to 3.0.2, is it limited into time ? I need to know it so as to know if I have to remove these changes soon or if they should be kept for the next minor release

thanks
(In reply to comment #37)
> - there was a mistake in the French strings (a word was repeated) and I didn't
> quite like the wording so I updated it and updated other strings in the French
> survey, Stas I attached an updated version to bug #450240

Thanks, checked in in r18215.

> - will this survey be ran only on firefox 3.0.2 or will it be repeated for
> Firefox 3.0.3 ? If the survey is limited to 3.0.2, is it limited into time ? I
> need to know it so as to know if I have to remove these changes soon or if they
> should be kept for the next minor release

The survey will only run for one day (approximately) so I think we will need to revert these changes on September 18. Laura, Wil, is this correct?

Also, we now have the zh-TW translation as well, Pascal can you update the zh-TW page using the strings from attachment 336447 [details]?

The surveys site detects the locale automatically, but I think it would be better to explicitly specify it in the URL anyways, like this:

http://surveys.mozilla.org/?id=8&plocale={locale}

where {locale} is one of:
en-US, en-GB, fr, pl, it, de, ja, zh-CN, zh-TW, pt-BR, es-ES

For example for Spanish, the URL would be:
http://surveys.mozilla.org/?id=8&plocale=es-ES
(Reporter)

Comment 39

9 years ago
Hi Pascal,

This survey will be used in the future, but probably not for another 2 months or so. THe idea is that it will run quarterly with a minor release. This survey, we are hoping, will only be active for about a day this time around. I will be watching the numbers, as will stas, and we'll let you know when its time to shut it off.
(Assignee)

Comment 40

9 years ago
zh-TW and other locales links updated in r18224
Pascal, this looks great, thanks :)
(Reporter)

Comment 42

9 years ago
So it looks like we're waiting on load-testing from oremj and q/a from stephend.

Otherwise, I think all is on track. PLEASE correct me if I'm wrong.
In addition to en-US, I've tested zh-TW, fr, and es-ES, with no issues found.
(Assignee)

Comment 44

9 years ago
I see in the title of the bug that this is also taretting Firefox 2 users. The pages I have updated are for 3.0.2, same for en-US. The 2.0.x pages still use the Firefox 2 design, so I am not sure that this additional content would fit visually right. Laura, can you confirm or infirm that Firefox 2.0.0.17 whatsnew page should have this survey included ?
(Reporter)

Comment 45

9 years ago
Yes, both FF2 and FF3 whats new pages should have the link for the survey. 
Stas--there are two versions of questions 2 and 3, correct?

If not, we'll forget about doing this for FF2 and just create a second version for next time.
Laura, no, there's only one version of these two questions, referring to Firefox 3. In comment #3 you mentioned only Fx3, and besides, I don't think the link would fit in on the fx2 whatsnew pages (do we have a mock-up of this somewhere?).

Let's try to include fx2 ysers next time, shall we?
I missed "ff2" in the title too, somehow :-(
(Reporter)

Comment 48

9 years ago
Lol. Life happens. Next time. Thanks anyways---so are we good to go? Still waiting on Jeremy?
(In reply to comment #37)
> - japanese whatsnew page is on mozilla.jp, I am CCing Kohei to this bug so as
> that he applies the changes to the page

I'll prepare the ja whatnew page tomorrow morning.
(Reporter)

Comment 50

8 years ago
We've moved on to a different survey strategy.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WONTFIX
Component: www.mozilla.org/firefox → www.mozilla.org
Product: Websites → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.