Commit Graph

9 Commits (782e8980b04226991582988266fd28ecc1b81b77)

Author SHA1 Message Date
BFadairo 71bc9eb4f7 Closes #27854: Remove unnecessary Theme.getTheme() calls from FirefoxTheme usages 2 years ago
mcarare ffcef5ff2e For #26844: Fix ktlint issues and remove them from baseline. 2 years ago
Roger Yang 015b79f833 For #26061: Make sure favicons are cropped correctly 2 years ago
Alexandru2909 b6f140a76f For #24528 - Remove isPrivate conditional in getTheme in favor of inComposePreview 2 years ago
Noah Bond 07a444c5a0 For #24873 - Add a modifier parameter to the Favicon Composable 2 years ago
Gabriel Luong 8652ff5bcf For #24519 - Add Private theme to FirefoxTheme 2 years ago
Noah Bond 75414ae1df For #24219 - Refactor Favicon to fix previews 2 years ago
Noah Bond 2ea99c9a1c For #23219 - Add favicons to synced tabs list 2 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