Commit Graph

6673 Commits

Author SHA1 Message Date
MickeyMoz
33deb368f4 Update Android Components version to 90.0.20210511143058. 2021-05-12 08:05:15 +00:00
Codrut Topliceanu
d08b00717a
For #19091 - Fix Undo of close multiple tabs (#19466)
Fixes the issue where closing multiple selected tabs and then pressing Undo would only restore one of the tabs.
2021-05-12 10:12:03 +03:00
Roger Yang
f13560ae52 Issue #19147: Move set startup metrics off main thread 2021-05-12 06:44:31 +04:00
Jonathan Almeida
f0d352f47e Issue #19002: Correct naming of pager viewholders 2021-05-11 19:40:14 +04:00
Jonathan Almeida
a95a26b2c6 Issue #19002: Use a single BrowserTrayList for normal/private list
We now have a BrowserTrayList.
 - Renamed from `BaseBrowserTrayList`.
 - Removed the abstract `configuration` and used a `lateinit var`
 instead.
 - Removed `NormalBrowserTrayList` and `PrivateBrowserTrayList`.
2021-05-11 19:40:14 +04:00
Jonathan Almeida
bd753d3f94 Issue #19002: Correct browser viewholder naming 2021-05-11 19:40:14 +04:00
Jonathan Almeida
809c82a9f9 Issue #19002: Move TabsTrayViewHolder to browser package 2021-05-11 19:40:14 +04:00
Jonathan Almeida
78af3d80b3 Issue #19002: Remove unused TrayItem interface 2021-05-11 19:40:14 +04:00
Jonathan Almeida
e66983d093 Issue #19002: Use AbstractBinding from lib-state 2021-05-11 19:39:50 +04:00
Mugurell
551031eee3 For #18672 - Renaming a TopSite changes just the title
Previously renaming a TopSite would bind that as a new item and in such update
the entire list. This could potentially leading changes in the list and then
it's ViewPager parent's layout.

This patch switches the code to use the existing TopSitePayload and so do a
partial update of an on-screen TopSite instead of rebind it as a new item.

If a layout is requested while showing <=4 TopSites on the second page, by
having "offscreenPageLimit = 1" the biggest height of ViewPager pages is used
preventing an edgecase where the ViewPager would hide half of the items from
the first page.
2021-05-11 17:33:10 +03:00
kanish671
9e30833506 For #18672 - Rename TopSites even on the second page
Index calculation for notifying changes while renaming a top site in the second
page was being wrongly calculated. Since it is page 2, we would need to take a
mod with the number of top sites per page to get the actual index of the top
site that was being renamed.
2021-05-11 17:33:10 +03:00
Mozilla L10n Automation Bot
db97d85057 Import l10n. 2021-05-11 00:31:17 +00:00
Neha Binwal
c3823b654c
For #19401 - Replace hard-coded hex color values with their respective photon color variable (#19406)
* Replaced #20123A with @color/photonInk80 in values\colors.xml

* Replaced #F9F9FB with @color/photonLightGrey10 in values\colors.xml

* Replaced #E0E0E6 with @color/photonLightGrey30 in values\colors.xml

* Replaced #592ACB with @color/photonViolet70 in values\colors.xml

* Replaced #312A65 with @color/photonInk20 in values\colors.xml

* Replaced #FBFBFE with @color/photonLightGrey05 in values\colors.xml

* Replaced #52525E with @color/photonDarkGrey10 in values\colors.xml

* Replaced #ffffff with @color/photonWhite in values\colors.xml

* Replaced #5B5B66 with @color/photonDarkGrey05 in values\colors.xml

* Replaced #1C1B22 with @color/photonDarkGrey80 in values\colors.xml

* Replaced #737373 with @color/photonGrey50 in values\colors.xml

* Replaced #9059FF with @color/photonViolet50 in values\colors.xml

* Replaced #5B5B66 with @color/photonDarkGrey05 in values-night\colors.xml

* Replaced #3A3944 with @color/photonDarkGrey40 in values-night\colors.xml
2021-05-10 19:26:10 -04:00
Michael Comella
49240b239b For #19436: rm Application and FeatureFlags from perf code owners. 2021-05-10 15:58:33 -07:00
Jonathan Almeida
392ace67d6 Issue #19175: Fix SyncTabs list not updating on changes
The main cause for this is that the `LifecycleProvider` needs to be set
to `State.RESUMED` to avoid the account manager's internal
`ObserverRegistry` from putting the UI observers into the paused state.

The rest of the changes is to rely the internal (safe) logic to
correctly sync and then update the tabs list.
2021-05-10 21:37:32 +04:00
MickeyMoz
fda8fd398e Update Android Components version to 90.0.20210510143050. 2021-05-10 16:35:56 +00:00
mcarare
93c6403882 For #19357: Remove bookmarks experiment and keep star-with-line icon. 2021-05-10 15:38:52 +03:00
Mozilla L10n Automation Bot
f18e771fb3 Import l10n. 2021-05-10 00:43:35 +00:00
MickeyMoz
07fd5ca9e6 Update Android Components version to 90.0.20210509143123. 2021-05-09 16:31:12 +00:00
Mozilla L10n Automation Bot
34e9b1f284 Import l10n. 2021-05-09 00:35:54 +00:00
William Lachance
f180119774
No issue - Stop generating metrics.md and direct to Glean Dictionary instead (#19411)
Now that the Glean Dictionary (https://dictionary.telemetry.mozilla.org)
has hit production, our guidance is to move away from generating
metrics.md files. The Glean Dictionary is a better solution for this task
for a couple of reasons:

1. The Glean Dictionary contains a complete reference of all metrics
and pings sent by an application (not just those defined in the
application itself, as is the case with the markdown documentation)
2. The Glean Dictionary provides additional context and links beyond
what is provided by the documentation (for example, information on
how to access metric information via BigQuery or GLAM) as well as
annotations provided by data scientists in the course of analyzing data
(see, for example, the commentary section for:
https://dictionary.telemetry.mozilla.org/apps/fenix/metrics/metrics_search_count).

This should also reduce some of the churn/burden on people when
they submit PRs, as there is no longer any need to update metrics.md
as a part of them.
2021-05-07 20:52:01 -04:00
Mozilla L10n Automation Bot
4e2477919b Import l10n. 2021-05-08 00:33:33 +00:00
Neha Binwal
0eaf9f3c12
For #8984: Added color for "Share" menu's "Recently Used" in Dark theme (#18839)
* Added color for "Share" menu's "Recently Used" in Dark theme

- Changed HEX code for inset_dark_theme in values/colors.xml

* Replaced #52525E in values/colors.xml with @color/photonDarkGrey10

* Added color for "Share" menu's "Recently Used" in Dark theme

- Created a separate attribute recentlyUsedSharedMenu to be used by 'recently used' panel of tab share menu
- It specifies colors to be used for Light and Dark theme
2021-05-07 14:48:35 -05:00
Neha Binwal
ccfff640fc
For #18226: Fixed display of tabs for when text size is set to largest (#19046)
- Made website titles clearly visible in Grid view of tab tray
- Made website URLs clearly visible in List view of tab tray
2021-05-07 14:45:09 -05:00
Elise Richards
cf9a84eed5
Move locale restoration on startup to the visual completeness queue to prevent perf impact (#19315) 2021-05-07 14:12:40 -05:00
Dharan Aditya
6cbc35b7d8
Fixed mozilla-mobile#18641: [Bug] Fill link from clipboard overlaps search engines (#18657) 2021-05-07 14:25:41 -04:00
Gabriel Luong
d83c9d1e72
For #18993 - Nimbus: Allow internal tooling to opt into specific branches of an experiment (#19333) 2021-05-07 14:21:03 -04:00
AndiAJ
8db42d6d25 Fix flaky UI Tests #19306 #19160 #19404 #19373 2021-05-07 17:14:23 +03:00
Roger Yang
a9e0557d83
Closes #3728: Add secret menu switch for allowing third party root certificates (#19398) 2021-05-06 21:52:55 -04:00
Arturo Mejia
9bfb31519a For issue #19290 update to proton icons second batch 2021-05-06 10:35:39 -04:00
mcarare
516d52997d For #18266: Validate credit card entry info. 2021-05-06 17:06:33 +03:00
mcarare
3428dd67ed For #18266: Refactor fragment and view to remove duplicate code. 2021-05-06 17:06:33 +03:00
Codrut Topliceanu
277034546f
For #18262 - [Credit cards] Turn the "Sync cards across devices" button into a "Sync cards" toggle (#19207)
* For #18262 - Turns "Sync cards/logins" into toggle
2021-05-06 14:43:27 +03:00
mcarare
32d7b78e94 For #19281: Add border radius for top sites favicons. 2021-05-06 13:56:24 +03:00
kglazko
008c523ed1
For #19055 - Add a ScrollView to the Credit Card Editor Fragment (#19117) 2021-05-05 15:43:09 -04:00
MickeyMoz
d0db5091a7 Update Android Components version to 90.0.20210504190127. 2021-05-05 17:19:12 +00:00
Mozilla L10n Automation Bot
4578621ffe Import l10n. 2021-05-05 15:33:22 +00:00
Roger Yang
74047cdceb
Closes #19147: Move startup metrics to right after Glean initialization (#19252) 2021-05-05 11:11:02 -04:00
MickeyMoz
2bd933054f Update Android Components version to 90.0.20210504143147. 2021-05-05 06:51:24 +00:00
codrut.topliceanu
0c74756d39 For #19132 - Fix navigation on disconnect started from tabsTray
- Added checks to popBackStack from the Disconnect Logged-in User Dialog, either back to settings, browserFragment or homeFragment.
2021-05-05 09:55:10 +04:00
Jonathan Almeida
f421f82f2c Close #19259: Pass CoroutineContext to nav interactor constructor 2021-05-04 20:13:10 +04:00
Mozilla L10n Automation Bot
3dfb89d2eb Import l10n. 2021-05-04 00:31:21 +00:00
Roger Yang
79cf3fc765
Closes #18253: Bookmark and History open new tabs in the background (#19275) 2021-05-03 17:27:19 -04:00
MickeyMoz
d71df4d505 Update Android Components version to 90.0.20210503143138. 2021-05-03 16:36:16 +00:00
Mozilla L10n Automation Bot
bd9d5597fa Import l10n. 2021-05-03 00:28:38 +00:00
MickeyMoz
d55758345d Update Android Components version to 90.0.20210502143118. 2021-05-02 16:41:41 +00:00
Mozilla L10n Automation Bot
2f5937aeb3 Import l10n. 2021-05-02 00:32:00 +00:00
MickeyMoz
df616a2e10 Update Android Components version to 90.0.20210501143136. 2021-05-01 16:37:56 +00:00
Mozilla L10n Automation Bot
622f7ab4a8 Import l10n. 2021-05-01 00:27:28 +00:00
Gregory Mierzwinski
879f1b9e97
Bug 1708631 - Update visual metrics script to the latest. (#19332) 2021-04-30 14:22:44 -04:00