2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00
Commit Graph

3852 Commits

Author SHA1 Message Date
Michael Comella
1f65ba446e [fenix] No issue: extract startMetricsIfEnabled function.
This refactor, done entirely by IDE, is a no-op clean-up of this file.
2020-07-21 15:52:34 -07:00
Jeff Boek
b2d6f5746b [fenix] For https://github.com/mozilla-mobile/fenix/issues/12806 - Adds unit tests to cover ToolbarView.update() (https://github.com/mozilla-mobile/fenix/pull/12807) 2020-07-21 14:34:07 -07:00
Jonathan Almeida
758f0b0b96 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12797: Use measured height/width for loading a thumbnail
Using `onNextLayout` has the side-effect of showing the thumbnail with
the tab.id from a recycled view.

The root cause of needing that call is to retrieve the measured
height/width from the view first before requesting. A simpler solution
to avoid the complexity is to retrieve these values from the dimen
resources.

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2020-07-21 16:38:49 -04:00
Sawyer Blatz
a48f1f8591 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12461: Update content description for tabs tray open tab count 2020-07-21 15:48:38 -04:00
Sebastian Kaspari
8de62c28cf [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/7877: Add SearchActionProvider for faster responses that mirror entered text. 2020-07-21 14:41:00 -04:00
Tiger Oakes
adbadba250 [fenix] Move settings in components (https://github.com/mozilla-mobile/fenix/pull/12675) 2020-07-21 10:47:10 -07:00
Mihai Eduard Badea
130de798fb [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/12387 - Display tab tray using .show
Replaced the global navigation action used for displaying the tab tray with the .show() function.
2020-07-21 10:31:24 -07:00
mcarare
2320c617b2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9722: Refactor onboarding buttons with text.
Add title and description to button text, remove extra Textviews.
2020-07-21 10:28:45 -07:00
Tiger Oakes
ef885fe482 [fenix] Add tests for web push integration 2020-07-21 10:12:06 -07:00
mcarare
5ddf809ee8 [fenix] For android-l10n https://github.com/mozilla-mobile/fenix/pull/241: Mark a11y link type as not translatable. 2020-07-21 17:59:17 +03:00
Johan Lorenzo
13e8560acf [fenix] Bug 1652979 - Stop producing fennecNightly, fenixNightly and fenixBeta (https://github.com/mozilla-mobile/fenix/pull/12225) 2020-07-21 16:42:08 +02:00
TejaswiKarasani
00cd8b8f35 [fenix] No issue: verify ETP toolbar shield icon is not displayed if ETP is OFF globally in ETP UI tests (https://github.com/mozilla-mobile/fenix/pull/12623) 2020-07-21 09:33:06 -04:00
Oana Horvath
82a76042d9 [fenix] Fix UI tests from https://github.com/mozilla-mobile/fenix/issues/12752 https://github.com/mozilla-mobile/fenix/issues/12637 https://github.com/mozilla-mobile/fenix/issues/12764 (https://github.com/mozilla-mobile/fenix/pull/12779)
* For https://github.com/mozilla-mobile/fenix/issues/12752 & https://github.com/mozilla-mobile/fenix/issues/12764: Fixes tabs tray behavior in UI tests

* For https://github.com/mozilla-mobile/fenix/issues/12637: fixes goBackTest
2020-07-21 08:49:24 -04:00
Tiger Oakes
3bccc0dd50 [fenix] Pass settings and metrics to CFR 2020-07-21 09:01:09 +03:00
mozilla-l10n-automation-bot
72e6448a1d [fenix] Import l10n. (https://github.com/mozilla-mobile/fenix/pull/12766) 2020-07-20 18:26:00 -07:00
Richard Pappalardo
41bb2cb087 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/12752, https://github.com/mozilla-mobile/fenix/issues/12764 - Temp disable openHistoryInNewTabTest intermittent UI test failures (https://github.com/mozilla-mobile/fenix/pull/12754)
* Fixes https://github.com/mozilla-mobile/fenix/issues/12752 - Temp disable intermittent failing test
2020-07-20 18:09:01 -07:00
Kainalu Hagiwara
5a895d6125 [fenix] No issue - Suppress new warnings from detekt update 2020-07-20 17:01:50 -07:00
Sawyer Blatz
de6145c967 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12461: Add tab count to tab tray 2020-07-20 19:16:47 -04:00
Tiger Oakes
712dce391d [fenix] For https://github.com/mozilla-mobile/fenix/issues/5499 - Unify CFR drawables and dimens (https://github.com/mozilla-mobile/fenix/pull/12749) 2020-07-20 16:00:57 -07:00
Hakkı Kaan Çalışkan
898defc3a2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12532: Quick fix for radio button alignment (https://github.com/mozilla-mobile/fenix/pull/12691) 2020-07-20 15:33:32 -07:00
Kainalu Hagiwara
3320f82bfb [fenix] For https://github.com/mozilla-mobile/fenix/issues/12551 - Implement swipe to delete for bookmarks. 2020-07-20 14:54:20 -07:00
Kainalu Hagiwara
0671fc50e8 [fenix] Rename tab_tray_background.xml 2020-07-20 14:54:20 -07:00
Michael Comella
e85dd6a09c [fenix] No issue: correct position of StartupTimeline; add warning. 2020-07-20 14:27:41 -07:00
Sawyer Blatz
80b4fb0808 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10466: Add search privately to top of list (https://github.com/mozilla-mobile/fenix/pull/12744) 2020-07-20 13:25:36 -07:00
Tiger Oakes
5b7d951590 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/10924 - Cleanup SavedLoginsAuthFragment (https://github.com/mozilla-mobile/fenix/pull/10930) 2020-07-20 13:25:24 -07:00
Kainalu Hagiwara
055620f117 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12730 - Fix ripple for font size setting. 2020-07-20 13:00:59 -07:00
Sawyer Blatz
d8ecc2e19c [fenix] For https://github.com/mozilla-mobile/fenix/issues/11851: Close tab tray when last tab closed (https://github.com/mozilla-mobile/fenix/pull/12615) 2020-07-20 11:05:32 -07:00
ekager
b8b3d8b367 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10784 - Fixes memory leak in BrowserAnimator 2020-07-20 13:50:18 -04:00
Sawyer Blatz
54a6de9b84 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12735: Fixes issue with tab deletion undo (https://github.com/mozilla-mobile/fenix/pull/12737) 2020-07-20 10:48:16 -07:00
Hakkı Kaan Çalışkan
197a076ef2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12554: Helper class for password reveal on logins 2020-07-20 13:45:46 -04:00
mozilla-l10n-automation-bot
24f19cd763 [fenix] Import l10n. (https://github.com/mozilla-mobile/fenix/pull/12687) 2020-07-19 21:30:11 -07:00
Christian Sadilek
250c95eb28 [fenix] Update Android Components to 51.0.20200717190031 2020-07-17 19:32:02 -04:00
Tiger Oakes
e740819acd [fenix] Fix lint issues (https://github.com/mozilla-mobile/fenix/pull/12683) 2020-07-17 16:20:08 -07:00
Tiger Oakes
cb59729010 [fenix] Change enabled lint rules (https://github.com/mozilla-mobile/fenix/pull/12517) 2020-07-17 15:17:16 -07:00
Tiger Oakes
25a5f478ef [fenix] Test migration classes (https://github.com/mozilla-mobile/fenix/pull/12677) 2020-07-17 14:35:13 -07:00
Tiger Oakes
a7bbc86f4a [fenix] Add tests for login exceptions (https://github.com/mozilla-mobile/fenix/pull/12681) 2020-07-17 14:25:45 -07:00
Tiger Oakes
5c9876dcff [fenix] Fix failure in handleWhatsNewGetAnswersClicked (https://github.com/mozilla-mobile/fenix/pull/12682) 2020-07-17 14:25:35 -07:00
Mihai Adrian Carare
3823c632ac [fenix] For https://github.com/mozilla-mobile/fenix/issues/7966: Update toolbar content description. (https://github.com/mozilla-mobile/fenix/pull/12667) 2020-07-17 16:22:13 -05:00
Elise Richards
508854ea07 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12532: Align Settings -> Site permissions -> Sub-pages to 72dp keyline (https://github.com/mozilla-mobile/fenix/pull/12680)
Co-authored-by: Hakkı Kaan Çalışkan <caliskanhkaan@gmail.com>
2020-07-17 15:54:57 -05:00
Mihai-Eduard Badea
65c98d6c16 [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/9949 - Bookmarks/History deletion inconsistencies (https://github.com/mozilla-mobile/fenix/pull/12630)
- Added the undo action for deleting individual history items by creating a new field to the history state containing the id's of the history items that are pending for deletion; This field is used inside the update function from the view to show/hide the items.

 - Added a new check inside the "deleteMulti" method from BookmarkFragment that calls the showRemoveFoldersDialog to prevent the user from being able to delete one or more bookmark folders without being asked for confirmation, as in https://github.com/mozilla-mobile/fenix/issues/8648.

Co-authored-by: Mihai Eduard Badea <mihai.badea@softvision.ro>
2020-07-17 15:13:18 -05:00
Tiger Oakes
549acfa6f1 [fenix] Test session control controller (https://github.com/mozilla-mobile/fenix/pull/12652) 2020-07-17 13:07:01 -07:00
Hakkı Kaan Çalışkan
415bbf6574 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12509: Set height of remove add on button to 36dp 2020-07-17 12:55:36 -07:00
ekager
f7f80ad6cb [fenix] Update ContextMenuUseCases to just take a store 2020-07-17 14:49:10 -04:00
ekager
2deadc2e22 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12453 - Sets secure flags on private tab of tabs tray 2020-07-17 13:24:25 -04:00
ekager
bc08df1c8f [fenix] For https://github.com/mozilla-mobile/fenix/issues/12364 - Only show PWA prompt the third time a user visits installable site 2020-07-17 12:37:03 -04:00
Tiger Oakes
ded7cde177 [fenix] Add tests for adapters in collections (https://github.com/mozilla-mobile/fenix/pull/12649) 2020-07-17 09:04:16 -07:00
Kainalu Hagiwara
46a9bba6e0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12531: Align Settings -> Private browsing to 72dp keyline (https://github.com/mozilla-mobile/fenix/pull/12654)
Co-authored-by: Hakkı Kaan Çalışkan <caliskanhkaan@gmail.com>
2020-07-16 22:26:49 -07:00
Elise Richards
5b46f572df [fenix] For https://github.com/mozilla-mobile/fenix/issues/10173: login duplicates and save (https://github.com/mozilla-mobile/fenix/pull/11208)
* Extract controller into it's own class. Implement find dupes and filter based on username.

Create edit login controller. Add text watchers and check for duplicates.

Edit controller test

* Find duplicates and save to store

* Retrieve duplicates from AC and check list on username text changed

Move duplicates logic into the controller

* Add glean pings for delete and edit. Move logic for login manipulation into the datastore.

* Use correct threads in controller. Enable save button when applicable.

Save enabled in datastore.

Move login data to datastore

Rebase with password error states

Update metrics to be more specific for edit

* Create logins controller for AC calls

* Interactor and controller methods for edit login. Add edit view to separate out some layout manipulation.

Inflate view in edit fragment. Double layout showing up.

Edit view

Controller tests

Controller tests passing

Interactor tests

Lint and detekt cleanup

* Remove datastore and use storage controller for all logins calls to password storage.

Addressed comments

Lint
:

Rebase - 1
2020-07-16 17:08:04 -05:00
Tiger Oakes
046682f889 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12457: Add MockK matcher for intents (https://github.com/mozilla-mobile/fenix/pull/12612) 2020-07-16 15:05:01 -07:00
Mugurell
ac85ba0945 [fenix] Ensure logins deletion (https://github.com/mozilla-mobile/fenix/pull/12507)
* For https://github.com/mozilla-mobile/fenix/issues/11227 - Cleanup saved logins list when one is selected

Selecting a saved login will open a detail screen for it from where users can
change details or even delete that particular login.
After the change is made the user is brought back to the list of saved logins
where for a brief moment (< 1s) until we get a new response from
passwordsStorage.list() the user can see and even interact with the old list
of items, which may still contain the just deleted one.

To avoid users seeing obsolete logins or even interacting with them (selecting
a previosuly deleted item will result in a crash) we will clean the list of
logins just before the selected login is opened in the detailed view.
When returning for a brief moment the users may see the "loading" UX until
passwordsStorage.list() returns the up-to-date list of logins to display.

* For https://github.com/mozilla-mobile/fenix/issues/11227 - Refactor SavedLoginsView to be closer to MVI

- Interactors should only get passed other Interactors or Controllers as
dependencies to which they should delegate user actions.
- Controllers should hold most of the business logic and get passed all final
dependencies they need to do their job.
2020-07-16 14:40:08 -05:00