Commit graph

138 commits

Author SHA1 Message Date
Erica Wright
dc93192a58 Bug 1448918 - Create about:welcome page in preparation for firstrun migration. r=dmose
MozReview-Commit-ID: L34uRsOeziS

--HG--
extra : rebase_source : 9e783e9ba1a8473c8867aa9c2a87337005acbab2
2018-04-23 15:47:57 -04:00
Kris Maglione
1c91714d38 Bug 1440747: Don't load onboarding frame script into every frameloader. r=Gijs
Loading this script into every frameloader wasts a massive amount of memory in
every content process, even though it's only needed when we load about:home or
about:newtab.

MozReview-Commit-ID: 5YtEKLGVX4

--HG--
rename : browser/extensions/onboarding/content/onboarding.js => browser/extensions/onboarding/content/Onboarding.jsm
extra : rebase_source : 6592a7ce188cbab5682242d6783883726788130b
extra : amend_source : 6da2cfd3c630e20a7e8b089bbff1403378f5acc3
2018-02-23 13:53:19 -05:00
Matthew Noorenberghe
d868f6b1b1 Bug 1443632 - Change screenshots tour action button back to an <a>. r=kitcambridge
MozReview-Commit-ID: DeEWxnurLty

--HG--
extra : rebase_source : fb3fefac449644b8b83286c92d13ebd677a41055
2018-03-09 17:58:18 -08:00
Masayuki Nakano
bce749c8e1 Bug 1441144 - Make browser/extensions/onboarding/content/onboarding.js handle non-printable keys with "keydown" event listener rather than "keypress" event listener r=mossop
We'll stop dispatching "keypress" event for non-printable keys and key
combinations in the default event group of web content.  Therefore,
onbording.js needs to stop handling some keys with "keypress" event listener.

This patch makes add a "keydown" event listener, handleKeydown(), and make it
handle only non-printable keys.  Note that we'll keep dispatching "keypress"
event for " " and "Enter".  So, we can keep handling them in "keypress"
event listener.

MozReview-Commit-ID: 1jFIv9N03fa

--HG--
extra : rebase_source : 8acabac7ae5c06b527a9fad0fb0fb7b3a2cc5a61
2018-02-26 22:37:11 +09:00
arthur.iakab
bc464b37ba Merge mozilla-central to mozilla-inbound 2018-02-27 12:05:43 +02:00
Frederik Braun
bb0f2d490f Bug 1433929 - Replace all innerHTML usage in the onboarding extension. r=Gijs
MozReview-Commit-ID: HY9JsBb7sFQ

--HG--
extra : rebase_source : b542037aa54cd652a3a24b2ee04e156ddfdd3141
2018-02-16 12:34:27 +01:00
Edouard Oger
25db2f7ed6 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 706d6a9a1187e9b666074d0dd68d03eda3fb448b
2018-02-15 11:24:44 +08:00
Csoregi Natalia
c8a2d994c8 Backed out changeset 22901b9f9199 (bug 1434706) for browser-chrome failures browser_contextmenu_sendtab.js. CLOSED TREE 2018-02-26 21:16:01 +02:00
Edouard Oger
7c03ced862 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 7a19b04f9df52ff58f9837d9d45be54fd3190ec9
2018-02-15 11:24:44 +08:00
Cosmin Sabou
bfd2fc78a3 Backed out changeset a2147499c437 (bug 1434706) for frequent mochitest browser chrome failures on browser_contextmenu_sendpage.js 2018-02-23 22:15:08 +02:00
Edouard Oger
6e2641372c Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : d5f7b31627424b652147674a520ae75571203994
2018-02-15 11:24:44 +08:00
shindli
f2126298f5 Backed out changeset 6e3058771f18 (bug 1434706) for bc6 and X failures in browser/base/content/test/general/browser_contextmenu_input.js and services/fxaccounts/tests/xpcshell/test_accounts.js respectively on a CLOSED TREE 2018-02-23 10:25:56 +02:00
Edouard Oger
1baec66b3d Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 328093c9985c29effb1380e012c35f6da6ee667a
2018-02-15 11:24:44 +08:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Fred Lin
2a707190e1 Bug 1413830 - Data schema change for onboarding telemetry;r=fischer,francois
Implement new processPings and _sendPing, handle sessions via registerNewOnboardingSession
This patch covers all new events except onboarding-noshow-smallscreen and overlay-disapear-resize events will be implemented in bug 1417769

MozReview-Commit-ID: 3jNAmOcrvEa
2018-01-15 15:32:46 +08:00
Gurzau Raul
549b685a71 Backed out changeset b78d2b24b741 (bug 1413830) for leaking test/about/browser_aboutHome_search_telemetry.js r=backout 2018-01-10 12:02:53 +02:00
Fred Lin
ffd413a47c Bug 1413830 - Data schema change for onboarding telemetry;r=Fischer,francois
Implement new processPings and _sendPing, handle sessions via registerNewOnboardingSession
This patch covers all new events except onboarding-noshow-smallscreen and overlay-disapear-resize events will be implemented in bug 1417769

MozReview-Commit-ID: 3jNAmOcrvEa

--HG--
extra : rebase_source : f95ab7f6cf894700412acbc92bcea77345a1406c
2017-10-31 12:01:30 +08:00
Dorel Luca
9f61025cee Backed out changeset 8ba13ef1fec4 (bug 1413830) for failing Browser-chrome on accessible/tests/browser/events/browser_test_focus_browserui.js r=backout on a CLOSED TREE
--HG--
extra : amend_source : 3cfcc7b5b53d200deec501e180b10b7a0b8079ea
2018-01-08 16:15:38 +02:00
Fred Lin
4e10bc7360 Bug 1413830 - Data schema change for onboarding telemetry;r=Fischer,francois
Implement new processPings and _sendPing, handle sessions via registerNewOnboardingSession
This patch covers all new events except onboarding-noshow-smallscreen and overlay-disapear-resize events will be implemented in bug 1417769

MozReview-Commit-ID: 3jNAmOcrvEa

--HG--
extra : rebase_source : 58f1deea02ff6a07c25a0dce1c291ca1ecfa17e8
2017-10-31 12:01:30 +08:00
Edouard Oger
275e1b753f Bug 1420193 - Add Connect Another Device button to Sync onboarding panel. r=markh,mossop
MozReview-Commit-ID: 7M6JMJALz2j

--HG--
extra : rebase_source : 171ace5252f1b750f96494b739d9e8fcafea9d7c
2017-11-23 12:17:37 -05:00
Fred Lin
c14fee40ff Bug 1418191 - not send the CTA telemetry event ping when instant complete;r=Fischer
MozReview-Commit-ID: 9KJazfZqviT

--HG--
extra : rebase_source : cd50d2889f4a18a6ae20170433851a243b484ee9
2017-11-21 13:12:56 +08:00
Fred Lin
aeed887beb Bug 1412761 - copy editing;r=Fischer
MozReview-Commit-ID: LDZFo94cMNZ

--HG--
extra : rebase_source : 08092941d743679ed54a5e849af575e699310d67
2017-11-01 09:55:09 +08:00
Fred Lin
e003603445 Bug 1412164 - add tour_type and timestamp column for onboarding telemetry;r=Fischer,liuche
MozReview-Commit-ID: aqeoxjR7Tu

--HG--
extra : rebase_source : 7b1163efbf085635bf2580a9f6ce3b780ef62e09
2017-10-27 10:20:34 +08:00
Fred Lin
1e17939ca3 Bug 1409977 - mark Onboarding tour will set as completed instantly via define a tour property;r=Fischer
MozReview-Commit-ID: 4zsPzXieZap

--HG--
extra : rebase_source : fdefc23e74d268359e0f421271d1cae867ddea36
2017-10-30 10:44:39 +08:00
gasolin
54175fc332 Bug 1404193 - enable customizable logo, speech bubble string, and hide the skip tour button;r=Fischer
MozReview-Commit-ID: 1VjDxOeYPem

--HG--
extra : rebase_source : 91dae4630d0876721d3641c7358cd959ba65efe4
2017-10-25 18:16:19 +08:00
Sebastian Hengst
72bbdec446 Backed out changeset 0c69682ddb67 (bug 1404193) for eslint failure at browser/extensions/onboarding/content/onboarding.js:1141: Unsafe assignment to innerHTML. r=backout on a CLOSED TREE
--HG--
extra : amend_source : c5e45d0aae6760785abc73059d49fba0693bec05
2017-10-24 09:08:31 +02:00
gasolin
abb89f528c Bug 1404193 - enable customizable logo, speech bubble string, and hide the skip button;r=Fischer
MozReview-Commit-ID: 1cHpXouqNCg

--HG--
extra : rebase_source : 4b1a52b2e044f92fed5856a9fc397b6546c11584
2017-10-19 13:16:32 +08:00
gasolin
9d7a739181 Bug 1389424 - enable onboarding telemetry via ping-centre;r=emtwo,Fischer,liuche
MozReview-Commit-ID: KWRCnD4lFh9

--HG--
extra : rebase_source : e26de84ffd2e52698c8c23d1c548852b8ebdf549
2017-08-31 10:19:04 +08:00
Sebastian Hengst
e307798bb3 Backed out changeset c94d9d435a0d (bug 1389424) for eslint failure at browser/extensions/onboarding/bootstrap.js:159: Expected space(s) after "catch". r=backout
--HG--
extra : amend_source : 5cba8dde4cce24efa2517ae752f0026f80ca52bb
2017-10-17 18:16:14 +02:00
gasolin
ad15db58af Bug 1389424 - enable onboarding telemetry via ping-centre;r=emtwo,Fischer,liuche
MozReview-Commit-ID: KWRCnD4lFh9

--HG--
extra : rebase_source : 9c04b3c21c469372b041095ade5bf87a03b7da0a
2017-08-31 10:19:04 +08:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Fischer.json
62afe84d01 Bug 1399693 - Update the watermark Firefox logo used on new tab from png to svg, r=gasolin
MozReview-Commit-ID: 2GvFoTC1MtN

--HG--
extra : rebase_source : 706c0db3c2661cace6c1190b1fa2bad2e9113aab
2017-09-15 14:38:16 +08:00
gasolin
129f82de1d Bug 1399421 - change onboarding library description;r=Fischer
MozReview-Commit-ID: KMZD8ZwUwRd

--HG--
extra : rebase_source : e782826a285792dfe6bae4ca42b77307f6f978f4
2017-09-15 18:14:00 +08:00
Rex Lee
4a265bd8d1 Bug 1392475 - [Onboarding] Turn fox logo to watermark if all tours or notifications are finished. r=Fischer,gasolin
MozReview-Commit-ID: CLbiHqCmxr0

--HG--
extra : rebase_source : d04e9ec333b02e7c0c3f4b48d1b7712272228a80
2017-08-30 15:24:47 +08:00
Ricky Chien
7a5ff8b249 Bug 1395065 - Move the notification to the top-center of the window r=gasolin
MozReview-Commit-ID: L4OSbt3hJ4q

--HG--
extra : rebase_source : 73d960571b410cf28ca2eb7a5ee6ca24eaa8d184
2017-09-07 18:23:27 +08:00
Ricky Chien
e3a75f22f7 Bug 1392474 - [Onboarding] replace the check box with a “Skip Tour” button r=Fischer
MozReview-Commit-ID: IECHQf03n0z

--HG--
rename : browser/extensions/onboarding/test/browser/browser_onboarding_hide_all.js => browser/extensions/onboarding/test/browser/browser_onboarding_skip_tour.js
extra : rebase_source : d558fa3d3a2777526a76f2683c249984595e8ca6
2017-09-01 23:47:40 +08:00
Fischer.json
2fbaa677c4 Bug 1395480 - Set a 2 week total tour notification timeout for 57 onboarding, r=rexboy
MozReview-Commit-ID: 3GkuqQJPXZX

--HG--
extra : rebase_source : 6d3223eab511a9c6af3b1afd3772f70fdc1b43e7
2017-09-05 17:37:37 +08:00
Fischer.json
2e773ceaa9 Bug 1392472 - Implement the blue dot on the overlay icon button, r=gasolin
The patch

- fixes Bug 1392471 together: before the 1st notification mute session show the speech bubble by default; after the 1st notification mute session show the blue dot by default.

- shows the blue dot by default if the window width is smaller then 1150px disregarding the 1st notification mute session

- shows the speech bubble when hovering on the blue dot

MozReview-Commit-ID: 6TXZrwDwfV3

--HG--
extra : rebase_source : f05853f519edd1847057904f56556358047b1f01
2017-09-04 12:14:33 +08:00
Fischer.json
f645278af1 Bug 1371538 - Should add the Screenshots tour in the onBoarding overlay, r=flod,rexboy
MozReview-Commit-ID: D7YKZyV2Bm2

--HG--
extra : rebase_source : 85ca8034039364fa3573666e2cc007b6205f90af
2017-08-25 12:11:26 +08:00
gasolin
ca3dc8abf2 Bug 1392468 - [Onboarding] replace overlay icon to fox icon;r=Fischer,rexboy
MozReview-Commit-ID: JHtE1Kbr2sk

--HG--
extra : rebase_source : baf4e38e9f2d55e574f7f567d68ceb5daac5f8ca
2017-08-22 11:00:01 +08:00
gasolin
3e0d64b265 Bug 1392791 - not call gotoPage while hide overlay;r=rexboy
MozReview-Commit-ID: 483GaTb0a4C

--HG--
extra : rebase_source : 883bbcb9961f6ba1b065b6f576f6b9146736ca0f
2017-08-24 10:53:55 +08:00
gasolin
54c6df28a3 Bug 1391659 - correctly handle onboarding show/hide state after reload;r=rexboy,timdream
MozReview-Commit-ID: 5voukqbZrNO

--HG--
extra : rebase_source : f8817328c830609bcde129edcc6f19782048116f
2017-08-23 11:19:17 +08:00
Fischer.json
310a230f1c Bug 1388555 - On boarding (Tour) highlight/menu does not disappear after the window resizes or unloads, r=gasolin
MozReview-Commit-ID: G0TdFliTDka

--HG--
extra : rebase_source : 29042251bc3f665324364a95b502a4474bee5856
2017-08-23 18:51:31 +08:00
Sebastian Hengst
79c12610f3 Backed out changeset 2db66a67c944 (bug 1392468) for failing clipboard's browser/base/content/test/newtab/browser_newtab_undo.js. r=backout 2017-08-28 13:18:33 +02:00
Fischer.json
275e54138e Bug 1392822 - change the Library tour action button title to "Show Library Menu", r=gasolin
MozReview-Commit-ID: JRX5UdkAFb4

--HG--
extra : rebase_source : 10e2e8cbd7049c6824bbb46bee8fe3d490cc1476
2017-08-25 13:11:02 +08:00