Commit Graph

120 Commits

Author SHA1 Message Date
Ed Lee
abebc96b72 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
0b70256f0d 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
867e2b7df9 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
Alex Bardas
9eb90389c0 Bug 1041678 - CTRL/Command K should goto search bar in new tab if open, rather than opening about:home. r=Gijs, r=adw 2014-08-14 15:48:00 -04:00
Ed Lee
0895429293 Bug 1045769 - Adjust new tab whitespace: whitespace sizing, positioning of undo box [r=adw]
Move undo box to the top left above the seach box which now contains its appropriate padding.
2014-08-14 17:03:46 -07:00
Drew Willcoxon
e948dc5adf Bug 1028985 - Provide search suggestions on Firefox new tab page (about:newtab). r=MattN 2014-08-01 12:00:49 -07:00
Ed Lee
3ba1b19f2d 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
6df14f508b 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
Ed Lee
98a99101cc Bug 1036299 - Show enhanced content image when the tile is unhovered [r=adw]
Place an image above the usual thumbnail to hide on hover. Have DirectoryLinksProvider keep a cache of enhanced links/images to use on history tiles.

--HG--
extra : rebase_source : e4d1ddafebf13c1723a79d889a7ca3039396bc0d
2014-07-23 11:02:49 -07:00
Ed Lee
98877cd940 Bug 1036284 - Update styling of newtab tiles to enhanced tiles spec [r=adw]
Set appropriate sizes, coloring, opacity, etc.
2014-07-22 23:42:27 -07:00
Ed Lee
cfae396c80 Backed out changeset 0d2f538bddde (bug 1036284) for Windows 7 bc1 crashes. 2014-07-19 08:34:48 -07:00
Ed Lee
9ef82fbfce Bug 1036284 - Update styling of newtab tiles to enhanced tiles spec [r=adw]
Set appropriate sizes, coloring, opacity, etc.
2014-07-18 23:14:33 -07:00
Ed Lee
16275492e5 Bug 1036288 - Fix search box to 2 columns width instead of stretching all the way [r=adw]
Make the search as big as possible but contained within 2 columns.
2014-07-18 23:14:32 -07:00
Alexander Seleznev
0ad1d99cb9 Bug 1038607 - Fix text color in search field on about:newtab page. r=dao 2014-07-15 03:39:00 +02:00
Tim Taubert
9d534ea90c Bug 1032243 - about:newtab should use native Promise implementation r=adw 2014-07-02 16:38:20 -07:00
Marc Schmitzer
04ef8d8f0f Bug 1031942 - Quote URLs for new tab page thumbnails. r=adw
Without quoting, thumbnails for URLs containing e.g.
parenthesis are not shown.
2014-07-01 13:29:00 +02:00
Drew Willcoxon
e71f047ea2 Bug 1021110 - Icons in about:newtab's search panel should be high-res (2x DPI) on high-res displays. r=ttaubert 2014-06-17 15:23:52 -07:00
Drew Willcoxon
30da9098aa Bug 1019990 - about:newtab preloader should load content.js. r=ttaubert 2014-06-17 12:35:34 -07:00
Drew Willcoxon
2d91185496 Bug 1019991 - about:newtab should lazily build its search panel popup. r=ttaubert 2014-06-17 12:35:34 -07:00
Drew Willcoxon
b56d2e57b4 Bug 1019989 - ContentSearch should pass images as shared ArrayBuffers instead of data URI strings. r=felipe 2014-06-17 12:35:34 -07:00
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