Commit Graph

5553 Commits (4de1edaa19061288a4a262422b59d1b56bc15e66)

Author SHA1 Message Date
Mihai Adrian Carare 318aace1eb
For #19419 - Label edit boxes for a11y services. (#19762) 3 years ago
Oana Horvath e48d285114 No issue: Add more smoke tests coverage 3 years ago
Oana Horvath f3e3f86388 No issue: Change hardcoded package and app name in tests 3 years ago
Mozilla L10n Automation Bot 63eec5dfec Import l10n. 3 years ago
Mozilla L10n Automation Bot ea049ca801 Import l10n. 3 years ago
Gabriel Luong 33b2789270
For #19734 - Enable Credit cards autofill for Release (#19735) 3 years ago
Gabriel Luong 172a118a51
For #18711 - Refactor credit card telemetry under the Metrics ping (#19733) 3 years ago
Jonathan Almeida fc46ab2804 Close #19731: Track metrics before we dismiss the tabs tray 3 years ago
Mihai Adrian Carare e69bf4e26a
For #19564: Explicitly update switch state for a11y event announcements. (#19589) 3 years ago
Mozilla L10n Automation Bot e035cba4b1 Import l10n. 3 years ago
Mozilla L10n Automation Bot 5219da71d9 Import l10n. 3 years ago
Gabriel Luong d30ebf86f9
For #19693 - Display a biometric prompt when a credit card is selected to autofill (#19697)
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
3 years ago
Gabriel Luong b1f7b04332
For #19693 - Add new string for the prompt to authenticate to use a stored credit card (#19708) 3 years ago
Grisha Kruglov daba5595f6 Enable addresses sync for nightly/debug builds 3 years ago
Grisha Kruglov e891139db9 Minor cleanup of the account settings 3 years ago
Elise Richards e0b410efdf
For #18711: Telemetry for credit card autofill (#19548) 3 years ago
Mozilla L10n Automation Bot a2b2cd42d6 Import l10n. 3 years ago
Jonathan Almeida c50ed5684c
Close #19459: Use Store.waitUntilIdle in intermittent failing test (#19683) 3 years ago
Gabriel Luong 89a1b0016c
For #19492 - Provide the correct CreditCardNumber type to UpdatableCreditCardFields when updating a credit card (#19692)
We were crashing because we were specifying the wrong `CreditCardNumber` type when constructing the `UpdatableCreditCardFields`.
We only had the plaintext card number from the user input, but was placing it off as an encrypted card number, which resulted in the crash.
3 years ago
Christian Sadilek 965a211fc3 Migrate test code to no longer use Nimbus FeatureConfig 3 years ago
Christian Sadilek 9d1e51dfff Fix breaking change in MetricController 3 years ago
Christian Sadilek 3a57188c35 Fix lint/detekt issues 3 years ago
James Hugman ab678a21ff Add an experiment to demontrate the Feature API
This is not visible in production, but only debug. It shows three variables
being used to change the settings screen (title, icon and title-punctuation).
3 years ago
Oana Horvath 4851bf7545 No issue: cleanup of unused tabs related code in HomeScreenRobot.kt
Deleted SmokeTest#selectTabsButtonVisibilityTest, feature removed
3 years ago
Oana Horvath 60a752f75c No issue: added smoke tests from MediaNotificationTest.kt 3 years ago
Elise Richards 279d59897c
For #18264 - Add biometric prompt to credit card settings (#19505) 3 years ago
Oana Horvath bca8b74263 No issue: Added custom tab UI smoke test 3 years ago
Jonathan Almeida 758700cbb0 Issue #19647: Navigate to browser from home via Synced Tabs page 3 years ago
Mozilla L10n Automation Bot b046982744 Import l10n. 3 years ago
Gabriel Luong 338c488fae
For #19680 - Show the card number when editing a credit card (#19681) 3 years ago
Gabriel Luong c11335fafc
For #18271 - [Saved cards] Display the credit card provider icon and report the correct card type (#19652) 3 years ago
Mugurell bd8facb025 For #18263 - Allow dynamically toggling credit cards autofill 3 years ago
Ionut Cristian Bedregeanu ac71b47c61 For #19653 - Address 19643 PR comments
Rename handleAddCreditCard to handleAddCreditCardClicked
Rename onClickAddCreditCard to onAddCreditCardClick
Format layout_add_credit_card.xml
3 years ago
Mugurell 272e631b62
For #19638 - Don't show extracted text UI for name when editing cards (#19673)
This comes to ensure consistency with the behavior for when editing the card
number.
3 years ago
Bedregeanu Ionut bf25951a62
For #19654 - Add RTL support for the "Add credit card" button from "Saved cards" (#19666)
Co-authored-by: Ionut Cristian Bedregeanu <ionut.bedregeanu@softvision.ro>
3 years ago
Codrut Topliceanu 02079cd567
For #19569 - Decrease the credit card expiry year width to ensure the month is fully visible (#19582) 3 years ago
Mugurell 3fb40e1f40 For #19475 - Introduce a DefaultTabsTrayInteractor
Refactored the TabsTrayFragment to not implement the TabsTrayInteractor which
among other advantages allowed for easier testing.
3 years ago
Mugurell dc26272381 For #19475 - Cleanup - respect naming scheme in TabsTrayController
In our current MVI implementation the View Interactors are first called in
response to a direct user action and contain methods following the
"onXXHappened" naming scheme and then delegate other Interactors / Controllers
for specific actions.

Controllers contain the business logic for actually updating the app's state
and offer methods following the "handleXXAction" naming scheme.
3 years ago
isabelrios 727d0256e0 Stop depending on JCenter - Screengrab and Falcon 3 years ago
Mozilla L10n Automation Bot 72ac23ddb9 Import l10n. 3 years ago
Sebastian Kaspari 84f4ff0d86 Issue #17819: Update detekt to 1.17.1 3 years ago
Ionut Cristian Bedregeanu 0a226962bb For #18881 - Create a new layout for 'Add credit card' button
Add functionality for 'Add credit card' button

Add unit tests for 'Add credit card' functionality
3 years ago
Mugurell d02db131f0 For #19620 - Have MenuScreenShotTest screenshot DefaultBrowser setting again
As a regression from #19590 which added a new setting above the existing
"Set as default browser" setting the settingsTest() needed to be updated to
allow clicking and screenshot of what happens after clicking on the
"Set as default browser" setting which can now be pushed offscreen.
3 years ago
Codrut Topliceanu 5f2b3fec38
For #18270 - Adds ellipses+last 4 digits to CC display (#19420)
* For #18270 - Adds ellipses+last 4 digits to CC display
3 years ago
Oana Horvath 0877e4cbb7 For #19415: fixed private browsing button visibility issue 3 years ago
mcarare 0141d96465 For #19554: Add SyncEngine.CreditCards to sync supportedEngines. 3 years ago
Mozilla L10n Automation Bot d9c34e68c3 Import l10n. 3 years ago
mcarare 9400f58e2a For #17538: Perform autofill storage warm-up after visual completeness. 3 years ago
Oana Horvath 5c026d4e7b For #18603: Fix and re-enable startBrowsingButtonTest 3 years ago
AndiAJ 3fc4848aef Fix settingsPrivacyItemsTest 3 years ago
mcarare 9f81754fab For #19600: Set manage cards preference visible by default. 3 years ago
mcarare a862824697 For #19600: Change manage cards preference UI dynamically. 3 years ago
mcarare bcf6b901ee For #19600: Change manage cards preference UI dynamically. 3 years ago
Oana Horvath 9fd7fe3df1 For #15754: Get playback state using MediaSession in MediaNotificationTests 3 years ago
Mozilla L10n Automation Bot 8ffc619d8d Import l10n. 3 years ago
Mozilla L10n Automation Bot f1c703b29f Import l10n. 3 years ago
Mozilla L10n Automation Bot a9c76fbe0b Import l10n. 3 years ago
Mugurell bbc25e430e
For #19590 - Enable credit card autofill in Debug and Nightly (#19601) 3 years ago
Mozilla L10n Automation Bot 2d38ca8913 Import l10n. 3 years ago
Codrut Topliceanu d83d05670d
For #19570 - Set appropriate theme color for delete card button (#19581) 3 years ago
Sebastian Kaspari 761752e382 AutofillConfiguration: Correctly specify autofill confirm activity. 3 years ago
Mozilla L10n Automation Bot b98c7b940b Import l10n. 3 years ago
Mihai Adrian Carare d96415111b
For #19054 - Navigate to the Credit card screen when deleting last card. (#19451) 3 years ago
Tim D. Smith 26cb37b27c
Fix case of item extras in browser_menu_action event (#19487)
* Fix case of item extras in browser_menu_action event

Update the event description to match the values observed in telemetry.

* Line length
3 years ago
Mihai Adrian Carare 11efbaacc4
For #18507 - Prevent screenshots on credit card screens. (#19560) 3 years ago
mcarare 888b45b079 For #8370: Remove extra characters from name mapping. 3 years ago
Mozilla L10n Automation Bot a5a50d6fcc Import l10n. 3 years ago
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
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