2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-05 21:20:45 +00:00
Commit Graph

7887 Commits

Author SHA1 Message Date
Gabriel Luong
7b54536a7e [fenix] For https://github.com/mozilla-mobile/fenix/issues/22592 - Refactor hideOnboardingIfNeeded() calls when the home menu items are tapped 2021-11-30 22:48:25 +00:00
Mickey Moz
d9b4393201 [fenix] Update Android Components version to 96.0.20211130143618. (https://github.com/mozilla-mobile/fenix/pull/22635) 2021-11-30 12:27:43 -05:00
Mugurell
f70dfb6ef9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22534 - Show history highlights and groups in "Recently visited" (https://github.com/mozilla-mobile/fenix/pull/22535)
* For https://github.com/mozilla-mobile/fenix/issues/22534 - Update homescreen section name to "Recently visited"

* For https://github.com/mozilla-mobile/fenix/issues/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 https://github.com/mozilla-mobile/fenix/issues/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 https://github.com/mozilla-mobile/fenix/issues/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>
2021-11-29 20:12:52 +00:00
Noah Bond
97e59a9717 [fenix] Tab group count telemetry (https://github.com/mozilla-mobile/fenix/pull/22479)
* For https://github.com/mozilla-mobile/fenix/issues/22410 - Refactored tab sorter metrics into a middleware

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Created distribution metric for tab group sizes

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Created tests for tabs tray middleware

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Merge fixes

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Added PR number to metric

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Fixed unit tests post merge. Added waitUntilIdle to new tests.

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Added missing line to middleware to have the Store process actions

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Updated metric expiration to December

* For https://github.com/mozilla-mobile/fenix/issues/22410 - PR Feedback

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Removed else from middleware when
2021-11-29 18:16:57 +00:00
MickeyMoz
2f8ad2cd2a [fenix] Update Android Components version to 96.0.20211129143114. 2021-11-29 16:46:50 +00:00
Sebastian Kaspari
5858b62587 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22198: Mergify: Replace deprecated "strict mode" merge action 2021-11-29 16:14:34 +01:00
Mozilla L10n Automation Bot
be8dce555b [fenix] Import l10n. 2021-11-29 00:45:55 +00:00
MickeyMoz
480b8d7efe [fenix] Update Android Components version to 96.0.20211128143159. 2021-11-28 17:08:32 +00:00
MickeyMoz
c4ff293aa6 [fenix] Update Android Components version to 96.0.20211126190059. 2021-11-27 16:36:00 +00:00
Mozilla L10n Automation Bot
6f49599ea3 [fenix] Import l10n. 2021-11-27 00:46:13 +00:00
Gabriel Luong
c7aea80bb2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22595 - Remove unused OnboardingAutomaticSignInViewHolder 2021-11-26 20:44:07 +00:00
MickeyMoz
7faa6eb5f5 [fenix] Update Android Components version to 96.0.20211126143140. 2021-11-26 19:47:39 +00:00
Heitor Neiva
197ca446f5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22556 - Update to latest taskgraph revision + path changes 2021-11-26 17:36:27 +00:00
Sebastian Kaspari
f1a4296eb6 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22552: Optimize PNGs with ImageOptim 2021-11-26 12:44:54 +00:00
Gabriel Luong
5b069b2ece [fenix] For https://github.com/mozilla-mobile/fenix/issues/22211 - Use Hero images for Recent Bookmarks 2021-11-25 20:35:55 +00:00
Arturo Mejia
72a0b5703c [fenix] Update Android Components version to 96.0.20211125162700. 2021-11-25 14:26:21 -05:00
Arturo Mejia
4cc4e1c67d [fenix] Improve loading URLs 2021-11-25 14:26:21 -05:00
Sebastian Kaspari
798c9bc294 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/22580: Track APK size in perfherder 2021-11-25 16:48:49 +00:00
Sebastian Kaspari
a65a9591b8 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/12731: Disable suspending of engine sessions under memory pressure in Nightly 2021-11-25 14:44:04 +00:00
Mugurell
e665397890 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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.
2021-11-25 09:16:15 +00:00
Mugurell
3dea07855e [fenix] For https://github.com/mozilla-mobile/fenix/issues/22442 - Don't display history group if already in Jump back in 2021-11-25 09:16:15 +00:00
AndiAJ
c09104308d [fenix] New text search UI smoke tests 2021-11-25 08:38:27 +00:00
Mugurell
364119deea [fenix] For https://github.com/mozilla-mobile/fenix/issues/22502 - Keep the previous string resource until safe to remove
See https://github.com/mozilla-mobile/fenix/issues/20871
2021-11-25 08:07:12 +00:00
Matt Tighe
369af67f41 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22321: Add temporary protoc version workaround for M1 Macbooks 2021-11-25 00:59:13 +00:00
Gabriel Luong
6b5ce4d387 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22488 - Fix intermittent test failure with InactiveTabsControllerTest 2021-11-24 19:49:45 +00:00
Gabriel Luong
100d5372ee [fenix] For https://github.com/mozilla-mobile/fenix/issues/22250 - Convert Recent Bookmarks to Jetpack Compose 2021-11-24 19:10:48 +00:00
AndiAJ
f2e74f31f8 [fenix] Improve expand/collapse collection UI test coverage 2021-11-24 18:37:25 +00:00
AndiAJ
62560b4d5c [fenix] Improve collection deletion UI coverage 2021-11-24 18:37:25 +00:00
Grisha Kruglov
ca22bb6ceb [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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.
2021-11-24 17:52:59 +00:00
gmierz
a3e898306a [fenix] Remove non-webrender browsertime tests. 2021-11-24 16:09:52 +00:00
Oana Horvath
bb36ddee12 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21002: improves the share tabs smoke tests coverage 2021-11-24 15:01:54 +00:00
MickeyMoz
fa1e7e5547 [fenix] Update Android Components version to 96.0.20211123143336. 2021-11-23 23:54:41 +00:00
Mozilla L10n Automation Bot
b764027bc0 [fenix] Import l10n. 2021-11-23 22:32:50 +00:00
Arturo Mejia
1284096722 [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/22537 crash: BookmarkFragment is attached to a context 2021-11-23 21:53:47 +00:00
MickeyMoz
1e1de90c7d [fenix] Update Android Components version to 96.0.20211122143347. 2021-11-22 21:06:08 +00:00
Arturo Mejia
5737a5533c [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/5298 the same page appears in the History section multiple times 2021-11-22 14:18:42 -05:00
Sebastian Kaspari
7e446e3759 [fenix] Update Jetpack Compose to 1.0.5 and Activity Compose to 1.4.0 2021-11-22 12:48:46 +00:00
Mugurell
86f80f2652 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22502 - Update "Jump back in" group's subtitle format 2021-11-22 07:50:35 +00:00
MickeyMoz
1958c4cd7a [fenix] Update Android Components version to 96.0.20211120190324. 2021-11-21 16:46:44 +00:00
Mozilla L10n Automation Bot
5183cd3c4d [fenix] Import l10n. 2021-11-21 00:37:05 +00:00
Mozilla L10n Automation Bot
748f15bc2d [fenix] Import l10n. 2021-11-20 15:35:23 +00:00
AndiAJ
201663cff1 [fenix] Improve privateTabsTrayWithOpenedTabTest UI test coverage 2021-11-19 16:34:21 +00:00
AndiAJ
69d2664705 [fenix] Improve verifyOpenTabDetails UI test coverage 2021-11-19 16:34:21 +00:00
AndiAJ
b9211621ed [fenix] Refactor and improve coverage for empty tabs tray UI tests 2021-11-19 16:34:21 +00:00
Mozilla L10n Automation Bot
ccfa34edcf [fenix] Import l10n. 2021-11-19 00:51:12 +00:00
Grisha Kruglov
78e85949cf [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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.
2021-11-18 15:52:01 +00:00
Oana Horvath
6ca9c5a17b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21002: add missing steps to selectSearchEnginesShortcutTest, addPredefinedSearchEngineTest 2021-11-18 15:08:00 +00:00
Grisha Kruglov
77f35fd757 [fenix] 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.
2021-11-17 16:48:25 -05:00
Grisha Kruglov
fc7e707538 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22472: Filter out redirects from History search groups 2021-11-17 16:48:25 -05:00
MickeyMoz
b432bfa589 [fenix] Update Android Components version to 96.0.20211117143034. 2021-11-17 20:05:28 +00:00