Commit graph

57 commits

Author SHA1 Message Date
Ed Lee
51d9e20da8 Bug 1387682 - Screenshots missing when thumbnailer Promise is garbage collected. r=ursula
Properly clean up on unload from newTab.js to release strong references in the background thumbnailer.
MozReview-Commit-ID: IJNSYjwKUW3

--HG--
extra : rebase_source : c0d9b87ee6b8dd7f3b57f4c3a89fe9a2e324f1a9
2017-08-04 20:38:00 -07:00
gasolin
40422612bd Bug 1361286 - add in-page messages support for Automigration module; r=Gijs
MozReview-Commit-ID: I4xK2PkuHp3

--HG--
extra : rebase_source : 4e307d616ebe237c225ea131f9993c4df34d13ac
2017-05-24 16:56:00 +08:00
Sebastian Hengst
b01db289d2 Backed out changeset 2612892f2785 (bug 1361286) for typos in its strings. r=backout 2017-05-27 10:27:02 +02:00
gasolin
9dbb25e1ad Bug 1361286 - add in-page messages support for Automigration module; r=Gijs
MozReview-Commit-ID: I4xK2PkuHp3

--HG--
extra : rebase_source : e29603a260163534dfcc83bf2886994688aa97e1
2017-05-24 16:56:00 +08:00
Ed Lee
b7eda53134 Bug 1241390 - Remove Suggested Tiles and related features. r=adw,emtwo
Remove suggested and enhanced tiles along with related campaign, frequency-cap, inadjacency, pings, preferences, strings, styles, tests.

MozReview-Commit-ID: FkjaSpSFQHu

--HG--
extra : rebase_source : 1c58ac542180f0abb290639ec1c61b9edf3d0a51
2017-05-02 17:09:16 -07:00
Ehsan Akhgari
584faa1af2 Bug 1360788 - Part 1: Move the new tab page update timer to idle dispatch; r=mconley 2017-05-02 19:03:06 -04:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Phil Ringnalda
c83d1d7ce9 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 51FMtH1yTe6
2017-01-04 18:33:32 -08:00
Dão Gottwald
d6b3b14643 Bug 1322738 - Implement compact about:newtab tiles styling. r=gijs 2017-01-04 22:39:52 +01:00
Gijs Kruitbosch
66df3660b9 Bug 1322730 - display undo migration message on about:newtab, r=Dolske
MozReview-Commit-ID: 8nIGdD9XyFH

--HG--
extra : rebase_source : edb3034962fb0f29e7bd245974096b6609718313
2017-01-04 19:05:50 +00:00
Sebastian Hengst
e5329fbf68 Backed out changeset 9647d2c82af4 (bug 1322730) for eslint failures. r=backout 2017-01-04 20:05:06 +01:00
Gijs Kruitbosch
71aae2ba87 Bug 1322730 - display undo migration message on about:newtab, r=Dolske
MozReview-Commit-ID: 8nIGdD9XyFH

--HG--
extra : rebase_source : 82e1ca0b02602a69510da54de9a329289b5d57ce
2016-12-15 16:54:36 +00:00
Dão Gottwald
3fe7e2cb48 Bug 1301086 - about:home and about:newtab search submit label needs to be a left pointing triangle for RTL locales. r=mak 2016-09-09 17:18:57 +02:00
bsilverberg
81f0639812 Bug 1248978 - Fix spelling error in page.js. r=jdm
MozReview-Commit-ID: LrZ4EZmwUy

--HG--
extra : transplant_source : %BE%A9%01d%D6k%8A%04%1A%EA%40%16%3F%3DIc%19E%3F%14
2016-02-17 10:01:27 -05:00
Jared Wein
21f682effb Bug 1229636 - Remove new tab first time use message. r=gijs
--HG--
extra : transplant_source : 6g%D7%0DmJ7%F5%08%90%16%F8%A9%15%0B%2C%BE%3EC%FA
2016-01-08 17:31:14 -05:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Ursula
d16a40a831 Bug 1167601 - Convert newTab.xul to newTab.xhtml. r=mconley
--HG--
rename : browser/base/content/newtab/newTab.xul => browser/base/content/newtab/newTab.xhtml
extra : commitid : 33BT0Kzei0K
extra : rebase_source : 218e167293315c58727d55676ec6148e0cda627c
extra : amend_source : 7810e59a11fb6d636c71d0821fbccd5391f258b6
2015-06-15 10:23:33 -04:00
Maxim Zhilyaev
dc31dd4a7f Bug 1178966 - Add FHR probe to measure eyeball time spent on newtab [r=bsmedberg] 2015-07-08 21:41:10 -07:00
Mike Hommey
a99e964614 Bug 1094324 - Set browser.newtabpage.enhanced default in prefs. r=adw
The current behavior is that if there is no user pref, it is set to true or
false depending on the value of privacy.donottrackheader.enabled, but
completely ignoring the global default.

This patch changes the behavior such that:
- browser.newtabpage.enhanced's default value is set as a global default
- it is also set as sticky, so that even when the same value as the default is
  set, prefHasUserValue is true.
- The introduction is not shown when the default for browser.newtabpage.enhanced
  is false. It is however shown when the pref is flipped for the first time.
2015-06-30 07:30:33 +09:00
Maxim Zhilyaev
620576d637 Bug 1145428 - Suggested Tiles pins (becomes a user history tile after end time) [r=adw] 2015-05-22 16:30:21 -07:00
Tim Taubert
e2f56217e8 Bug 1077652 - Simplify about:newtab page update mechanism and correct behavior to work better with preloading r=gijs 2014-11-07 14:56:30 +01:00
Tim Taubert
e87a1a3ec8 Bug 1071635 - Get rid of uninterruptible reflows caused by checkSizing() and onPageFirstSized() r=adw 2014-09-23 19:08:56 +02:00
Ed Lee
14f090dfa9 Bug 1053530 - Enhanced Tiles intro text popup [r=adw]
Add a panel that opens from the customize menu. Automatically show it on first opening.
2014-08-21 12:05:48 -07:00
Ed Lee
5b064add4e Bug 1042214 - Send detailed view ping of shown tiles [r=adw f=gavin]
Report click and view pings the same way by including sites with their metadata when tiles are enhanced defaulting to true unless DNT is on. Remove telemetry probes and related now unused codepaths. Explicitly not send urls for history and only for enhanced.
2014-08-08 15:40:40 -08:00
Ed Lee
36f8360fb3 Bug 1040369 - Replace sponsored icon with identifying text [r=adw]
Add sponsored text next to title that triggers explanation text. Remove unused sponsored icon and related files.
2014-08-21 19:21:38 -07:00
Ed Lee
a1ba17e074 Bug 1037091 - Add gear button with doorhanger configuration of newtab page [r=adw]
Add new newtab control file for the customize functionality. Reuse existing panel styling of the search engine panel.

--HG--
extra : rebase_source : 77e84fad6997504040831872d80069d024b1d570
2014-07-24 17:20:03 -07:00
Ed Lee
b32fe95f18 Bug 1042204 - Control the enhancement of history tiles with a pref [r=adw]
Only show enhanced history when the pref allows it. Update newtab pages when enhanced pref changes.

--HG--
extra : rebase_source : 3a7466d119df6d0bffef4a71e9142b1e21f077ed
2014-07-23 11:02:51 -07:00
Drew Willcoxon
d962fbd62a Bug 1019990 - about:newtab preloader should load content.js. r=ttaubert 2014-06-17 12:35:34 -07:00
Ed Lee
4262c7162e Bug 1019298 - Use Telemetry to count which directory links were shown in which tile position [r=adw f=gfritzsche]
Remember the directory index and trigger the telemetry probe for link0-8 and tile0-8.
2014-06-05 00:29:51 -07:00
Maxim Zhilyaev
b26041e88a Bug 993901 - Implement logic to decide when to fetch remotely hosted links [r=adw]
Download links file if it's been a day on init, new tab load, or pref change.
2014-05-27 13:59:33 -07:00
Wes Kocher
dd116b95d3 Backed out changeset 94eef72cb9b7 (bug 993901) for causing OSX bc1 to frequently fail in browser_tabopen_reflows.js 2014-05-28 17:00:32 -07:00
Maxim Zhilyaev
3980423de1 Bug 993901 - Implement logic to decide when to fetch remotely hosted links [r=adw]
Download links file if it's been a day on init, new tab load, or pref change.
2014-05-27 13:59:33 -07:00
Tim Taubert
de92dbfcc9 Bug 973532 - Let the preloader's docShells be inactive so that about:newtab can rely on document.hidden r=adw 2014-05-19 23:33:59 +02:00
Maxim Zhilyaev
34d736b7ba Bug 995436 - Use different sponsored panel text for Release and non-Release [r=adw]
Package both text and hide the one that shouldn't be shown.
2014-04-26 13:39:58 -07:00
Drew Willcoxon
0e5c640329 Bug 962490 - Add a search field to the new tab page (part 2: about:newtab changes). r=ttaubert 2014-04-24 19:09:23 -07:00
Edward Lee
28190650c7 Bug 998163 - 8% Tp5 Optimized regression on inbound for most all platforms [r=adw]
Bug 998387 - Middle click on newtab block button blocks the site
Only add click listener once at the page level and filter/delegate click handling looking for primary/middle clicks.
2014-04-18 13:58:24 -07:00
Ed Lee
db27d3fc8a Bug 991210 - [new tab page] Tiles are sometimes arranged all in a single line (wrapping as appropriate, e.g. to two lines with 5 items and then 4 items), instead of 3x3 grid [r=adw]
Always Grid_init before "load", defer size calculation to "load", and only wait for links cache for site rendering. Clean up timers triggered from previous tests to avoid unexpected updates.

--HG--
extra : rebase_source : aba79dc12fd3660c50d8004197a6b2f5a23419cb
2014-04-15 12:14:09 -07:00
Maxim Zhilyaev
a4447e5402 Bug 993329 - Remove inline event handlers in newTab.xul [r=adw]
Add listener from page's init instead of inline.

--HG--
extra : rebase_source : 3a635d20bbb2b35caa23c4d7a5823172d066aee9
2014-04-10 23:15:59 -07:00
Maxim Zhilyaev
28ecf7b75e Bug 974745 - Create click event on Sponsored Tiles to show explanation panel [r=adw]
Have the page know how to show a panel on a sponsored icon click.
2014-03-31 01:51:23 -07:00
Wes Kocher
96bc31225b Backed out changeset 3f245df4a3cd (bug 974745) for frequently turning Jetpack tests orange. 2014-03-31 15:00:06 -07:00
Maxim Zhilyaev
48ab7ff843 Bug 974745 - Create click event on Sponsored Tiles to show explanation panel [r=adw]
Have the page know how to show a panel on a sponsored icon click.
2014-03-31 01:51:23 -07:00
Ed Lee
2fbb421a86 Bug 972936 - Overall impressions metrics for New Tab [r=adw]
Add a histogram for each of the 3 directory link types and count how many were shown.
2014-03-31 01:51:22 -07:00
Drew Willcoxon
92da42e60f Bug 911307 - Reflect changes to top sites immediately in about:newtab (part 2, front-end patch). r=ttaubert 2014-03-28 23:31:05 -07:00
Phil Ringnalda
128149306e Backed out 2 changesets (bug 911307) for frequent timeouts in browser_newtab_perwindow_private_browsing.js
Backed out changeset 70638b7c97f1 (bug 911307)
Backed out changeset 3951f7e82b4c (bug 911307)
2014-03-29 12:13:11 -07:00
Drew Willcoxon
5af27d6f35 Bug 911307 - Reflect changes to top sites immediately in about:newtab (part 2, front-end patch). r=ttaubert 2014-03-28 23:31:05 -07:00
Georg Fritzsche
bd62e84361 Bug 971171 - Measure with telemetry how many times people see about:newtab. r=ttaubert,bsmedberg 2014-02-14 12:00:49 +01:00
Drew Willcoxon
0429ffc7c9 Bug 933984 - Fix "this._mutationObserver is undefined" error on new tab page. r=gavin 2013-11-04 22:32:33 -08:00
Drew Willcoxon
3fd8db572a Bug 910036 - about:newtab shouldn't load thumbnails in background when hidden by preloader. r=gavin 2013-10-30 19:33:02 -07:00
Mark Hammond
2f570a9c72 Bug 870100 (part 2) - about:newtab observes notifications for new page thumbnails. r=ttaubert 2013-07-23 17:41:12 +10:00
Tim Taubert
33a343345c Bug 791670 - part 3 - fix newtab page tests; r=jaws 2013-06-04 22:20:44 +02:00