Commit Graph

5825 Commits (iceraven-1.12.0)

Author SHA1 Message Date
Arturo Mejia 52587753a5 Remove feature flag for proton icons re-design #18132 3 years ago
Mozilla L10n Automation Bot 791e3673ee Import l10n. 3 years ago
codrut.topliceanu 1662c2e410 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.
3 years ago
Jonathan Almeida f2c599dc1f 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.
3 years ago
Sebastian Kaspari 6cfd6bb63e Use new SearchSuggestionProvider flag. 3 years ago
mcarare fca8fca446 For #19418: Allow multiple lines title for sync cards preference. 3 years ago
Mozilla L10n Automation Bot a6de827ac2 Import l10n. 3 years ago
Gabriel Luong 75fc116043
For #18287 - Display a credit card autofill prompt (#19477) 3 years ago
Arturo Mejia bf42a1786e For issue AC#10231 update proton icons third batch 3 years ago
Priyanka 841f1cd265
created string resource for close (#19500)
Co-authored-by: priyanka0906 <priyanka02amb@reddiffmail.com>
3 years ago
Elise Richards 6459a859b9
For #17537: Add preferences for syncing credit cards and addresses (#19471)
* Add preferences for enable/disable sync for cc and addresses

* Set pref visibility based on feature flags

* Helper function for pin warning preferences and set default values for cc and addresses to false.

* Kdocs for relevant sync functions in account settings

* Default visibility to false for credit cards and addresses in account settings
3 years ago
Jonathan Almeida ede909e858
Issue #19176: Exit select mode when removing tab (#19486) 3 years ago
Mozilla L10n Automation Bot 8edcaab7ce Import l10n. 3 years ago
mcarare 4dd4e35982 For #19258: Replace default Android back button with a custom icon. 3 years ago
AndiAJ 889cf2e718 For #19468 and #19478 fix intermittent UI tests 3 years ago
Mozilla L10n Automation Bot 726db20390 Import l10n. 3 years ago
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.
3 years ago
Roger Yang f13560ae52 Issue #19147: Move set startup metrics off main thread 3 years ago
Jonathan Almeida f0d352f47e Issue #19002: Correct naming of pager viewholders 3 years ago
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`.
3 years ago
Jonathan Almeida bd753d3f94 Issue #19002: Correct browser viewholder naming 3 years ago
Jonathan Almeida 809c82a9f9 Issue #19002: Move TabsTrayViewHolder to browser package 3 years ago
Jonathan Almeida 78af3d80b3 Issue #19002: Remove unused TrayItem interface 3 years ago
Jonathan Almeida e66983d093 Issue #19002: Use AbstractBinding from lib-state 3 years ago
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.
3 years ago
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.
3 years ago
Mozilla L10n Automation Bot db97d85057 Import l10n. 3 years ago
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
3 years ago
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.
3 years ago
mcarare 93c6403882 For #19357: Remove bookmarks experiment and keep star-with-line icon. 3 years ago
Mozilla L10n Automation Bot f18e771fb3 Import l10n. 3 years ago
Mozilla L10n Automation Bot 34e9b1f284 Import l10n. 3 years ago
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.
3 years ago
Mozilla L10n Automation Bot 4e2477919b Import l10n. 3 years ago
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
3 years ago
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
3 years ago
Elise Richards cf9a84eed5
Move locale restoration on startup to the visual completeness queue to prevent perf impact (#19315) 3 years ago
Dharan Aditya 6cbc35b7d8
Fixed mozilla-mobile#18641: [Bug] Fill link from clipboard overlaps search engines (#18657) 3 years ago
Gabriel Luong d83c9d1e72
For #18993 - Nimbus: Allow internal tooling to opt into specific branches of an experiment (#19333) 3 years ago
AndiAJ 8db42d6d25 Fix flaky UI Tests #19306 #19160 #19404 #19373 3 years ago
Roger Yang a9e0557d83
Closes #3728: Add secret menu switch for allowing third party root certificates (#19398) 3 years ago
mcarare 44de36e302 No issue: Rename Event for naming consistency.
(cherry picked from commit 8b3a878062)
3 years ago
mcarare 106aa6237d For #18852: Add metrics for default browser settings experiment.
(cherry picked from commit f693375270)
3 years ago
Arturo Mejia 9bfb31519a For issue #19290 update to proton icons second batch 3 years ago
mcarare 516d52997d For #18266: Validate credit card entry info. 3 years ago
mcarare 3428dd67ed For #18266: Refactor fragment and view to remove duplicate code. 3 years ago
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
3 years ago
mcarare 32d7b78e94 For #19281: Add border radius for top sites favicons. 3 years ago
kglazko 008c523ed1
For #19055 - Add a ScrollView to the Credit Card Editor Fragment (#19117) 3 years ago
Mozilla L10n Automation Bot 4578621ffe Import l10n. 3 years ago
Roger Yang 74047cdceb
Closes #19147: Move startup metrics to right after Glean initialization (#19252) 3 years ago
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.
3 years ago
Jonathan Almeida f421f82f2c Close #19259: Pass CoroutineContext to nav interactor constructor 3 years ago
Mozilla L10n Automation Bot 3dfb89d2eb Import l10n. 3 years ago
Roger Yang 79cf3fc765
Closes #18253: Bookmark and History open new tabs in the background (#19275) 3 years ago
Mozilla L10n Automation Bot bd9d5597fa Import l10n. 3 years ago
Mozilla L10n Automation Bot 2f5937aeb3 Import l10n. 3 years ago
runner 97d0b3fee3 Strings - app/src/main/res/values-vi/strings.xml 3 years ago
runner 6920fc006c Strings - app/src/main/res/values-tg/strings.xml 3 years ago
runner 2f3761c223 Strings - app/src/main/res/values-ru/strings.xml 3 years ago
runner d971b3ff29 Strings - app/src/main/res/values-rm/strings.xml 3 years ago
runner a76f6e4149 Strings - app/src/main/res/values-pt-rPT/strings.xml 3 years ago
runner 6bbbc15d90 Strings - app/src/main/res/values-nl/strings.xml 3 years ago
runner eb9567aee9 Strings - app/src/main/res/values-fy-rNL/strings.xml 3 years ago
runner 3d8559740c Strings - app/src/main/res/values-fr/strings.xml 3 years ago
runner bfd49b5007 Strings - app/src/main/res/values-fi/strings.xml 3 years ago
runner 7e3f50b1e1 Strings - app/src/main/res/values-eu/strings.xml 3 years ago
runner 75e49af433 Strings - app/src/main/res/values-es-rAR/strings.xml 3 years ago
runner b89f5ac175 Strings - app/src/main/res/values-el/strings.xml 3 years ago
runner 21c981e12b Strings - app/src/main/res/values-cy/strings.xml 3 years ago
Mozilla L10n Automation Bot 622f7ab4a8 Import l10n. 3 years ago
runner a242d7b1e9 Strings - app/src/main/res/values-zh-rTW/strings.xml 3 years ago
runner 05f8fcfaf2 Strings - app/src/main/res/values-zh-rCN/strings.xml 3 years ago
runner bf3db81c24 Strings - app/src/main/res/values-uk/strings.xml 3 years ago
runner 1f50e3b6a1 Strings - app/src/main/res/values-sv-rSE/strings.xml 3 years ago
runner 776f035fa5 Strings - app/src/main/res/values-sat/strings.xml 3 years ago
runner 6e389b8fb0 Strings - app/src/main/res/values-pt-rBR/strings.xml 3 years ago
runner 8baefe19b5 Strings - app/src/main/res/values-oc/strings.xml 3 years ago
runner 7db0f96ef2 Strings - app/src/main/res/values-ko/strings.xml 3 years ago
runner 2e351f5ba7 Strings - app/src/main/res/values-ka/strings.xml 3 years ago
runner 17890c3dce Strings - app/src/main/res/values-hu/strings.xml 3 years ago
runner f2c31873a2 Strings - app/src/main/res/values-hsb/strings.xml 3 years ago
runner 05506f7fac Strings - app/src/main/res/values-hr/strings.xml 3 years ago
runner 65a27c01ff Strings - app/src/main/res/values-en-rGB/strings.xml 3 years ago
runner bd9503c792 Strings - app/src/main/res/values-en-rCA/strings.xml 3 years ago
runner 0d1b0e0c6e Strings - app/src/main/res/values-dsb/strings.xml 3 years ago
runner b00ecfd424 Strings - app/src/main/res/values-de/strings.xml 3 years ago
Sebastian Kaspari 8ccd1619f4 Unit tests: Bump max heap size to 3072m. 3 years ago
Sebastian Kaspari ea47db4a9e Unit tests: Bump max heap size to 3072m. 3 years ago
Mozilla L10n Automation Bot 4036ae92df Import l10n. 3 years ago
Elise Richards 9fc6a87697
No issue: uplift three dot menu redesign for beta. (#19312)
* For #19005: new tab three-dot menu sync sign in  (#19037)

* Show synced tabs or sync account in new tab menu

* Sync sign in item navigates to account settings

* Check account auth and get sync item title

* Look for sync sign in item on home menu for UI test

* Sync sign in menu item UI test

* For #19114: check state of sync account when navigating from sync sign in menu item (#19118)

* For #18591 - Make the navbar sticky in the new menu

* Turn on feature flag for three-dot menu redesign for beta. (#19111)

* For #18591 - Update tests

Some tests trying to "Add to top sites" may fail because of the sticky navbar
now covering that menu item -> scroll the menu up a little.

Some tests that previously were trying to scroll to the bottom of the menu to
interact with navbar options now don't have to. Them trying to interact with
navbar option with the menu opened as collapsed is a good test for the navbar
stickyness.

Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
3 years ago
Priyanka 05c38d911e
For #19273 - Ensure a new line at the EOF is available in all xml files (#19295) 3 years ago
Sebastian Kaspari 3e482449cc Issue #19040 - Fix UI test: settingsPrivacyItemsTest 3 years ago
Sebastian Kaspari d973d31bbb Issue #19040 - Update marketing data setting description 3 years ago
Sebastian Kaspari 5d500a1d66 Issue #19040: Remove Leanplum (Beta) 3 years ago
Elise Richards 5b5e7ebf47
Turn on feature flag for three-dot menu redesign for beta. (#19111) 3 years ago
Sebastian Kaspari cd4294d314 Issue #19040 - Fix UI test: settingsPrivacyItemsTest 3 years ago
Sebastian Kaspari 5f4a590418 Issue #19040 - Update marketing data setting description 3 years ago
Sebastian Kaspari 70fe7d5886 Issue #10941: Align Nightly version with Gecko/A-C version.
Instead of using a timestamp this will synchronize the Nightly version with the version
of Gecko / A-C. So when using 90.0.20210426143115 then the Nightly version will be
90.0a1 - similar to what Firefox desktop uses.
3 years ago
Mozilla L10n Automation Bot c9fba71d5f Import l10n. 3 years ago
mcarare 03c4a159d4 For #18608: Also add default browser item in new menu.
(cherry picked from commit 8f1b3e03f1)
3 years ago
Roger Yang 59de530a9c
Closes #18253: Remove spaces from Addons telemetry comma-separated list (#19292) 3 years ago
Codrut Topliceanu 8f39592c9c
For #19113 - Change top site corner radius to 8dp (#19262) 3 years ago
Arturo Mejia 21cf0b31a4 For issue #18132 update to proton icons first batch 3 years ago
mcarare 8c0f86bd96 For #19213: Adjust synced tabs to properly show in RTL. 3 years ago
Mugurell d495d84208 For #11819 - Show the mic in widget only if setting is enabled
If "Show voice search" is disabled under Settings, the mic icon should not be
shown in the search widget.
3 years ago
github-actions[bot] 0a7b447172
Sync Strings from master to releases_89.0 (#19177) 3 years ago
Mozilla L10n Automation Bot 4ee8f159da Import l10n. 3 years ago
Arturo Mejia c725493bea Fix openFile breaking changes 3 years ago
William Lachance 8070a326b7
No issue - Properly quote description for ad metric (#19243)
This is pedantic, but strictly something called <provider-name> is considered an HTML tag
unless it's in a code block (backticks). 

See mozilla/glean-dictionary#549 and mozilla/glean-dictionary#497. I'm going to fix this upstream
but figured I might as well file a PR here to fix the underlying issue.
3 years ago
Sebastian Kaspari 7d690219ea Issue #19040: Remove Leanplum (Nightly) 3 years ago
Grisha Kruglov 4e16c46b27 Fix breaking changes introduced by credit card encryption APIs 3 years ago
Sebastian Kaspari 6a1b5875b0 Use new SearchSuggestionProvider flag. 3 years ago
Mozilla L10n Automation Bot eec64110ae Import l10n. 3 years ago
Mozilla L10n Automation Bot 088d5cc801 Import l10n. 3 years ago
Mozilla L10n Automation Bot 7a4e0cd016 Import l10n. 3 years ago
Mozilla L10n Automation Bot d1951cc672 Import l10n. 3 years ago
Mihai Adrian Carare e952513569
For #19065 - Add extension functions to be used with credit cards. (#19187) 3 years ago
Mugurell 0f9f439329 For #18591 - Update tests
Some tests trying to "Add to top sites" may fail because of the sticky navbar
now covering that menu item -> scroll the menu up a little.

Some tests that previously were trying to scroll to the bottom of the menu to
interact with navbar options now don't have to. Them trying to interact with
navbar option with the menu opened as collapsed is a good test for the navbar
stickyness.
3 years ago
Mugurell dc51cd47b5 For #18591 - Make the navbar sticky in the new menu 3 years ago
Roger Yang cd37f398f1
Closes #18816: Disable TabsTray FAB on accessibility enabled (#19170) 3 years ago
mcarare ded686d533 For #19125: Move top site pin net to title. 3 years ago
Gabriel Luong 3b3e4c0243
No issue - Replace local photon colors with ui-colors (#19167) 3 years ago
mcarare 46784ecbfb For #19180: Fix tab counter not entirely visible on RTL layout. 3 years ago
Sebastian Kaspari cf4847dc17 Remove browser-search references. 3 years ago
mcarare 00744fa9e5 For #18267: Updates preferences visibility depending on creditCardsStore 3 years ago
Mozilla L10n Automation Bot 0bc5c22b63 Import l10n. 3 years ago
Elise Richards 688453f61f
Remove strings marked as deprecated that are no longer being used. (#19060) 3 years ago
Elise Richards db76b8fe21
For #19114: check state of sync account when navigating from sync sign in menu item (#19118) 3 years ago
mcarare 8f1b3e03f1 For #18608: Also add default browser item in new menu. 3 years ago
Arturo Mejia acb24396e5 Address WebExtensionBrowserMenuBuilder breaking change 3 years ago
Sebastian Kaspari a126f0913a Update to Mozilla Android Components 90.0 3 years ago
mergify[bot] 726290d8ab
No issue: Suppress deprecation for LoginStorageDelegate (#19145) (#19146)
(cherry picked from commit b396ede068)

Co-authored-by: Roger Yang <royang@mozilla.com>
3 years ago
Roger Yang b396ede068
No issue: Suppress deprecation for LoginStorageDelegate (#19145) 3 years ago
mcarare 8b3a878062 No issue: Rename Event for naming consistency. 3 years ago
mcarare f693375270 For #18852: Add metrics for default browser settings experiment. 3 years ago
Elise Richards 59c94e447c
For #19005: new tab three-dot menu sync sign in (#19037)
* Show synced tabs or sync account in new tab menu

* Sync sign in item navigates to account settings

* Check account auth and get sync item title

* Look for sync sign in item on home menu for UI test

* Sync sign in menu item UI test
3 years ago
mcarare 90c9e634af For #18240: Adjust preference screen to fit UX specs. 3 years ago
Christian Hernandez f8af231582
For #18830 - Remove card nickname from credit card editor (#18891)
* Removed all views with regards to credit card nickname. Removed the TextInputLayout and TextInputEditText where information would be typed in. Also removed the credit card nickname title text view. I added a margin of 16 dp to the bottom ConstraintLayout that houses the delete, cancel, and save buttons as requested.

* #18830 - Removed all views with regards to credit card nickname. Removed the TextInputLayout and TextInputEditText where information would be typed in. Also removed the credit card nickname title text view. I added a margin of 16 dp to the bottom ConstraintLayout that houses the delete, cancel, and save buttons as requested.
3 years ago
Arturo Mejia 87d1e823f1 Address WebExtensionBrowserMenuBuilder breaking change 3 years ago
Jonathan Almeida 69efd3a089 Close #19094: Open sign-in flow if no account is created for tabs tray 3 years ago
Kate Glazko 1ca7d55b4a For #18745: Add Shadow To Shortcut Tiles 3 years ago
Jonathan Almeida cfaaf82541 No issue: Allow tabstray rewrite to ride the trains 3 years ago
Jonathan Almeida 8bb7abc3fe Disabling tabstray collection tests until #19090 is fixed 3 years ago
Jonathan Almeida 46cec3d658 No issue: Fix regression in last tab deleted
When we allow the homescreen to handle undo for the last tab, we no
longer need to handle this ourselves with our own binding.

In the future, we should re-think this logic to be more robust and less
spread out across multiple screens.
3 years ago
Jonathan Almeida 0189fed012 No issue: Use same open tabs tray everywhere 3 years ago
Jonathan Almeida 1e09d50fd7 No issue: Fix the initial select mode check 3 years ago
Jonathan Almeida ad483903ed No issue: Do not create a new instance of TabsTrayStore
We only need one. :)
3 years ago
Jonathan Almeida b6f9bbf560 Attempt at fixing openAllTabsInCollectionTest test 3 years ago
Jonathan Almeida 8b1752dd9e Disable/fix tests that rely on Select Tabs button 3 years ago