Commit Graph

81 Commits

Author SHA1 Message Date
Rex Lee
e8b290868d Bug 1380963 - Display different welcome messages for update or new users on the overlay tour icon.r=flod,gasolin,mossop
MozReview-Commit-ID: A8DxVkSz9dX

--HG--
extra : rebase_source : b3271c44df2b6f92773ada01f003537e86244705
2017-07-17 15:51:43 +08:00
Rex Lee
f4762d7c5e Bug 1381407 - Add Fast&Mordern tour in onboarding overlay. r=flod,gasolin,mossop
MozReview-Commit-ID: 7P4BT3xDheV

--HG--
extra : rebase_source : 16d3d27129bfc664fe3c2d75486414454fc13b1e
2017-07-17 18:25:39 +08:00
Rex Lee
cfc0003109 Bug 1371531 - Add single search tour and notification to onboarding. r=flod,mossop
MozReview-Commit-ID: CQJPpYAmOZd

--HG--
extra : rebase_source : 2e8b28898880d6fc74fa068a985f402d2ad32e72
2017-07-11 16:04:49 +08:00
gasolin
3752705ad3 Bug 1371540 - Should add the Library tour in the onBoarding overlay;r=flod,mossop,rexboy
MozReview-Commit-ID: xPtSZfrzS4

--HG--
extra : rebase_source : 4aadfa9744e28b2e96d48d6c5f65429c2e99e5fa
2017-07-18 14:35:51 +08:00
Rex Lee
6d266e8d9f Bug 1357017 - Display a welcome message on the overlay tour icon. r=flod,mossop
MozReview-Commit-ID: 6Dm0yN0Zc4u

--HG--
extra : rebase_source : 1d2d0dfa8f4715a7c4105f518e01bc33ca1d5e0d
2017-07-12 15:18:40 +08:00
gasolin
abef9a3395 Bug 1381364 - Update Overlay heading string;r=mossop
MozReview-Commit-ID: 1DreCCN0SYg

--HG--
extra : rebase_source : e9e36c93b40ed122ebbc2258d282dc5116099ee2
2017-07-17 12:00:06 +08:00
Rex Lee
29160d4ab7 Bug 1381355 - Use individual icons for Fx 56 tour notifications. r=mossop
MozReview-Commit-ID: DLlRFAqkKxh

--HG--
extra : rebase_source : 146a83107a0001ff6aec80dfdd261481d7e585c1
2017-07-17 14:58:29 +08:00
gasolin
4e8f593a15 Bug 1377289 - [a11y] All tour images should be accessible;r=mossop,yzen
MozReview-Commit-ID: APBEXnNgxC4

--HG--
extra : rebase_source : 606a75fd9434868097cc99f89502c0fb12329160
2017-07-14 12:03:36 +08:00
Ed Lee
17fb6437cc Bug 1381335 - Increase waitForCondition time for initial onboarding-overlay check. f=Fischer r=dmose
Use the larger default 50 tries (and 100ms) on the initial loading of the overlay.

MozReview-Commit-ID: 3qPt8w8yDNN

--HG--
extra : rebase_source : 9ffca1cba88e1cff57dbe3348aacd43f64afd389
2017-07-16 10:04:30 -07:00
Fischer.json
ba0dfbc28a Bug 1381010 - After resizing the window, open the onboarding overlay but the tours would not appear. r=mossop
MozReview-Commit-ID: 3ZxuqTEJJu3

--HG--
extra : rebase_source : 69fe148f0a446f32c96300f54f77133df7652c3d
2017-07-14 21:41:26 +08:00
gasolin
f324b86e29 Bug 1374717 - show alternative message when firefox already the default browser;r=flod,mossop
the call-to-action button will disabled when user click the button, to prevent open settings panel several times
the call-to-action button will be replaced to alternative text when Firefox is already the default browser

MozReview-Commit-ID: LFeTuDnQEFA

--HG--
extra : rebase_source : 93090d1d5994534e370c31b279e23ec78b43cf8a
2017-07-06 16:14:59 +08:00
Rex Lee
124429537c Bug 1378770 - [Onboarding] Sync tour should proceed with only valid Email. r=mossop
MozReview-Commit-ID: BBHPrZPlZzN

--HG--
extra : rebase_source : 1f554bed559b0ab5c6e39561070b2c57f383f690
2017-07-12 12:24:01 +08:00
Fischer.json
7d13c565c2 Bug 1372067 - Part 2: Add the test cases, r=mossop
This commit
- splits up the browser_onboarding_notification.js test
- adds the test_mute_notification_on_1st_session test case
- adds the test_move_on_to_next_notification_when_reaching_max_prompt_count test case
- adds the test_move_on_to_next_notification_when_reaching_max_life_time test case
- adds the test_move_on_to_next_notification_after_interacting_with_notification test case
- updates the existing test cases for the new notification timing policy
- updates the browser_newtab_focus.js test

MozReview-Commit-ID: Ej2bHJSr35z

--HG--
extra : rebase_source : b96eccecf4a82d575ca8dcb13d2ea83848c537a2
2017-07-12 12:44:34 +08:00
Fischer.json
b370360534 Bug 1372067 - Part 1: Implement the prompt timing policy of the tour notification bar, r=mossop
This commit
- mutes tour notification for the 1st 5 mins on the 1st session
- moves on to next tour notification when
  a. previous tour has been prompted 8 times(8 impressions) or
  b. the last time of changing previous tour is 5 days ago
- removes tour from the notification queue forever after user clicked the close or the action button on notification bar to interact with that tour notification.
- makes each tour only has 2 chances to prompt with notification. Each chance includes 8 impressions and 5-days life time. After these 2 chances, no notification would be prompted for tour.

MozReview-Commit-ID: 8fFxohgEkWm

--HG--
extra : rebase_source : 30da9e102d7ffecb3b731ac95dea7c5281db799c
2017-07-12 12:33:45 +08:00
gasolin
0b11bf9e92 Bug 1377470 - run onboarding scripts after browser UI is ready;r=mossop
MozReview-Commit-ID: BRxWc962EW2

--HG--
extra : rebase_source : f64af8d463b9475d3871b8e031cb9e37349cf0bc
2017-07-06 11:40:26 +08:00
Timothy Guan-tin Chien
c493aa2154 Bug 1358970 - Hide onboarding UI when the window size is smaller than 960px, r=mossop
MozReview-Commit-ID: 9Y5SRt21DDP

--HG--
extra : rebase_source : 53195715c38946ebad7537e9110d93a43ea618bf
2017-07-11 14:25:29 +08:00
gasolin
707e2adcab Bug 1379558 - Button style in onboarding should follow photon button style;r=mossop,rexboy
MozReview-Commit-ID: JNXUvOPJDjO

--HG--
extra : rebase_source : cb83c1534e63b25ce3e5003a7e1ced681d33b272
2017-07-10 15:38:17 +08:00
gasolin
345a2f81da Bug 1375775 - test cases for reusable tourset;r=mossop
MozReview-Commit-ID: IlxgYRuFpCc

--HG--
extra : rebase_source : 5fb443a6181e909e6e7dad276e0e5b60ba983936
2017-07-07 11:52:33 +08:00
gasolin
6a631df7f2 Bug 1375775 - Allow reuse existing tours;r=mossop
MozReview-Commit-ID: 4KwLBH5oPXY

--HG--
extra : rebase_source : 3741ce9cc856264774810bd26b727d5fa6ebc2f8
2017-06-26 14:25:55 -07:00
Timothy Guan-tin Chien
e20d1fd33b Bug 1378168 - Ensure overlay notification icon sizing. r=mossop
MozReview-Commit-ID: BNHxuSK2B5R

--HG--
extra : rebase_source : b3596656cd76e20397099621ee761a599653e658
2017-07-06 13:39:19 +08:00
Fischer.json
9fbf3ccc81 Bug 1377433 - Should not do the sliding-up tour notification transition, r=mossop
MozReview-Commit-ID: L4aDUF1s9OI

--HG--
extra : rebase_source : cfdd97d6f6ee5196d6f22303e0a332fa5cd59d31
2017-06-30 06:37:09 -07:00
Tomer Cohen
dc04af5ec3 Bug 1378465 - newtab tour items change offset on completion r=gasolin,mossop
MozReview-Commit-ID: GPX8xuHNbnG

--HG--
extra : rebase_source : 15a61ed0d6819cd6b753503065bee3f156815762
2017-07-06 15:54:12 +03:00
Frederik Braun
56838ddb04 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Phil Ringnalda
dfc9d80e59 Backed out changeset ee5f3f39677f (bug 1377433) for e10s permaorange in browser_aboutHome.js and browser_bug735471.js
MozReview-Commit-ID: 9u6AwMTfEIZ
2017-07-01 08:58:28 -07:00
Fischer.json
62ad0277bc Bug 1377433 - Should not do the sliding-up tour notification transition, r=mossop
MozReview-Commit-ID: L4aDUF1s9OI

--HG--
extra : rebase_source : 4ca15e02796820f670dbd8217195b88ccf3f2723
2017-06-30 06:37:09 -07:00
Tomer Cohen
ab72fbf791 Bug 1377129 - [RTL] bottom onBoarding tour notification doesn't display well on RTL builds (fox icon) r=mossop
MozReview-Commit-ID: KmAnB4KMaPC

--HG--
extra : rebase_source : 72f58ff6ed6fd89672ee6b2e20bc69d7d5af2f1e
2017-06-29 23:01:00 +03:00
Tomer Cohen
496a6d0ec9 Bug 1377129 - [RTL] bottom onBoarding tour notification doesn't display well on RTL builds (main content) r=mossop
MozReview-Commit-ID: 8gnVYC1yjKw

--HG--
extra : rebase_source : 3e15ab3208fb380d7a196bb92422518ddafd09f7
2017-06-29 21:04:06 +03:00
gasolin
9bad2d0933 Bug 1376521 - Updates to 56 Onboarding Tour Overlay Headlines and Body Copy;r=mossop
MozReview-Commit-ID: DKsrfexKoZ7

--HG--
extra : rebase_source : 10caab757616c621dcbbcd9c8072f632778c4978
2017-06-29 14:18:16 -07:00
Rex Lee
15a2c81c7f Bug 1374573 - Update overlay tourset icons and illustrations.r=mossop
MozReview-Commit-ID: 9J7hUl3vl8S

--HG--
extra : rebase_source : c392d5f9fe2642b869164e840dc83beccabf5074
2017-06-26 01:00:50 -07:00
gasolin
fd512fc09d Bug 1377017 - [Onboarding] The Activity Stream option menu is above the onboarding overlay;r=mossop,rexboy
MozReview-Commit-ID: 76IpX75FWf6

--HG--
extra : rebase_source : 4a9eddb20be02fad1fd503aa4a1f868ad6675564
2017-06-28 17:49:45 -07:00
Timothy Guan-tin Chien
1b162d892b Bug 1375783 - Make onboarding tour notification responsive, r=Fischer,mossop
Reduce the minimum width of the tour notification bar so the close button is visible even on a smaller window size.

MozReview-Commit-ID: KTHM3XPSG8C

--HG--
extra : rebase_source : 73b937d3cab4978e3037d2b24bfb736810aeba0d
2017-06-23 15:10:52 +08:00
gasolin
73924a682a Bug 1367696 - PART III add OnboardingTourType tests;r=mossop
MozReview-Commit-ID: 8tyiqkQJ5CX

--HG--
extra : rebase_source : c1545f42b3323a11426cca1e3e5ab82ecc2893e0
2017-06-22 17:50:29 +08:00
gasolin
d9dc7d2e7b Bug 1367696 - PART II add xpcshell structure for onboarding;r=mossop,rexboy
MozReview-Commit-ID: LA3LD8qx35d

--HG--
extra : rebase_source : 1209f33970ffcbd02ccdf8338e61c4c4bb64b22c
2017-06-22 16:25:53 +08:00
gasolin
5c929621d2 Bug 1367696 - PART I determine the tour type;r=mossop,timdream
MozReview-Commit-ID: KUXPftqZdl1

--HG--
extra : rebase_source : 9ba1981c238e19e8c9561fe5fb037f5cc32865cc
2017-06-22 16:10:46 +08:00
Fischer.json
ecd9640d99 Bug 1357021 - Part 2: Add the browser_onboarding_tours.js test, r=mossop
This commit
- renames browser_onboarding_hide_tours.js to browser_onboarding_tours.js
- adds test_click_action_button_to_set_tour_completed and test_set_right_tour_completed_style_on_overlay test cases
- updates test_hide_onboarding_tours test case to test the changes of prefs of tours complete state

MozReview-Commit-ID: A0jD0lZWywL

--HG--
extra : rebase_source : a41c35e9e974dc5ad84a8055efbee245dd7c1814
2017-06-18 17:14:09 +08:00
Fischer.json
219d62f6f1 Bug 1357021 - Part 1: Handle tours completed state, r=mossop
This commit
- turns on the `onboarding-complete` css style for completed tours
- sets individual tour as completed when action button of that tour is clicked
- sets all tours as completed if hide-the-tour checkbox is checked after toggling the overlay

MozReview-Commit-ID: mps3BrdhOz

--HG--
extra : rebase_source : 3023997897dc80f18b59b69e79a82c211338f88c
2017-06-18 14:46:09 +08:00
Rex Lee
863d8bb7b1 Bug 1357023 - Add onboarding tour for Firefox Sync. r=flod,mossop
MozReview-Commit-ID: vZQyXU82YK

--HG--
extra : rebase_source : 8cfc0f521f923b35789a05b5fc4a15523b640f6e
2017-06-14 21:12:56 +08:00
Sebastian Hengst
8de63d1fbe Backed out changeset 4cd7f4883692 (bug 1367696) for failing formautofill tests, e.g. browser/extensions/formautofill/test/unit/heuristics/test_basic.js. r=backout on a CLOSED TREE 2017-06-28 03:30:18 +02:00
Sebastian Hengst
584008b542 Backed out changeset f031600d142d (bug 1367696) 2017-06-28 03:29:13 +02:00
Sebastian Hengst
c3519600b3 Backed out changeset 09814ac870d3 (bug 1367696) 2017-06-28 03:29:09 +02:00
gasolin
d8042b776d Bug 1367696 - PART III add OnboardingTourType tests;r=mossop
MozReview-Commit-ID: 8tyiqkQJ5CX

--HG--
extra : rebase_source : 8b13da016e9de1a37aec9b5c3071eaab28b1c750
2017-06-22 17:50:29 +08:00
gasolin
69dd530e1b Bug 1367696 - PART II add xpcshell structure for onboarding;r=mossop,rexboy
MozReview-Commit-ID: LA3LD8qx35d

--HG--
extra : rebase_source : 839385a2817eb857db265d0d7516b61aed8e5d52
2017-06-22 16:25:53 +08:00
gasolin
865c357751 Bug 1367696 - PART I determine the tour type;r=mossop,timdream
MozReview-Commit-ID: KUXPftqZdl1

--HG--
extra : rebase_source : d036612260387cf2be6a37f0c2743ba21146eaa9
2017-06-22 16:10:46 +08:00
Fischer.json
14773a27fc Bug 1357641 - Part 2: Add the browser_onboarding_notification.js test, r=mossop
MozReview-Commit-ID: 8kEDXaQ0zqK

--HG--
extra : rebase_source : 3994b272dc185ea25d4257eb79e766d23bf6892e
2017-06-16 17:44:06 +08:00
Fischer.json
c8aecb9619 Bug 1357641 - Part 1: Add onboarding tour notification, r=flod,mossop
This commit
- adds onboarding tour notification
- shows still not completed onboarding tour notifications in order
- opens target tour from tour notification for the target tour

MozReview-Commit-ID: AwLtwjoeARQ

--HG--
extra : rebase_source : 264531cf8aaf3f636faecf790a269d0166188f8a
2017-06-21 13:09:29 +08:00
Tomer Cohen
d403c1be76 Bug 1375024 - Icons overlapping RTL text in onboarding tour r=mossop,rexboy
MozReview-Commit-ID: 8pbBMScGoEu

--HG--
extra : rebase_source : dc1e4790b7a03621df69754b8ea1bf8832d47cfa
2017-06-21 22:49:15 +03:00
Rex Lee
4ae765a391 Bug 1374174 - Package UITour-lib.js only in onboarding extension to prevent noreference error. r=mossop
MozReview-Commit-ID: Fbxexo179pk

--HG--
extra : rebase_source : 479ec91fc056a012c42954aa65e6dd77984f92f4
2017-06-22 16:19:16 +08:00
Phil Ringnalda
ee15089976 Merge m-c to autoland
MozReview-Commit-ID: 8Is0wexk66X
2017-06-22 20:45:50 -07:00
Phil Ringnalda
291cb6e01b Backed out 2 changesets (bug 1357641) for OS X near-permaorange in browser_permissionsPromptDeny.js
Backed out changeset ad8486907154 (bug 1357641)
Backed out changeset 3eb9c03bd0cd (bug 1357641)

MozReview-Commit-ID: DuESQH4FecO
2017-06-22 20:44:50 -07:00
Fischer.json
99a6b74591 Bug 1357641 - Part 2: Add the browser_onboarding_notification.js test, r=mossop
MozReview-Commit-ID: 8kEDXaQ0zqK

--HG--
extra : rebase_source : 3994b272dc185ea25d4257eb79e766d23bf6892e
2017-06-16 17:44:06 +08:00