Fix Bug 935719 - Tabzilla: Create an out of date version warning for users not on the current version#1548
Fix Bug 935719 - Tabzilla: Create an out of date version warning for users not on the current version#1548kyoshino wants to merge 1 commit intomozilla:masterfrom kyoshino:bug-935719-updatebar
Conversation
There was a problem hiding this comment.
Nit: should always specify a radix parameter when using parseInt.
There was a problem hiding this comment.
Thanks! Added the radix param for backward compatibility. (It's no longer necessary on Firefox 21+ and other modern browsers)
|
Changed the cancel message from "Later" to "Update later." as per a :Habber's comment. |
|
Thanks @kyoshino - I'm guessing we need to start with l10n for these strings now the messaging has been looked over on the UX side. @flodolo @pascalchevrel? |
|
I see three strings "Looks like you’re using an older version of Firefox." The first two are identical to new.lang, last one is brand new. Am I missing anything else? |
|
Should this update bar be restricted to desktop only? https://support.mozilla.org/en-US/kb/update-firefox-latest-version also only relates to desktop information. |
|
@flodolo Yes, we have only one new string: "Update later."
@alexgibson Hmm, is it better to show the bar also for mobile users and add a mobile-specific info to SUMO? An ESR-specific info also needs to be added to the article. |
|
Will update the PR to exclude Firefox for Android for now as discussed in the meeting. |
|
And about the string: we are discussing the messaging for ESR users in Bug 952549. |
|
Added a check for mobile. (Android and Firefox OS) |
Thanks @kyoshino! Can we please also add a test for mobile using some Firefox for Android & Firefox OS UA strings? Also I'd be interested to know if strings like Update: Ah, I see from here that |
|
@alexgibson Thanks! Added tests for mobile. |
|
On a related note, I have opened a separate bug here as we should probably update code elsewhere on bedrock to reflect Firefox detection on Tablets: |
There was a problem hiding this comment.
Do we need Android in as a check here?
Looking at the current Firefox UA's we should already be covered just by checking for Mobile and Tablet, unless I'm mistaken.
There was a problem hiding this comment.
Umm, Android is probably redundant. The older UA strings didn't have Mobile nor Tablet but checking for Fennec should be enough. I'll remove it.
|
Ping @pascalchevrel - just checking in how are we doing on l10n for this change? |
|
I think this bug slipped out of radar. We have the first 2 strings in new.lang, nothing similar to "Update later." |
|
We still need to discuss the messaging in the bug. |
|
Closing until the final decision is made in Bug 952549. |
|
Detached the |
…users not on the current version
|
I have to update the message and logic. |
No description provided.