Commit Graph

100 Commits

Author SHA1 Message Date
Ed Lee
55480a23b3 Bug 975235 - Send click pings for Directory Tiles (including which link, tile, other metadata) [r=adw]
Send a ping from the DirectoryLinks module on various click actions from newtab page.
2014-06-09 22:03:23 -07:00
Ed Lee
b1947e1117 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
6fac9f5dc0 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
c48da415e3 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
5163163b9f 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
b8a73a568f 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
Drew Willcoxon
d287a6255d Bug 1009266 - Make about:newtab use 2x-DPI logos in 1x-DPI windows when a 1x logo isn't available. r=ttaubert 2014-05-13 12:37:13 -07:00
Drew Willcoxon
a6b7bca7aa Bug 1008160 - Rename newtab.sponsored.trial.message to reflect new string content. r=mardak 2014-05-09 19:54:13 -07:00
Ed Lee
8a44fa2c38 Bug 1001854 - Search field length does not consistent after toggle "Hide the new tab page" and restart [r=adw]
Trigger load event if the document was loaded before init such as the user toggling the page.
2014-04-28 11:00:41 -07:00
Maxim Zhilyaev
8ff6d34b4b 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
Ed Lee
10ae9a3ac4 Bug 1001523 - New Tab grid does not provide enough padding below the grid [r=adw]
Calculate offsetHeight from parent containers that includes the margin/padding specified by the children.
2014-04-25 15:33:59 -07:00
Drew Willcoxon
bc68cbb9df 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
Ed Lee
9c1b95ce3d Bug 994185 - When dragging tiles on a 3x2 view, a third row of tiles shows up inexplicably [r=adw]
Also fixes Bug 988907 - Context menu and clicking-to-focus do not work in empty space above/below newtab grid
Cover up the sites that become position: absolute (and escape the flow for overflow: hidden) with an explicit background color for the bottom margin.
2014-04-18 17:55:06 -07:00
Edward Lee
82d29c9493 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
893190ba16 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
Ed Lee
ac847ef39e Bug 991111 - Middle clicks on tiles are not counted [r=adw]
Move the click listener to the xul window to correctly get the click event to filter for site-related clicks.

--HG--
extra : rebase_source : 3fd8b2c658a695fbc9aa79d09f461acaeef2078f
2014-04-15 12:14:08 -07:00
Maxim Zhilyaev
7718402af0 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
Tim Taubert
cb3da5dd7c Bug 895359 - [New Tab Page] Switch from promise.js to Promise.jsm r=jaws 2014-04-09 11:43:11 +02:00
Olivier Yiptong
9efab45b6a Bug 992327 - Change directoryLinks and NewTabUtils to imageURI instead of imageURISpec [r=adw]
Replace reference data and uses of s/Spec//.
2014-04-08 17:02:24 -07:00
Maxim Zhilyaev
64729529ff Bug 990977 - Sponsored tiles: don't expose explanation URL as a localizable string [r=adw]
Hardcode the url into xul instead of dtd.
2014-04-08 17:02:17 -07:00
Phil Ringnalda
4d2da23b5b Bug 992485 - Reduce browser-chrome logs by 1.2MB by not getting complaints while setting "background-color: undefined", rs=ttaubert
CLOSED TREE
2014-04-05 18:23:46 -07:00
Maxim Zhilyaev
612bdfc1db 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
708d01838c Backed out changeset 3f245df4a3cd (bug 974745) for frequently turning Jetpack tests orange. 2014-03-31 15:00:06 -07:00
Maxim Zhilyaev
7763ea191f 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
Maxim Zhilyaev
e2a172198d Bug 975210 - Augment Site._render logic to allow for Sponsored Tiles images & text [r=adw]
For type={affiliate,organic,sponsored} tiles, show the appropriate imageURISpec instead of thumbnail.
2014-03-31 01:51:23 -07:00
Maxim Zhilyaev
1a9803ce61 Bug 974736 - Add icon to title bar of Sponsored Tiles [r=adw]
Also fixes bug 976638 by moving controls.png to the shared directory.
Add an always visible sponsored icon for tiles that are type=sponsored. Also add ignorehover to the cell to prevent styling when pointing at the sponsored icon that happens to be a child of the cell.
2014-03-31 01:51:22 -07:00
Ed Lee
6392e76981 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
Ed Lee
8974c496ed Bug 972930 - Clicks (raw number) for tiles [r=adw]
Provide an array of expected directory link types to count how many were clicked.
2014-03-31 01:51:22 -07:00
Drew Willcoxon
26f1679c90 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
9fb4d14a71 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
bd71d42305 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
Matthew Noorenberghe
7680db399a Bug 879921 - Use the "tabbable" class to make the new tab page's close button tabbable. r=Gijs 2014-03-27 23:13:14 -07:00
Tim Taubert
07b92e3a5b Backed out changeset 84da123a0af0 (bug 895359) 2014-03-25 16:38:26 +01:00
Tim Taubert
9a42d4b439 Backed out changeset 5d896e33c6a6 (bug 895359) 2014-03-25 16:38:25 +01:00
Ed Lee
5ccba59ea9 Bug 980014 - Allow new tab grid layout to reduce rows/columns if the window can't fit 3x3 [r=adw]
Remove newtab-rows and convert the grid to wrap/overflow tiles as necessary by setting the appropriate width and heights. Compute grid dimensions on load/preload and adjust for resizes.
2014-03-24 17:33:08 -07:00
Maxim Zhilyaev
ad7ef35f09 Bug 978338 - Update new tab site rendering for fixed ratio tile images [r=adw]
Fix the size, margins, title, borders of tiles to new spec.
2014-03-21 07:22:53 -07:00
Georg Fritzsche
9d8a6cbe59 Bug 975570 - Measure with telemetry how many times people interact with about:newtab. r=ttaubert 2014-02-27 18:57:05 +01:00
Tim Taubert
96395cf93d Bug 895359 - Pass draggedSite to updateGrid() to avoid intermittent Windows failures r=jaws 2014-02-14 11:15:51 +01:00
Tim Taubert
26fa7c366b Bug 895359 - Switch about:newtab to Promise.jsm and remove remaining callback r=jaws 2014-01-21 00:55:24 +01:00
Georg Fritzsche
b30796027d Bug 971171 - Measure with telemetry how many times people see about:newtab. r=ttaubert,bsmedberg 2014-02-14 12:00:49 +01:00
Gijs Kruitbosch
c38e551bb3 Merge mozilla-central and ux 2013-11-06 09:01:08 +01:00
Gijs Kruitbosch
63530f7b09 Merge mozilla-central and ux 2013-11-01 23:24:47 +01:00
Drew Willcoxon
aa89292db1 Bug 910036 - about:newtab shouldn't load thumbnails in background when hidden by preloader. r=gavin 2013-10-30 19:33:02 -07:00
Drew Willcoxon
313b0c24ef Bug 927688 - Enable background thumbnailing on beta and release. r=markh,gps 2013-10-24 17:17:46 -07:00
Drew Willcoxon
2a4e1d38cc Bug 933984 - Fix "this._mutationObserver is undefined" error on new tab page. r=gavin 2013-11-04 22:32:33 -08:00
Matthew Noorenberghe
562ff5a575 Merge mozilla-central to UX 2013-10-25 18:30:46 -07:00
Gijs Kruitbosch
45d2d8d2ee Merge m-c to ux 2013-09-13 09:42:13 +02:00
Drew Willcoxon
fa026a5be1 Bug 906615 - Background thumbnail service shouldn't overwrite existing thumbnails, and foreground service shouldn't capture when thumbnails are fresh. r=markh 2013-09-12 09:25:57 -07:00
Gijs Kruitbosch
eb7352abc3 Merge mozilla-central and ux 2013-09-10 16:46:22 +02:00
Drew Willcoxon
d9d665c074 Bug 912763 - Disable background thumbnails on Beta. r=markh 2013-09-09 19:58:57 -07:00