Commit Graph

6530 Commits (8ca1a7e271da1dffdae555a621811577b2450e00)

Author SHA1 Message Date
Mozilla L10n Automation Bot 1d5f7db7c7 Import l10n. 3 years ago
Noah Bond 73cfd0b145 For #22691 - Add Composables for Primary and Secondary text 3 years ago
Gabriel Luong 0078d7fe01 For #22676 - Replace top_site_title_text with fx_mobile_text_color_primary color token 3 years ago
Oana Horvath b1dab8170c For #21002: Add testETPOffGlobally UI smoke test 3 years ago
Gabriel Luong 4fe3d6db02 For #22654 - Add new color tokens provided by the design systems to colors.xml 3 years ago
Gabriel Luong e20ef25bd1 For #22637 - Add new color tokens provided by the mobile styles to FirefoxTheme 3 years ago
Mozilla L10n Automation Bot caea82864d Import l10n. 3 years ago
Noah Bond 31e86842dd
For #22516 - Fixed alignment of "Show all" buttons on the homescreen (#22650)
* For #22516 - Fixed show all button alignment with section headers on the Homepage

* For #22516 - Added correct content description back in for recently visited show all button

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Christian Sadilek 26713a58c8 Refactor: Move historymetadata classes in separate package 3 years ago
AndiAJ cb48ff7882 Refactor recently closed tabs UI smoke tests 3 years ago
AndiAJ f6caf507fd Move verifyRecentlyClosedTabsListTest UI test from SmokeTest class 3 years ago
AndiAJ 0ac7bc80ab Disable failing verifyUndoSnackBarTest UI test 3 years ago
Sebastian Kaspari b04eeccf14 Android Autofill: Enable keyboard inline autofill suggestions 3 years ago
Roger Yang 3d33a9422c Close #20701: Dismiss keyboard when scrolling home screen 3 years ago
Mozilla L10n Automation Bot 9fa9ae3375 Import l10n. 3 years ago
rxu 4d9a58c156 Add distribution_id into first session ping 3 years ago
Mozilla L10n Automation Bot 514f41fe67 Import l10n. 3 years ago
Gabriel Luong 3c82a34aa1 For #22592 - Refactor hideOnboardingIfNeeded() calls when the home menu items are tapped 3 years ago
Mugurell 5c3fedd707
For #22534 - Show history highlights and groups in "Recently visited" (#22535)
* For #22534 - Update homescreen section name to "Recently visited"

* For #22534 - Show both history highlights and groups in Recently visited

For now the metadata groups don't support scoring so as an interim solution we
will show up to 9 items, evenly distributes, first favoring groups sorted by
date then history highlights pre-sorted by default.

Tapping a history highlight will switch to it's already open tab if available
or create a new one in which to load it if needed.

A "Remove" option will also be available for history highlights to remove it
from the screen and also from history.
Currently removing a group / highlight will not query new ones to again show up
to 9 items, this will be implemented separately.

* For #22534 - Rename and refactor historymetadata to recentvisits

The updated feature supports more than history metadata so updating the overall
naming scheme seems needed.
To signal that this is a homescreen feature the entire package is moved to home

* For #22534 - Update UI tests to account for the new items space on the screen

Saw failures about not finding the collection section on screen.
This is probably happening because w are now adding the recent visits to
homescreen above the collections section pushing it off screen.

Since the collections might be obstructed by the toolbar shown on top as a
quick solution we'll scroll to the next homescreen section so that the
collections will be shown above in their entirety.

* Update app/src/main/java/org/mozilla/fenix/home/recentvisits/RecentVisitsFeature.kt

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>

* Update app/src/main/java/org/mozilla/fenix/home/recentvisits/RecentVisitsFeature.kt

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Noah Bond de1c6b0dae
Tab group count telemetry (#22479)
* For #22410 - Refactored tab sorter metrics into a middleware

* For #22410 - Created distribution metric for tab group sizes

* For #22410 - Created tests for tabs tray middleware

* For #22410 - Merge fixes

* For #22410 - Added PR number to metric

* For #22410 - Fixed unit tests post merge. Added waitUntilIdle to new tests.

* For #22410 - Added missing line to middleware to have the Store process actions

* For #22410 - Updated metric expiration to December

* For #22410 - PR Feedback

* For #22410 - Removed else from middleware when
3 years ago
Mozilla L10n Automation Bot 6003e16076 Import l10n. 3 years ago
Mozilla L10n Automation Bot cfac710754 Import l10n. 3 years ago
Gabriel Luong 7c2d9bd8a8 For #22595 - Remove unused OnboardingAutomaticSignInViewHolder 3 years ago
Sebastian Kaspari 1bcf37ba7c Closes #22552: Optimize PNGs with ImageOptim 3 years ago
Gabriel Luong 91da5318e3 For #22211 - Use Hero images for Recent Bookmarks 3 years ago
Arturo Mejia a49f80d5e8 Update Android Components version to 96.0.20211125162700. 3 years ago
Arturo Mejia 3f86a5d6f9 Improve loading URLs 3 years ago
Sebastian Kaspari a6d5d21e0b Issue #22580: Track APK size in perfherder 3 years ago
Sebastian Kaspari e341109ced Issue #12731: Disable suspending of engine sessions under memory pressure in Nightly 3 years ago
Mugurell 548efefcbb For #22442 - Don't display individual tab if part of the Jump back in tabs group
We'll show as a recent tab the next most recent tab not part of the last active
search group.
3 years ago
Mugurell 685da115c9 For #22442 - Don't display history group if already in Jump back in 3 years ago
AndiAJ 45f1666c6f New text search UI smoke tests 3 years ago
Mugurell 779f4fc704 For #22502 - Keep the previous string resource until safe to remove
See https://github.com/mozilla-mobile/fenix/issues/20871
3 years ago
Matt Tighe 5003c14e7e Closes #22321: Add temporary protoc version workaround for M1 Macbooks 3 years ago
Gabriel Luong dc15ee2415 For #22488 - Fix intermittent test failure with InactiveTabsControllerTest 3 years ago
Gabriel Luong 749da13516 For #22250 - Convert Recent Bookmarks to Jetpack Compose 3 years ago
AndiAJ c9303f44b4 Improve expand/collapse collection UI test coverage 3 years ago
AndiAJ 5934c7d6b2 Improve collection deletion UI coverage 3 years ago
Grisha Kruglov 413ff7cd85 Closes #22499: Emit search group disband action on history group removal
This is needed to prevent removed search groups from coming back after
user interacts with the tab. E.g. if we don't fire this action, upon
interaction with the tab after a corresponding search group was removed
we will end up creating metadat with the deleted 'searchTerms' (they'll
be read from the 'historyMetadata' state on the tab).

At this point we probably want to start encapsulating all of this in a
use case - let's do that separately in
https://github.com/mozilla-mobile/android-components/issues/11309, and
just fix the bug for now.
3 years ago
Oana Horvath aff3e4b9dd For #21002: improves the share tabs smoke tests coverage 3 years ago
Mozilla L10n Automation Bot de30610aa6 Import l10n. 3 years ago
Arturo Mejia 7b7ef2e661 For issue #22537 crash: BookmarkFragment is attached to a context 3 years ago
Arturo Mejia 74406bef59 For issue #5298 the same page appears in the History section multiple times 3 years ago
Mugurell 888bbc770e For #22502 - Update "Jump back in" group's subtitle format 3 years ago
Mozilla L10n Automation Bot 396c51d569 Import l10n. 3 years ago
Mozilla L10n Automation Bot 708b78d3a0 Import l10n. 3 years ago
AndiAJ 378ac03e30 Improve privateTabsTrayWithOpenedTabTest UI test coverage 3 years ago
AndiAJ ec31faef7a Improve verifyOpenTabDetails UI test coverage 3 years ago
AndiAJ 4261ca7ea6 Refactor and improve coverage for empty tabs tray UI tests 3 years ago
Mozilla L10n Automation Bot f0a3653d7b Import l10n. 3 years ago
Grisha Kruglov 63154a18f9 Closes #22484 - Track direct loads per tab; fix search term lookup
This patch fixes two problems:
1) We were treating "direct tab load" as an event which applies
   uniformally to all tabs, even though it's actually an event which
   happens for a specific tab. This lead to background tabs (pages opened as new tab)
   setting the direct load flag, and then a simultaneously loading
   parent tab would incorrectly interpret that flag for itself.

   The patch switches this tracking from a simple boolean (are we direct
   loading?) to a set of tab IDs that are currently direct loading.

2) In a case when a background tab was loading with a parent who's
   search terms were cleared by a direct load, we were not trying to
   lookup search terms on the background tab's historyMetadata key,
   which exists to capture search terms for this exact scenario.

   The patch adds an additional fallback lookup for that path.
3 years ago
Oana Horvath 4892f0ddbe For #21002: add missing steps to selectSearchEnginesShortcutTest, addPredefinedSearchEngineTest 3 years ago
Grisha Kruglov 77672dfa15 Post: move group removal logic into PagedHistoryProvider
This moves the group removal logic to the place where the groups are
actually formed. This helps clean-up the fragment code a bit, and
removes the awkward 'allow mutate some random internal state' API from
the provider.
3 years ago
Grisha Kruglov 45d4807bfe Closes #22472: Filter out redirects from History search groups 3 years ago
AndiAJ 2c9efac286 Improve mainMenuAddToHomeScreenTest UI test coverage 3 years ago
AndiAJ e265da0cb4 startOnLastTab UI smoke test 3 years ago
AndiAJ 4ff64ad7ca recentBookmarksOption UI smoke test 3 years ago
AndiAJ eee83c9cbd jumpBackInOption UI smoke test 3 years ago
AndiAJ 7460461e16 startOnHomepageTest refactoring work 3 years ago
Mozilla L10n Automation Bot 364fecf9d4 Import l10n. 3 years ago
Christian Sadilek 8c88561d4b Update lastAccess timestamp of selected tab when launching to home 3 years ago
Roger Yang 24e4452cb5 Close #22402: Add top placeholder for home 3 years ago
Noah Bond dde916038d
MR2 Telemetry: Homescreen view count (#22377)
* For #22146 - Added counter for home screen views

* For #22146 - Added PR number to metrics

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Mugurell d4a6facd81 For #22155 - Store inactive tabs count telemetry when user opens tabs tray
Setting this value in FenixApplication.onCreate was buggy because of a race
with restoring BrowserState.
Setting it here would ensure a better granularity of the events and so to more
accurate reporting.
3 years ago
Mugurell 17865bdf66 For #22147 - New search term groups telemetry 3 years ago
AndiAJ f91285881d Improve homeThreeDotMenuItemsTest UI test coverage 3 years ago
Mozilla L10n Automation Bot f466d65256 Import l10n. 3 years ago
Arturo Mejia 94a543a403 For #22271 Improve URL accessing from the clipboard for Android 12 and above. 3 years ago
Mugurell c42ccb4966 For #22388 - Update content description of the delete button 3 years ago
Mozilla L10n Automation Bot abcafa55f0 Import l10n. 3 years ago
Mozilla L10n Automation Bot d29fd55c8b Import l10n. 3 years ago
Oana Horvath ba91180e85 No issue: creates new SmokeTest annotation.
Updates smoke tests list according to the ones in TestRail.
3 years ago
Mozilla L10n Automation Bot b0ad98a204 Import l10n. 3 years ago
Noah Bond 811f255b71
MR2 Telemetry: Opening screen preference (#22333)
* For #22145 - Added telemetry to the opening screen preference.

* For #22145 - Added PR number to metric

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Noah Bond 2e5555d034
MR2 telemetry - Inactive tabs CFR (#22301)
* For #22298 - Added telemetry to inactive tabs CFR

* For #22298 - added PR issue number to metrics

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Jonathan Almeida e3b6e00331 Close #22223: Move to the selected page when switching modes 3 years ago
Mozilla L10n Automation Bot 210587b735 Import l10n. 3 years ago
Grisha Kruglov 9a4a4713ac No issue: clean up code duplication in PagedHistoryProvider 3 years ago
AndiAJ 1ade096145 For #22256 re-enable editCustomSearchEngineTest UI test 3 years ago
Ben Dean-Kawamura df953b0021 Make findDuplicate() suspend
findLoginToUpdate() should be suspend, but I didn't get mark it that way
on the initial logins work.  Let's make this one suspend, then I can
update findLoginToUpdate() in a-c.
3 years ago
Mozilla L10n Automation Bot e52000bb20 Import l10n. 3 years ago
Jonathan Almeida 8ced675817 No issue: Correct TabsTrayAction naming 3 years ago
Jonathan Almeida 08b15689b1 Close #22305: Use TabsTrayStore for populating adapters 3 years ago
Jonathan Almeida f16300392d Close #22305: Add tab state into the TabsTrayStore 3 years ago
Michael Comella c026d8b28a For #21084: put git hash on About screen in release builds. 3 years ago
AndiAJ f4e7547190 Improve verifyEmptyTabTray Ui test coverage 3 years ago
Mugurell 953f6feb17 For #22155 - The inactiveTabsCount probe reports actualInactiveTabs number 3 years ago
Mugurell f9b67091c6 For #22155 - New BrowserState.actualInactiveTabs public method
This allows querying from all throughout the app which of the current tabs are
inactive while taking into consideration whether the feature is enabled or not
such that when the feature is disabled it will always return an empty result.
3 years ago
Mozilla L10n Automation Bot 2089c29fea Import l10n. 3 years ago
Grisha Kruglov 81b70122d4 No issue: rename test resource file that was causing issues on Windows 3 years ago
Mozilla L10n Automation Bot 8c2cdaa3ff Import l10n. 3 years ago
Mozilla L10n Automation Bot 06f57fdcfe Import l10n. 3 years ago
mike a d69b5ed456 For #21816: Filename in "Open" PDF dialog overflows screen
Changing the download file name length to the max allowed by AS (251 char, won’t compile if more; max would be 260 for latest windows versions, but generally it is 255), and changing the UI test to check if the long file name is fully visible.
Changing the downloaded dialog layout to properly display really long file names.
3 years ago
Grisha Kruglov 5b889fdb96 For #22342: Make layout constraint for 'recent bookmarks' the same as other sections 3 years ago
Sebastian Kaspari 8c9f0c835a Closes #21695: ThreadPenaltyDeathWithIgnoresListener: Ignore stack traces containing InstrumentationHooks class 3 years ago
Mozilla L10n Automation Bot 7e66c02363 Import l10n. 3 years ago
Roger Yang 04618983aa Close #22299: Add history search term group telemetry 3 years ago
Grisha Kruglov 294997e559 No issue: history view search group missing
Our boundary conditions for matching search groups to visits was wrong.

This change switches the boundary buffer to only be applied to history
items, not the metadata items.

In other words, when checking if any of the metadata items match the
current "page" of history, we'll be looking to see if the item falls
within this time window:
buffer - oldest history item <= metadata item <= newest history item +
buffer

There's a separate problem with buffer though: it's reset to 0 when requested
offset is >0, but that requires a larger refactor of this code, for a
separate PR.
3 years ago
Oana Horvath 4d88c521ac For #22304 & #22256: Disabled failing visitedUrlHistoryTest & editCustomSearchEngineTest tests 3 years ago
Mozilla L10n Automation Bot ed0389abe3 Import l10n. 3 years ago