Commit Graph

2247 Commits (staging)

Author SHA1 Message Date
Matt McKenna d1f70e908e Add a simple gradient to collection creation 5 years ago
matthewcmckenna afac413c98 Add ETP accessibility labels 5 years ago
Tiger Oakes 0a86676563 For #6523 - Remove close button in library 5 years ago
Patrick Martin 3e436f59e2 For #2294 - History URL is cut with a large font set (#6724)
* For #2294 - History URL is cut with a large font se

* Update HistoryRobot.kt
5 years ago
mcarare f18c047132 For #1019 Update unit tests and UI tests 5 years ago
mcarare 1d36098878 For #1019 Add onboarding search suggestion hint panel 5 years ago
mcarare 5543f3272d For #1019 Add option to enable search suggestions in private mode 5 years ago
mcarare ef3c3de8a1 For #6625 Fix back navigation in search mode from browser 5 years ago
Tiger Oakes bd475d54e5 Extract TP onboarding popup (#6700) 5 years ago
Arturo Mejia 0d6ea08de7
No issue: Remove download file provider. (#6699) 5 years ago
Johan Lorenzo de8bc2f8a5 Split UI test 5 years ago
Grisha Kruglov f099552ae3 Enable encryption of persisted FxA account state 5 years ago
Jeff Boek 54773afb68
For #2477 - Removes the feature flag for Force Enable Zoom (#6646)
* For #2477 - Removes the feature flag for Force Enable Zoom

* For #2477 - Fixes bug where zoom preference doesnt persist between launches
5 years ago
ekager dba2186e86 Add scroll to item 5 years ago
ekager 81ab082c1c For #6707 #6708 - Fix UI Tests for new Search Engine Behavior 5 years ago
Jeff Boek 607c3d4c87
Adds custom search engines (#6551)
* For #5577 - Adds button to add a new search engine

* For #5577 - Adds custom engine store

* For #5577 - Creates a custom SearchEngineProvider

* For #5577 - Gives the ability to delete search engines

* For #5577 - Adds the UI to add a custom search engine

* For #5577 - Adds form to create a custom search engine

* For #5577 - Adds the ability to add a custom search engine

*  For #5577 - Adds the ability to delete custom search engines

* For #5577 - Selects the first element on the add custom search engine screen

* For #5577 - Prevents adding a search engine that already exists

* For #5577 - Styles the add search engine preference

* For #5577 - Makes the name check case-insensitive

* For #5577 - Fix bug where home screen doesnt see new search engines

* For #5577 - Moves Search URL validation to its own type

* For #5577 - Fixes linting errors

* For #5577 - Adds the ability to edit a custom search engine

* For #5577 - Allows the user to edit a serach engine even when it is the last item in the list

* For #5577 - Adds an undo snackbar when deleting a search engine

* For #5577 - Moves all of the strings to be translated

* For #5577 - Fixes bug when deleting your default search engine

* For #5577 - Puts adding search engines behind a feature flag

* For #5577 - Navigate to custom search engine SUMO article when tapping learn more

* For #5577 - Fixes nits

* For #5577 - Uses concept-fetch to validate search string

* For #5577 - Adds string resources for the cannot reach error state
5 years ago
Patrick Martin 8abf580579 For #2294 - History URL is cut with a large font se 5 years ago
Oana Horvath c9e4303fa0
Fixed History flaky tests (#6592)
Ignoring some tests for now and left some to run
5 years ago
Mozilla L10n Automation Bot ce74a49a22 Import l10n. 5 years ago
mawen7 1e813a9609 Jump to tab overview if closed tab has no parent session 5 years ago
cesar 984d8c7b13 ktlint clean up 5 years ago
cesar 808740e4c9 Fixed Typo 5 years ago
cesar 560fa7a5b5 For #6594 - Trigger keyboard automatically when creating a bookmark folder 5 years ago
cesar d69ead201b Test for 6594 5 years ago
cesar 063115b215 For #6593 - Hide keyboard when quitting add bookmark folder flow 5 years ago
cesar d9ded1f715 Test for 6593 5 years ago
ekager ab93779369 For #6621 - Add Secure Flag to Window in Logins Fragments 5 years ago
Jeff Boek 871604f37d For #2271 - Fixes colors on dark theme 5 years ago
David Walsh 8016eb56aa Provide top padding to URL 5 years ago
David Walsh 6bd6e3035d Implement a more dynamic layout height 5 years ago
David Walsh c69e72bdba Fix 3809 - Show entire URL in security info view 5 years ago
Mozilla L10n Automation Bot ee7ea8cebf Import l10n. 5 years ago
Sawyer Blatz 6f4de48428 For #6434: Fixes downloadCompleted for paused downloads 5 years ago
Jeff Boek 77667bf724
No Issue - Fixes NPE in tests (#6673) 5 years ago
Roger Yang f3fc532e0e Closes #6440 Integrate Web Notifications Feature 5 years ago
Jeff Boek ac95510bb6
No Issue - Adds proguard rules for Lifecycle component (#6632)
This is a potential fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1596302
5 years ago
Mihai Adrian 55a200907a For #2570: Hide 3-dots menu for all library items when in select mode. (#6321)
Used notifyItemRangeChanged to redraw already drawn items.
5 years ago
Severin Rudie 8d68317388
4844 fix url elision (#6588)
* For #4844: add test cases for url elision

* For 4844: implement toShortUrl to pass test cases

* For 4844: update plumbing to use toShortUrl

* For 4844: adds/handles suggested url elision test case
5 years ago
Gabriel Luong c6562bff98 For #5583 - Adds telemetry for download notification (#6554) 5 years ago
Patrick Martin 5eb5cdf361 For #1695 - Detect HTML mime type for clipboard URL (#6612)
* For #1695 - Detect HTML mime type for clipboard URL
5 years ago
MozLando 204ead0827 Merge #6513
6513: For #5295 [A11y] Unable to tap snackbar r=kglazko a=kglazko



Co-authored-by: Kate Glazko <katglazko@gmail.com>
5 years ago
Will Hawkins 7173bdf0b1 Issue #6196: Make initialization of Glean metrics faster
setStartupMetrics is very expensive and does not need to be
done synchronously at the time the Glean Metrics Service is
initialized.
5 years ago
Emily Kager ddd484387d No issue: Check destination before popping logins fragments 5 years ago
Tiger Oakes fdd7400ccc Use ViewModel for share fragment 5 years ago
Tiger Oakes 333ff8c941 Fixes #4528 - Prevent share menu from jumping
Plus a bunch of docs and refactoring
5 years ago
Mozilla L10n Automation Bot 6b9a0d027f Import l10n. 5 years ago
Emily Kager 1c26851dea Add logins to UI test 5 years ago
ekager d85ed27a3d Add override for Core val in test 5 years ago
ekager 6e907b1106 Update BackgroundServicesTest 5 years ago
Emily Kager c43f96096e For #5074 - Sync Logins, Uses KeySharedPreferences for Passwords Encryption Key 5 years ago
Kate Glazko e038e0c41d 5 years ago
Tiger Oakes ee4e1c8f39
Fixes #5085 - Use CustomTabWindowFeature (#6603)
Opens _blank links in new custom tab
5 years ago
mozilla-l10n-automation-bot 4ae60f2cce Import l10n. (#6530) 5 years ago
Oana Horvath 0cfde5b86a Added a method to detect the UI Theme (#6542) 5 years ago
Gabriel ebdfe8184e For #5705 - Adds telemetry for media state (#6463) 5 years ago
David Walsh 9d5c03c067 Use consistent verbiage with regard to opened tabs (#6550) 5 years ago
Emily Kager cc318021cc For #5586 - Adds Logins Telemetry (#6352)
* For #5586 - Adds Logins Telemetry

* Adds Logins Sync Telemetry to PreferenceToggled event
5 years ago
mcarare f6a66562dd For #4487 Set activity title only once in Bookmark fragment
Removed label from nav_graph that caused label to be set for each navigation
Removed title setting in onCreate() called for each navigation
Changed logic for checking current root when setting UI for normal mode
5 years ago
Arturo Mejia 0275ca0693 No issue: Do not prevent trackers duplication in the tracking
protection panel.
5 years ago
mcarare 13637c59a2 For #6543 Hide keyboard when saving a new bookmarks folder 5 years ago
Severin Rudie f0468f8099
For #4281: fixed metrics.yaml for QAB removal (#6555) 5 years ago
Severin Rudie 6909a76bcb
4281 remove qab (#6310)
* For #4281: small ToolbarMenu refactor

This makes it easier to see how items are ordered in the menuItems list

* For 4281: add QAB buttons to menu

* For 4281: removed menu back button per mocks

I double checked with UX, and we'll be relying on the hardware back button for its functionality

* For 4281: add content descriptions for bookmarking

* For 4281: updated BrowserToolbarController for new functionality

* For 4281: provided simple dependencies to browser controller

More complex changes will be in a following commit, for review readability

* For 4281: move toolbar controller dependencies up to BaseBrowserFragment

The functionality they control is being moved into the toolbar menu, which is shared by both normal tabs and custom ones

* For 4281: removed (now unused) code related to QAB

* For 4281: fix test compilation after QAB removal

Tests still need to be expanded to include added functionality

* For 4281: updated menu to show if url is bookmarked

This sloppy workaround is required because TwoStateButton requires that `isInPrimaryState` be a synchronous call, and checking whether or not the current site is bookmarked is quite slow (10-50 MS, in my tests).  After days of work and many attempted solutions, this was the least abhorrent among them.

https://github.com/mozilla-mobile/android-components/issues/4915 was opened against AC to evaluate potentially supporting async `isInPrimaryState` functions.
https://github.com/mozilla-mobile/fenix/issues/6370 was opened against Fenix to investigate the unexpectedly slow call to `BookmarkStorage`.

* For 4281: update reader mode switch

* For 4281: selectively show/hide menu items

* For 4281: add reader mode appearance

* For 4281: update bookmark button when it is clicked

* For 4281: removed unused QAB code

* For 4281: removed QAB robot, updated UI tests

* For 4281: removed QuickActionSheet metrics

Since this behavior now lives in the toolbar, it is tracked via Event.BrowserMenuItemTapped

* For 4281: fixed lint errors

* For 4281: add new strings for buttons added to menu

This is necessary because the location change (from QAB to toolbar menu) could affect the grammar in some languages

* For 4281: remove outdated TODOs

* For 4281: removed QAB container

* For 4281: removed back button reference from UI test

This button no longer exists

* For 4821: Fixes a visual defect (extra padding on top of toolbar)

* For 4281: update copy on reader mode

* For 4281: fixed review nits
5 years ago
mcarare 11ad1010a9 For #6323 Creating 1st collection from tab shows Name collection screen
Added a check for existence of at least a collection to select from.
5 years ago
Sawyer Blatz d6aeeb2dec
For #5958: Adds in app download notifications (#6506) 5 years ago
Mozilla L10n Automation Bot 79a9722e76 Import l10n. 5 years ago
Mihai Adrian 1388156953 For #1211 Hide the keyboard when scrolling through engine suggestions (#6474) 5 years ago
Tiger Oakes f476c624d7 For #6255 - Fix beta icon filenames (#6407) 5 years ago
RAJESH KUMAR ARUMUGAM 6ee59322b5 Added Vibration Effect On Scanning QR Code (#6129)
* Added Vibration Effect On Scanning QR Code

Added Vibration Feature for the new feature Request
Vibrate phone upon successful pairing #2928

* Added Vibration Effect On Scanning QR Code

Added Vibration Feature for the new feature Request
Vibrate phone upon successful pairing #2928

* Update PairFragment.kt

Removed unwanted blank lines

* Update PairFragment.kt

Removed the Casting with !!
5 years ago
Emily Kager d9615108ee For #6354 - Removes ETP Experiment, Removes Feature Flags, Sets Strict Default 5 years ago
mcarare 1ff5a1934e For #5709 Do not animate switch for ETP panel 5 years ago
ValentinTimisica e1f3611fdd Fixes #6408: Pop stack to homeFragment when opening bookmarks from homeFragment
When bookmark fragment is opened from homeFragment, libraryFragment does not
exists so the popBackStack(R.id.libraryFragment, true) would have failed. So
the solution for this was to pop back stack to homeFragment when the
bookmarks/history fragments are opened from homeFragment.
5 years ago
Grisha Kruglov 40047315c2 For #6490 - track abnormal FxA behaviour via Sentry 5 years ago
Emily Kager b1623cbba6 Fix components, core tests 5 years ago
Emily Kager ef7a23c875 Adds webAppShortcutManager argument 5 years ago
Tiger Oakes afda836f1f Use ManifestUpdateFeature 5 years ago
Sawyer Blatz 4183dea591 For #5547: Reuse biometricPrompt when authenticating
This fixes an issue with Samsung devices where an invisible DeviceCredentialHandler because the executor was "null" (it wasn't actually)

You *must* reuse the biometric object instead of creating a new one.
5 years ago
Emily Kager 3e2b88cc91 For #5547 - Add top level auth when accessing passwords 5 years ago
Shangeeth Sivan 218763f9be For #4556: Removed redundant code in few tests. (#6367)
* Moved some values as member variables as having them declared separately in methods seemed redundant.

* Added @Before method in logtest to avoid code duplication Fixes #4556

* Added @Before method to FragmentTest class Fixes #4556

* variable renamed and added private access specifier; removed set from member variable as it is used only once and we can convert the list to set when needed

* Fixes linter errors
5 years ago
Sawyer Blatz 284f3cf0f5 For #4456: Updates total_uri_count upload (#6482) 5 years ago
Grisha Kruglov 0a05d40ee0 Migrate FxA state 5 years ago
Mihai Branescu 8f50e2af5d For #6269 Rtl-wrong-search-positioning (#6400)
* For #6269
- Added start/end margin for rtl support in shortcuts label

* For #6269
- Refactored search fragment xml, extracted dimens + added styles
5 years ago
Sawyer Blatz a4ad2116ae
For #6390: Fixes textColor on download prompt (#6468) 5 years ago
Sawyer Blatz 0d5fb67303 For #6284: Fixes SearchShortcut button functionality when in a session
This makes it so searchShortcuts button works when going from browser -> search
5 years ago
Mihai Branescu 2b955c1a1a For #6087
- added engine hashmap so that we create each type of search provider once
(previously the providers to be added were checked by id, but since the id
is a UUID, it was always unique -> bug with multiple providers with same engine
but different id
- refactored update() flow so that it's more understandable + remove complex
method warning
5 years ago
Mozilla L10n Automation Bot 7ab6b64dcc Import l10n. 5 years ago
ekager 18c0525ff6 Use new API for ETP Exceptions 5 years ago
Emily Kager ca8ba57635 For #6441: Fix variant build type matching (#6462) 5 years ago
mozilla-l10n-automation-bot eabf206588 Import l10n. (#6414) 5 years ago
Emily Kager cf8cab8eb1 No issue: Ignore rest of HistoryTest tests (#6450) 5 years ago
Emily Kager 1ee0703bc3 For #6441 - Only enable experiments for Beta/Prod 5 years ago
Richard Pappalardo fa780f6790
Temp disable all History UI tests (#6443) 5 years ago
Emily Kager 52ad5dafe2 Closes #6369 - Use padding set from style for protection settings 5 years ago
Jeffrey Starke f1d52ce2da Use vector compat in TrackingProtectionPanelView (#6376) 5 years ago
Richard Pappalardo 01b4213b2a Temp disable flaky deleteMultipleSelectionTest (#6405)
* Temp disable flaky deleteMultipleSelectionTest

* Fix indentation
5 years ago
liuche 35d60130f2
Closes #6097 - Bump activation ping expiry date. (#6309) 5 years ago
Christian Sadilek a7e139da8e Use new WindowFeature API after browser-state migration 5 years ago
Mugurell c5739df969 For #4126 - Add tests for the new classes resulting from refactoring
Used runBlocking to ensure we wait for the code using coroutines to execute
instead of runBlockingTest and join() since this last option led to failed
tests in CI because of
"java.lang.IllegalStateException: This job has not completed yet".
5 years ago
Mugurell 9f56624788 For #4126 - Document the newly introduced public APIs
Now that the code should be in a ready-to-ship form it would be nice to have
all the major functionalities properly documented.
5 years ago
Mugurell d70afcaa90 For #4126 - Handle all business logic with Interactors and a Controller
Combined all Stores into one for all Views shown in on Fragment.
Used a static `createStore()` which will build the initial state residing
inside the Store and not in the Fragment as to decouple the Fragment from the
business logic needed to build all the needed initial States.
Added Interactors that handle a MVI View's business logic for
TrackingProtectionView and WebsitePermissionsView.
WebsiteInfoView doesn't register any user input events and does not have any
reason to change while it is displayed so it does not have an Interactor.
The two Interactors will delegate Fragment's QuickSettingsController for
complex Android interactions, communication with other app features or for
Store updates.
Also refactored the stubs from the previous commit so that with this commit the
the quicksettings feature should all be working now based on lib-state.
5 years ago
Mugurell f1f74bc3d6 For #4126 - Refactor Views and layouts
Refactored `fragment_quick_settings_dialog_sheet` to now be composed of of
FrameLayouts placeholders in which each independent View will inflate itself.
Refactored the QuickSettingsUIView and Component to 3 standalone Views with
their own lib-state components: Store, State, Actions, Reducer.
5 years ago
mozilla-l10n-automation-bot 5cca5d7a70 Import strings from android-l10n (#6359) 5 years ago
ValentinTimisica 1e13e70cd0 Fixes #5917: Show snackbar when URL is copied (#6210)
Show a snackbar to the user for him to know that the URL was copied to
clipboard.
5 years ago
Tiger Oakes 9456998f9f For #6153 - Add powered by notification 5 years ago
Jeffrey Starke 6a6c4f75dd * Move repeated NavControllerTest logic to @Before set up method
* Use property access syntax where applicable in NavControllerTest
5 years ago
ValentinTimisica 34959a434f Fixes #6341: Initialize 'selectedTabs' based on opened/selected tabs.
The problem was that the parameter 'selectedTabIds' was not taken into account
when initializing the variable 'selectedTabs'. So I made the initialization
based on both the selected tab and the number of open tabs.
5 years ago
ValentinTimisica da521bc37c Fixes #6268: Change drawableTint from style to appcompat version.
The property android:drawableTint doesn't work on older Android devices,
so I switched to the appcompat version (app:drawableTint).
5 years ago
mcarare 349c0193d9 For #6342 Clicking add tab button from home screen finishes onboarding 5 years ago
Sawyer Blatz e62407e766
For #5959 & #5958: Integrates download feature into Fenix (#6368) 5 years ago
mcarare 675fe6a3a9 For #1487 Add "my library" menu category and items to home 3-dot menu.
Changed UI tests according to new menu items.
5 years ago
mcarare 41c9b9e958 For #1487 Add "my library" menu category and items to home 3-dot menu 5 years ago
Artur Dryomov 05e871dd0c No issue: Refactor errors to risk level conversion. (#5710) 5 years ago
Sawyer Blatz 8549b80272 For #4456: Adds total_uri_count to metrics core ping (#6003) 5 years ago
Sawyer Blatz fd22c43f9d
Fixes #6344: Adds null check for adjust campaign (#6348) 5 years ago
Chenxia Liu 41ee8a4efb For #6294 - When only one tab is being saved to collection, add it to selected tabs. 5 years ago
Sawyer Blatz 2a358db561
For #1298: Fixes issue with Adjust campaign not sending through Glean (#5896) 5 years ago
Oana Horvath 7813fb22d4
History menu UI tests (#6272)
Removed failing verifyOverflowMenuButton method

Added new Robot for MultipleSelectionTooolbar

Renamed MultipleSelectionToolbarRobot to LibrarySubMenusMultipleSelectionToolbarRobot
5 years ago
Mozilla L10n Automation Bot 905c7856fb Import l10n. 5 years ago
No-Jun Park ad94d49f24
Collection UI Test added, but set to disabled until Collection is refactored (#6160) 5 years ago
Mozilla L10n Automation Bot 11c07e6b3a Import l10n. 5 years ago
ValentinTimisica d7973587fc Fixes #5128: Changed history_empty_view to match constraints.
The bug occurred because the activity/fragment is not recreated on
orientation change. A simple fix was to just set width and height to 0dp
to let it match constraints.
5 years ago
Christian Sadilek ee3871cd7c Closes #5678: Selected session may render in ExternalAppBrowserActivity 5 years ago
isabelrios b413a57159 Fix sync test after changes in the syntaxt to check the elements (#6249) 5 years ago
Mihai Branescu 432d5fbff4 For #5848 Wrong toolbar colour - edit bookmark fragment (#6047)
- Moved toolbar coloring to extension method
- Refactored classes using it
- Removed selection mode colouring for EditBookmarkFragment toolbar,
making it only black and white (normal mode)
5 years ago
Mihai Branescu 4efc661db8 For #5733 - Private mode notification - wrong home screen (#6188)
- added PRIVATE MODE intent extra to the notification action
 (could use also the OPEN_FROM_NOTIFICATION, but I considered this one to
 be more explicit. Kept the old one in case other checks will be done
 filtering for it)
- added intent? param to the getPrivateModeFromIntent method, because
onNewIntent() method does not set the activities intent, and it was needed
to be used both in onCreate() and onNewIntent()
5 years ago
ValentinTimisica 27cac54d53 For #5104: Cleanup - Use match_constraint instead of match_parent.
Google officially recommends using match_constraint (equivalent to 0dp)
instead of match_parent when the view is contained in a ConstraintLayout.
https://developer.android.com/reference/android/support/constraint/ConstraintLayout#widgets-dimension-constraints
5 years ago
ValentinTimisica c09a3d1620 Fixes #5104: Changed empty_exception_container to match constraints.
This bug occurs because the activity/fragment is not recreated on
orientation change. A simple fix was to just set width and height to 0dp
to let it match constraints.
5 years ago
ekager fb17ae2258 For #6229 - Remove all tab options from custom tab context menu 5 years ago
Emily Kager 6435a503ca For #6219 - Reset default setting if user opts out of experiments 5 years ago
Mozilla L10n Automation Bot 0242b40ce2 Import l10n. 5 years ago
Mihai Branescu 9d91108f4e For #6179 - Changed positioning of private mode icons in tab he… (#6189) 5 years ago
Jonathan Almeida 59c0fb504e Revert "For #373 - Integrate leanplum-fcm"
This reverts commit ed239ec250.

We're choosing to revert LeanPlum push messaging integration since we believe
that this has introduced a crash in Firebase push messaging. To verify
this assumption we're reverting this change, and when confirmed, we can
re-introduce Leamplum in a safer manner.

See #6250 and #6251 for related info.
5 years ago
Mozilla L10n Automation Bot e26f4a9a6e Import l10n. 5 years ago
Daphne Liu 4cbffc4989 Add intent-filter to support nfc tags (#6257) 5 years ago
Daphne Liu 72171918b1 Replaced beta square icon with round icons (#6261) 5 years ago
Sawyer Blatz 4359c215e6 For #5737: Adds telemetry for open links in a private tab (#5975) 5 years ago
Denys M 6290c0c826 Closes #2441. Update LeakCanary to `2.0-beta-3` version. 5 years ago
wpanas 7ab534705a Closes #6236: Fix padding lint issues (#6240) 5 years ago
mcarare 4e816ccd77 For #5497 Improve sync title/summary settings to support RTL 5 years ago
ekager 4aeea36dc7 No issue: Sign in button style should be ThemeIndependentMaterialGreyButton 5 years ago
ekager f49331de55 For #5544: Bare Minimum Logins UI 5 years ago
Mozilla L10n Automation Bot 6f5fba7718 Import l10n. 5 years ago
RaviGarbuja 8c876b5b16 Closes #6237: Change android:text to tools:text (#6246) 5 years ago
Tiger Oakes 97433dc145
Use tools:listitem with collection creation (#6140) 5 years ago
psy0ch 165b1420b7 Add explanation to @Ignore in CollectionTest (#6238)
#6235
5 years ago
obarzpaw f7840498ed Closes mozilla-mobile#4558 Change height of bookmark linearlayout 5 years ago
Ardlan Khalili eb4150db2a Closes 6168: Globe icon for exceptions 5 years ago
ValentinTimisica bdb2fa71fc For #6145: Switch drawableTint to app compat version. (#6151)
The property android:drawableTint doesn't work on older Android devices,
so I switched to the appcompat version (app:drawableTint).
5 years ago
Jeff Boek 6de7b7d733 For #2477 - Adjust padding to be visually consistent with the separator 5 years ago
Jeff Boek d1643b785e For #2477 - Adds accessibility setting to force enable zoom 5 years ago
Alessio Placitelli 47dfcc119e Pick up forUnitTest library for the Glean SDK test 5 years ago