Commit Graph

246 Commits

Author SHA1 Message Date
Maxim Zhilyaev
746791b637 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
c618f41fc7 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
736dafcbee 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
d257013320 Bug 1008160 - Rename newtab.sponsored.trial.message to reflect new string content. r=mardak 2014-05-09 19:54:13 -07:00
Ed Lee
e04f2f95f5 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
aecbebad7c 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
405d9125ab 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
a9575d4e13 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
dc04f53b23 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
d3c169d867 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
5b46f5497b 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.
2014-04-15 12:14:09 -07:00
Ed Lee
ff331b7ca6 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.
2014-04-15 12:14:08 -07:00
Maxim Zhilyaev
528381bc46 Bug 993329 - Remove inline event handlers in newTab.xul [r=adw]
Add listener from page's init instead of inline.
2014-04-10 23:15:59 -07:00
Tim Taubert
d9f375e357 Bug 895359 - [New Tab Page] Switch from promise.js to Promise.jsm r=jaws 2014-04-09 11:43:11 +02:00
Olivier Yiptong
0a087e3879 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
934a2dbbd8 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
84ed1fd082 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
5de3afbeb2 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
646d13dc5f Backed out changeset 3f245df4a3cd (bug 974745) for frequently turning Jetpack tests orange. 2014-03-31 15:00:06 -07:00
Maxim Zhilyaev
1d772622d2 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
ba223a484a 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
f96d12526b 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
44f02e0958 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
7061444878 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
fd34cfb04e 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
304bd1a718 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
568ce905b8 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
a6b0e15d4d 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
387f77ff1e Backed out changeset 84da123a0af0 (bug 895359) 2014-03-25 16:38:26 +01:00
Tim Taubert
e42b262300 Backed out changeset 5d896e33c6a6 (bug 895359) 2014-03-25 16:38:25 +01:00
Ed Lee
44f2e751e5 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
9f07178eb8 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
2509d5f991 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
a345d84ce3 Bug 895359 - Pass draggedSite to updateGrid() to avoid intermittent Windows failures r=jaws 2014-02-14 11:15:51 +01:00
Tim Taubert
47953c0668 Bug 895359 - Switch about:newtab to Promise.jsm and remove remaining callback r=jaws 2014-01-21 00:55:24 +01:00
Georg Fritzsche
158277aedc 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
81717eba13 Merge mozilla-central and ux 2013-11-06 09:01:08 +01:00
Gijs Kruitbosch
4911ef8548 Merge mozilla-central and ux 2013-11-01 23:24:47 +01:00
Drew Willcoxon
54de72c2a3 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
cfc3c6471e Bug 927688 - Enable background thumbnailing on beta and release. r=markh,gps 2013-10-24 17:17:46 -07:00
Drew Willcoxon
5d56688a19 Bug 933984 - Fix "this._mutationObserver is undefined" error on new tab page. r=gavin 2013-11-04 22:32:33 -08:00
Matthew Noorenberghe
3a2a5a9eb8 Merge mozilla-central to UX 2013-10-25 18:30:46 -07:00
Gijs Kruitbosch
3945d3fc95 Merge m-c to ux 2013-09-13 09:42:13 +02:00
Drew Willcoxon
68a1970f9c 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
c067dab0a1 Merge mozilla-central and ux 2013-09-10 16:46:22 +02:00
Drew Willcoxon
2b2f6c4bb7 Bug 912763 - Disable background thumbnails on Beta. r=markh 2013-09-09 19:58:57 -07:00
Gijs Kruitbosch
6eb01f46ce Merge m-c to UX 2013-08-07 21:09:10 +02:00
Gijs Kruitbosch
bf7f625952 Merge m-c to UX 2013-07-25 12:10:08 +02:00
Matthew Noorenberghe
7dc895067e Merge mozilla-central to UX 2013-07-23 23:40:52 -07:00
Mark Hammond
55ffefcde8 Bug 897408 - remove erroneous style.removeProperty call in Site.prototype.refreshThumbnail. r=ttaubert 2013-08-07 11:10:57 +10:00