Commit graph

19 commits

Author SHA1 Message Date
Chris Peterson
e6491b54d1 Bug 1105406 - Remove deprecated for-each-in array comprehension in about:newtab. r=adw 2014-11-25 23:45:45 -08:00
Tim Taubert
20449165ca Bug 1070620 - Render newtab page grid and sites in a single step using a DocumentFragment r=gijs,adw 2014-09-20 18:08:49 +02:00
Tim Taubert
5ccfa07bf9 Bug 1067173 - Bail out early if _resizeGrid() is called before the page has loaded f=Mardak r=adw 2014-09-20 20:41:18 +02: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
fd8aade4c4 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
Ed Lee
705baf23e7 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
719633e43d 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
Ed Lee
046a8e3e6d 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
Ed Lee
240614d5f9 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
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
Ed Lee
d647776123 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
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
b6a32b06ae 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
6a036331ee 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
Tim Taubert
33a343345c Bug 791670 - part 3 - fix newtab page tests; r=jaws 2013-06-04 22:20:44 +02:00
Bellindira Castillo [:bellindira]
055134613f Bug 752841 - [New Tab Page] Make the number of tabs adjustable; r=ttaubert 2012-08-16 23:01:03 -06:00
Tim Taubert
be0be8ae6c Bug 729878 - Part 1 - New layout implementation; r=dietrich,dao ui-r=shorlander 2012-03-13 03:23:01 +01:00
Tim Taubert
92d0ab1539 Bug 730484 - [New Tab Page] don't iterate NodeList properties when creating cells; r=dietrich 2012-02-25 01:08:44 +01:00
Tim Taubert
383d0c64c5 Bug 455553 - Part 1 - XUL/HTML Page and Scripts; r=blair,dietrich 2012-01-25 23:40:18 +01:00