Commit Graph

1173 Commits

Author SHA1 Message Date
Michael Comella
196f5f016f Bug 1388377: Add highlights empty state. r=liuche
MozReview-Commit-ID: 1M1nqWSoER3

--HG--
extra : rebase_source : 4c84e431baac1a64876bede36d05c0d3399b0f63
2017-08-31 15:21:43 -07:00
Michael Comella
b4266caa6c Bug 1388377: Rm WelcomePanelRow. r=liuche
We show a message:
1) On first run
2) When there are no highlights

However, these are actually the same case (there are no highlights) so I wanted
to defer to that situation.

I felt it was easier to rm the WelcomePanel and rewrite it than it was to try
to morph it into an empty state for the highlights.

MozReview-Commit-ID: CrRbzA0NoRx

--HG--
extra : rebase_source : ed21103350ea13813062e214d3aec22805cfa7d7
2017-08-31 14:39:40 -07:00
Gregory Szorc
54ce1a0575 Backed out changeset 512562477a1e, c5b310c419c4 (bug 1388377) for Android build bustage
--HG--
extra : histedit_source : 45a7c9ad2418f3fbf1f6b3d544806e43e337749e%2C73fe36a02238f02dcac1d1010504fb42a2008701
2017-09-01 17:07:21 -07:00
Michael Comella
c256431aed Bug 1388377: Add highlights empty state. r=liuche
MozReview-Commit-ID: 1M1nqWSoER3

--HG--
extra : rebase_source : d3047131d6e5fa9bc7a6973bd7d8a78065d1901e
2017-08-31 15:21:43 -07:00
Michael Comella
291c25858a Bug 1388377: Rm WelcomePanelRow. r=liuche
We show a message:
1) On first run
2) When there are no highlights

However, these are actually the same case (there are no highlights) so I wanted
to defer to that situation.

I felt it was easier to rm the WelcomePanel and rewrite it than it was to try
to morph it into an empty state for the highlights.

MozReview-Commit-ID: CrRbzA0NoRx

--HG--
extra : rebase_source : da48e11003d8decb8216d1439a9ca475f56cbb7e
2017-08-31 14:39:40 -07:00
Chenxia Liu
7cdb649f7f Bug 1386735 - Add additional preferences to Top Sites settings. r=mcomella
MozReview-Commit-ID: ADwLLbO41RN

--HG--
extra : rebase_source : 519e230f5feaa10cb08a1eeb2de72f014894ad40
2017-08-30 20:01:48 -07:00
Michael Comella
1f0ddb4e0b Bug 1393274 - bustage: Add gravity=start where textAlignment to appease lint. r=mcomella
Lint passes locally.

MozReview-Commit-ID: 8f6hBwjzoYJ

--HG--
extra : rebase_source : 4b5c4b03e97c529e8cba61794adf87bdc1721dfe
2017-08-31 13:07:32 -07:00
Michael Comella
522237f620 Bug 1393274: Correct webpage RTL padding/margins. r=liuche
Previously, I added a comment to explain why the explicit 0dp padding/margins
are necessary for RTL but since it's required everywhere padding/margins are
used, it's unsustainable and I chose not to do it here.

MozReview-Commit-ID: H7H9xgeLy8b

--HG--
extra : rebase_source : b011a5ce0247abe3f88ce73bfcf113afc1df52af
2017-08-30 13:27:20 -07:00
Michael Comella
69ee4c888f Bug 1393274: Align webpage item row text to right in RTL, left in LTR. r=liuche
MozReview-Commit-ID: 6VSF73V6Mda

--HG--
extra : rebase_source : 5657b1f2032d543c0c39b562ebc2130dbadf8b4a
2017-08-30 13:24:46 -07:00
Michael Comella
e3133ba7e5 Bug 1393274: Rename card_history_item -> webpage_item_row & friends. r=liuche
Unrelated to RTL changes but these names are awful and gotta go!

MozReview-Commit-ID: Kud6tgfEGkk

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_card_history_item.xml => mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml
extra : rebase_source : 9a2b980a8f00ddb2cb28a24ab85d684df04b05b7
2017-08-30 11:45:27 -07:00
Wes Kocher
cf2f541ad3 Backed out 3 changesets (bug 1393274) for android lint failures a=backout
Backed out changeset 52e7fa268a65 (bug 1393274)
Backed out changeset 29e8bf6a34c1 (bug 1393274)
Backed out changeset 03063f77c3f5 (bug 1393274)

MozReview-Commit-ID: 5BOV55zQaFf

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml => mobile/android/app/src/main/res/layout/activity_stream_card_history_item.xml
2017-08-31 11:40:09 -07:00
Michael Comella
41c0b98adf Bug 1393274: Correct webpage RTL padding/margins. r=liuche
Previously, I added a comment to explain why the explicit 0dp padding/margins
are necessary for RTL but since it's required everywhere padding/margins are
used, it's unsustainable and I chose not to do it here.

MozReview-Commit-ID: H7H9xgeLy8b

--HG--
extra : rebase_source : 82c012534ed4d5105cead580c9d7daed82b04b9b
2017-08-30 13:27:20 -07:00
Michael Comella
821599f2b0 Bug 1393274: Align webpage item row text to right in RTL, left in LTR. r=liuche
MozReview-Commit-ID: 6VSF73V6Mda

--HG--
extra : rebase_source : d0cd6eae039f76ed3b09668892e47d4368b4122f
2017-08-30 13:24:46 -07:00
Michael Comella
d581fb44db Bug 1393274: Rename card_history_item -> webpage_item_row & friends. r=liuche
Unrelated to RTL changes but these names are awful and gotta go!

MozReview-Commit-ID: Kud6tgfEGkk

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_card_history_item.xml => mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml
extra : rebase_source : 9369fd07eb959caf800cad58b37e543b83402b08
2017-08-30 11:45:27 -07:00
Nevin Chen
5798b572bc Bug 1394356 - Temporary remove add to home screen for Android O. r=jwu
MozReview-Commit-ID: 8Uz9QM7i4SD

--HG--
extra : rebase_source : 3db8d29843af5b0b720b9d15dc7e71784703c679
2017-08-29 17:53:56 +08:00
Nevin Chen
e25a8bdf4f Bug 1394361 - Tab title is cropped and not align to close button. r=jwu
MozReview-Commit-ID: JDqgSulYqAx

--HG--
extra : rebase_source : b013868e4f06a8f28bd0de152df1278d9407e4f9
2017-08-29 15:12:21 +08:00
Michael Comella
f84b2e0535 Bug 1385934: Use RTL layout attr in activity_stream_topsites_page. r=liuche
MozReview-Commit-ID: EdQzg01FbmS

--HG--
extra : rebase_source : 4286bdae7b2f1710e44185fe4684903e6e8566a8
2017-08-29 16:57:29 -07:00
Michael Comella
6b30ac06b5 Bug 1385934: Add license to activity_stream_topsites_page.xml. r=liuche
MozReview-Commit-ID: EqaukZxvcmH

--HG--
extra : rebase_source : df40010625ba5683417a377d2690b80c96726074
2017-08-29 16:33:38 -07:00
Michael Comella
2327c4c112 Bug 1388379: Use new suggestedsites assets for restricted profile. r=liuche
MozReview-Commit-ID: DXugwOekBVJ

--HG--
extra : rebase_source : 4e4f8068a772ff7b5cc8086d5e2673e745dd7ca5
2017-08-28 17:56:51 -07:00
Michael Comella
485f4fbea6 Bug 1388379: Use new suggestedsites assets for default profile. r=liuche
MozReview-Commit-ID: KCafeCJpNh8

--HG--
extra : rebase_source : ef1836967148e4e783f8dd1bd6b66844b9e2612f
2017-08-28 17:40:08 -07:00
Michael Comella
e46d523922 Bug 1388379: Rm xxxhdpi/suggestedsites_twitter. r=liuche
This is the only suggested site in xxxhdpi and is thus inconsistent.

MozReview-Commit-ID: F9HvsXKsFSq

--HG--
extra : rebase_source : f7b42c5818c1e6c6012386e56f3c224c29de0966
2017-08-28 17:45:53 -07:00
Wes Kocher
de530c1ea6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 5c1Pgm4aVKe
2017-08-29 16:17:50 -07:00
Sebastian Hengst
558aede67b merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-08-29 20:36:12 +02:00
James Willcox
92360654c3 Bug 1394552 - UI improvements for Custom Tabs launched from PWA r=esawin
MozReview-Commit-ID: LVAQN9Tp9DN
2017-08-29 10:31:41 -05:00
Jan Henning
bf6a3ea142 Bug 1385695 - Propagate "app" debug/release build type to dependencies. r=sebastian
Even when building the "app" module in debug mode, by default Gradle still chooses to build all dependencies in release mode, which means that all of our own source files that reside in such a library (geckoview, respectively thirdparty) will e.g. be missing debug info for local variables.

MozReview-Commit-ID: owZr9yKtYI

--HG--
extra : rebase_source : ae09795ebe70bf4213cd3d145efa355712c702a0
2017-07-30 13:55:11 +02:00
Sebastian Kaspari
7e1a1b0496 Bug 1389710 - Search engine preference: Use "favicon_small_size" (like in two_line_page_row.xml). r=mcomella
MozReview-Commit-ID: IDF07Cxux29

--HG--
extra : rebase_source : 46db2c65c144ccf1d35385f96801a0949ca0324b
2017-08-28 16:30:43 +02:00
Sebastian Hengst
9769c22d10 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: AeoHOxZLi6m
2017-08-28 16:53:53 +02:00
John Lin
77f0ffe52a Bug 842782 - p4: enable fullscreen video orientation lock for Fennec nightly. r=jwwang
MozReview-Commit-ID: 5rYK7mjJrBr
2017-08-28 18:16:06 +08:00
Jing-wei Wu
3fb42e9edd Bug 1388490 - Cancel animation set if necessary before re-start it. r=walkingice
MozReview-Commit-ID: F1pDOxZp1SI

--HG--
extra : rebase_source : f7f5a1cdcef5ee91c519f2c3c1c5414bbfb793a7
2017-08-28 15:04:39 +08:00
Sebastian Hengst
2bdbd85010 Backed out changeset b3005c73d7ad (bug 842782) 2017-08-28 09:59:00 +02:00
John Lin
56439aeab2 Bug 842782 - p4: enable fullscreen video orientation lock for Fennec nightly. r=jwwang
MozReview-Commit-ID: 5rYK7mjJrBr

--HG--
extra : rebase_source : c0cd58f2a56b08db923d9cd8f9fdff4b74404a76
2017-08-25 14:26:51 +08:00
Jing-wei Wu
61419e0e10 Bug 1389164 - Support new lightweight theme design on Photon. r=nechen,walkingice
We use an extra mask for url bar to make url text more clear.

MozReview-Commit-ID: D4ngrRdAof6

--HG--
extra : rebase_source : 4654058e6d966a033c816c3b47140ac8f607d7ed
extra : source : 0608e38913d521899ecc3d907167984ef22816cd
2017-08-28 11:41:20 +08:00
Jing-wei Wu
0dc15e318d Bug 1391177 - Part 9: Change indicator height in tabs tray page to 4dp. r=nechen,walkingice
MozReview-Commit-ID: JWzkvs0xJEo

--HG--
extra : rebase_source : 5220b635279ec8187751e819402f41db94c65d4f
2017-08-22 14:12:59 +08:00
Jing-wei Wu
352d2d1c0e Bug 1391177 - Part 8: Adjust layout for menu icons on toolbar. r=nechen,walkingice
MozReview-Commit-ID: 46l5Uw3zhO5

--HG--
extra : rebase_source : 71875cbd67ff3f3d674a4020481b3f9f81bd6b1d
2017-08-28 09:20:19 +08:00
Jing-wei Wu
fec51f2213 Bug 1391177 - Part 7: TabCounter refinements. r=nechen,walkingice
1. Ratio of one digit is changed from 0.7 to 0.5.
2. Decorate text with 'sans-serif-medium' & 'bold'.
3. Change border thinkness from 2.5dp to 2.3dp.

MozReview-Commit-ID: 9ghdkBAFx9r

--HG--
extra : rebase_source : cfb825233ff34729aba5bbf2fd6c6b8583a9c9cb
2017-08-21 18:31:09 +08:00
Jing-wei Wu
1abc892fb7 Bug 1391177 - Part 6: Change the primary blue from #00A2FE to #0A84FF. r=nechen,walkingice
MozReview-Commit-ID: CnUuCtGLAU5

--HG--
extra : rebase_source : e9aad4db9a938296a2bd421263248ee04c0dddc1
extra : intermediate-source : 80481e5fc6301733ad6ccb33a8b3cefe7d971ceb
extra : source : 4eccaa8a53b455b63be544cbfefff46379ac7c75
2017-08-14 14:41:58 +08:00
Jing-wei Wu
5d1e0e73ed Bug 1391177 - Part 5: Remove vertical dividers in tabs tray page. r=nechen,walkingice
MozReview-Commit-ID: 3QXKlmJmg7R

--HG--
extra : rebase_source : 5d33a5b3e139e32c6f71ecfecd810b3a3af5816a
extra : intermediate-source : 720407bcd509fefb65dfa5e0c90999b22615917d
extra : source : 119c08e61355e37ec9f0764a5f75f92cf1f11418
2017-08-14 14:11:14 +08:00
Jing-wei Wu
501afe48ba Bug 1391177 - Part 4: Change text selection color to primary color + 30% alpha. r=nechen,walkingice
MozReview-Commit-ID: Gm7nGDZeWyA

--HG--
extra : rebase_source : 24d5a9dc4ffe7b1d29e045c178ac7efc708ae4d5
extra : intermediate-source : 3c9d54bf3f19ff4af3cae776bddfa17370a5ca78
extra : source : 43c6c11b2fa6bb5b53a63b1b62c216ac82981314
2017-08-14 14:05:24 +08:00
Jing-wei Wu
8467324208 Bug 1391177 - Part 3: Update icons for mobile photon. r=nechen,walkingice
Update a few icons received from designer and remove mdpi images.

MozReview-Commit-ID: 87Hc3GqtZm9

--HG--
rename : mobile/android/app/src/main/res/drawable-hdpi/home_tab_menu_strip.9.png => mobile/android/app/src/photon/res/drawable-hdpi/home_tab_menu_strip.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_background.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_background.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected_focused.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected_focused.9.png
extra : rebase_source : cd193c88e3650f134190d3e55843396a0b3f8b5f
extra : source : 31ed050ebe02273ea1e75341634bf32065d117f9
2017-08-25 15:05:23 +08:00
Jing-wei Wu
b569b8cde2 Bug 1391177 - Part 2: Change text yes/no in search suggestion prompt to capitals. r=nechen,walkingice
MozReview-Commit-ID: LTiVMsPdO88

--HG--
extra : rebase_source : 1dc6c135b27aa717f94d13d324f24d0199f690ea
extra : intermediate-source : b7685ff3c2221da093dec2c0b5bd57dbfa704d5c
extra : source : 0b66e4a3c93bdf6a753907bc07b0b13494db32b4
2017-08-14 15:07:22 +08:00
Jing-wei Wu
6fafdf0bbc Bug 1391177 - Part 1: Change URL text(except domain) color in toolbar from #B2B2B2 to #737373. r=nechen,walkingice
MozReview-Commit-ID: dK4hDxx9iv

--HG--
extra : rebase_source : eb5e191b27a567db9a44e1394ec44bb37d247c35
extra : source : aca501b3f1ad86fa10c5580c0d02f9f82550004f
2017-08-17 16:13:54 +08:00
Sebastian Hengst
2c2ca2ccd3 Backed out changeset 007265934857 (bug 1391177) for Android bustage at mobile/android/app/src/photon/res/layout/toolbar_edit_layout.xml:25: unbound prefix during XML parsing. r=backout on a CLOSED TREE 2017-08-25 16:41:18 +02:00
Sebastian Hengst
e0a3447dce Backed out changeset 8cd707f86455 (bug 1391177) 2017-08-25 16:40:21 +02:00
Sebastian Hengst
2c21256b84 Backed out changeset f1151c03aeb8 (bug 1391177)
--HG--
rename : mobile/android/app/src/photon/res/drawable-hdpi/home_tab_menu_strip.9.png => mobile/android/app/src/main/res/drawable-hdpi/home_tab_menu_strip.9.png
rename : mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_background.9.png => mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_background.9.png
rename : mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected.9.png => mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected.9.png
rename : mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected_focused.9.png => mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected_focused.9.png
2017-08-25 16:40:15 +02:00
Sebastian Hengst
8c14af2d9a Backed out changeset 1f2d1bdf4b08 (bug 1391177) 2017-08-25 16:40:09 +02:00
Sebastian Hengst
cb4e1067f1 Backed out changeset df1d70886d09 (bug 1391177) 2017-08-25 16:40:03 +02:00
Sebastian Hengst
ce0beb7003 Backed out changeset 054791914057 (bug 1391177) 2017-08-25 16:39:58 +02:00
Sebastian Hengst
8fa375a6bd Backed out changeset dda991278dc4 (bug 1391177) 2017-08-25 16:39:52 +02:00
Sebastian Hengst
baf5543c91 Backed out changeset 483e66c92c6b (bug 1391177) 2017-08-25 16:39:47 +02:00
Sebastian Hengst
7ddd2a4ab5 Backed out changeset ed482ad5d31f (bug 1391177) 2017-08-25 16:39:41 +02:00