Open
Bug 1973366
Opened 4 months ago
Updated 3 months ago
Replace all existing usage of HomeActivity#openToBrowserAndLoad with FenixBrowserUseCases#loadUrlOrSearch
Categories
(Firefox for Android :: Homepage, task, P3)
Tracking
()
ASSIGNED
People
(Reporter: gl, Assigned: gl)
References
(Blocks 2 open bugs)
Details
(Keywords: leave-open, Whiteboard: [fxdroid] [group5])
Attachments
(5 files)
In Bug 1950555, we introduced FenixBrowserUseCases#loadUrlOrSearch to replace the existing usage of openBrowserToBrowserAndLoad. See the original bug for the rationale and context.
This task in this bug continues the refactoring so that we will be able to open all URLs in any of the Fenix UI to take advantage of the new FenixBrowserUseCases and allow us to open URLs in the existing tab as part of Homepage as a New Tab.
| Assignee | ||
Updated•4 months ago
|
Summary: Replace all existing usage of HomeActivity# → Replace all existing usage of HomeActivity#openToBrowserAndLoad with FenixBrowserUseCases#loadUrlOrSearch
| Assignee | ||
Comment 1•4 months ago
|
||
- Refactors the existing usage of
HomeActivity.openToBrowserAndLoadinPocketStoriesControllerto useFenixBrowserUseCases.loadUrlOrSearch.
| Assignee | ||
Comment 2•4 months ago
|
||
| Assignee | ||
Comment 3•4 months ago
|
||
- Refactors the existing usage of
HomeActivity.openToBrowserAndLoadinHomeMenuViewto useFenixBrowserUseCases.loadUrlOrSearchand considers whether or not the URL should be opened in a new tab depending on whether or not Homepage as a New Tab is enabled.
| Assignee | ||
Updated•4 months ago
|
Keywords: leave-open
Pushed by gluong@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/5fdb88b14f2f
https://hg.mozilla.org/integration/autoland/rev/ffaec9498262
Part 1: Refactor opening stories to use `FenixBrowserUseCases.loadUrlOrSearch` r=android-reviewers,devota
https://github.com/mozilla-firefox/firefox/commit/3faeef4ea1f8
https://hg.mozilla.org/integration/autoland/rev/e458c3af291e
Part 2: Remove unused `homeFragment` parameter in `HomeMenuView` r=android-reviewers,devota
| Assignee | ||
Updated•4 months ago
|
Whiteboard: [fxdroid] [group5]
Updated•4 months ago
|
| Assignee | ||
Comment 6•3 months ago
|
||
- Refactors the existing usage of
HomeActivity.openToBrowserAndLoadinhandleCollectionOpenTabClickedto useFenixBrowserUseCases.loadUrlOrSearch. - Open collection tab in existing tab when Homepage as a New Tab is enabled.
| Assignee | ||
Comment 7•3 months ago
|
||
- Refactors the existing usage of
HomeActivity.openToBrowserAndLoadinDefaultToolbarController.handlePasteAndGoto useFenixBrowserUseCases.loadUrlOrSearch. - Paste and go menu item should open in the existing tab when Homepage as a New Tab is enabled.
Pushed by gluong@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/9eaa3cbfe00f
https://hg.mozilla.org/integration/autoland/rev/12d679cc6f7c
Part 3: Refactoring opening URLs from the Homepage Menu to use `FenixBrowserUseCases.loadUrlOrSearch` r=android-reviewers,pollymce
https://github.com/mozilla-firefox/firefox/commit/a7c1e1278a47
https://hg.mozilla.org/integration/autoland/rev/e1df2ac7c5ed
Part 4: Refactoring opening collections on the homepage to use `FenixBrowserUseCases.loadUrlOrSearch` r=android-reviewers,pollymce
https://github.com/mozilla-firefox/firefox/commit/94aa6fcc03c5
https://hg.mozilla.org/integration/autoland/rev/8f00ed883a6a
Part 5: Refactoring toolbar paste and go menu option to use `FenixBrowserUseCases.loadUrlOrSearch` r=android-reviewers,petru
You need to log in
before you can comment on or make changes to this bug.
Description
•