Commit Graph

2393 Commits (49b95d6e1f63c46ae8590940df7fb6030c5dfeb0)
 

Author SHA1 Message Date
Christian Sadilek 49b95d6e1f [fenix] Use new WindowFeature API after browser-state migration 5 years ago
Mugurell c3936f8fc8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4126 - Add tests for the new classes resulting from refactoring
Used runBlocking to ensure we wait for the code using coroutines to execute
instead of runBlockingTest and join() since this last option led to failed
tests in CI because of
"java.lang.IllegalStateException: This job has not completed yet".
5 years ago
Mugurell 35de878eae [fenix] For https://github.com/mozilla-mobile/fenix/issues/4126 - Document the newly introduced public APIs
Now that the code should be in a ready-to-ship form it would be nice to have
all the major functionalities properly documented.
5 years ago
Mugurell 9b1c705ca2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4126 - Handle all business logic with Interactors and a Controller
Combined all Stores into one for all Views shown in on Fragment.
Used a static `createStore()` which will build the initial state residing
inside the Store and not in the Fragment as to decouple the Fragment from the
business logic needed to build all the needed initial States.
Added Interactors that handle a MVI View's business logic for
TrackingProtectionView and WebsitePermissionsView.
WebsiteInfoView doesn't register any user input events and does not have any
reason to change while it is displayed so it does not have an Interactor.
The two Interactors will delegate Fragment's QuickSettingsController for
complex Android interactions, communication with other app features or for
Store updates.
Also refactored the stubs from the previous commit so that with this commit the
the quicksettings feature should all be working now based on lib-state.
5 years ago
Mugurell 8f07c6fbf0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4126 - Refactor Views and layouts
Refactored `fragment_quick_settings_dialog_sheet` to now be composed of of
FrameLayouts placeholders in which each independent View will inflate itself.
Refactored the QuickSettingsUIView and Component to 3 standalone Views with
their own lib-state components: Store, State, Actions, Reducer.
5 years ago
mozilla-l10n-automation-bot b3d6bc6f7b [fenix] Import strings from android-l10n (https://github.com/mozilla-mobile/fenix/pull/6359) 5 years ago
ValentinTimisica 48489766a0 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/5917: Show snackbar when URL is copied (https://github.com/mozilla-mobile/fenix/pull/6210)
Show a snackbar to the user for him to know that the URL was copied to
clipboard.
5 years ago
Tiger Oakes 41e1c322a6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6153 - Add powered by notification 5 years ago
Jeffrey Starke a1e82286b6 [fenix] * Move repeated NavControllerTest logic to @Before set up method
* Use property access syntax where applicable in NavControllerTest
5 years ago
ValentinTimisica 6ec011b789 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/6341: Initialize 'selectedTabs' based on opened/selected tabs.
The problem was that the parameter 'selectedTabIds' was not taken into account
when initializing the variable 'selectedTabs'. So I made the initialization
based on both the selected tab and the number of open tabs.
5 years ago
ValentinTimisica 5048bbad85 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/6268: Change drawableTint from style to appcompat version.
The property android:drawableTint doesn't work on older Android devices,
so I switched to the appcompat version (app:drawableTint).
5 years ago
mcarare f23d222bb7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6342 Clicking add tab button from home screen finishes onboarding 5 years ago
liuche 54647412c0 [fenix] No issue: Update releng docs (https://github.com/mozilla-mobile/fenix/pull/6230)
* No issue: Update releng docs

* Fill out TODOs

* Address follow-ups
5 years ago
Sawyer Blatz 65fa1e255d [fenix] For https://github.com/mozilla-mobile/fenix/issues/5959 & https://github.com/mozilla-mobile/fenix/issues/5958: Integrates download feature into Fenix (https://github.com/mozilla-mobile/fenix/pull/6368) 5 years ago
mcarare 6f2df90bc2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/1487 Add "my library" menu category and items to home 3-dot menu.
Changed UI tests according to new menu items.
5 years ago
mcarare a79c7d3bb1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/1487 Add "my library" menu category and items to home 3-dot menu 5 years ago
Artur Dryomov aa2d47a591 [fenix] No issue: Refactor errors to risk level conversion. (https://github.com/mozilla-mobile/fenix/pull/5710) 5 years ago
Sawyer Blatz 506fdc79a8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4456: Adds total_uri_count to metrics core ping (https://github.com/mozilla-mobile/fenix/pull/6003) 5 years ago
Sawyer Blatz 3aa5901ddf [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/6344: Adds null check for adjust campaign (https://github.com/mozilla-mobile/fenix/pull/6348) 5 years ago
liuche 3d3e3d3a2e [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4775 - Update README with Severity Triage process (https://github.com/mozilla-mobile/fenix/pull/6311) 5 years ago
Arturo Mejia 4d7068779c [fenix] Update to AC 20.0.0-SNAPSHOT (https://github.com/mozilla-mobile/fenix/pull/6343) 5 years ago
Chenxia Liu 5d32b6880c [fenix] For https://github.com/mozilla-mobile/fenix/issues/6294 - When only one tab is being saved to collection, add it to selected tabs. 5 years ago
Sawyer Blatz ed0d2c0c0c [fenix] For https://github.com/mozilla-mobile/fenix/issues/1298: Fixes issue with Adjust campaign not sending through Glean (https://github.com/mozilla-mobile/fenix/pull/5896) 5 years ago
Oana Horvath 956b506474 [fenix] History menu UI tests (https://github.com/mozilla-mobile/fenix/pull/6272)
Removed failing verifyOverflowMenuButton method

Added new Robot for MultipleSelectionTooolbar

Renamed MultipleSelectionToolbarRobot to LibrarySubMenusMultipleSelectionToolbarRobot
5 years ago
Mozilla L10n Automation Bot 9a69ac4a44 [fenix] Import l10n. 5 years ago
No-Jun Park e40b258890 [fenix] Collection UI Test added, but set to disabled until Collection is refactored (https://github.com/mozilla-mobile/fenix/pull/6160) 5 years ago
Mozilla L10n Automation Bot 24268de707 [fenix] Import l10n. 5 years ago
ValentinTimisica b02410b154 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/5128: Changed history_empty_view to match constraints.
The bug occurred because the activity/fragment is not recreated on
orientation change. A simple fix was to just set width and height to 0dp
to let it match constraints.
5 years ago
Christian Sadilek b5ef6dbcfe [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/5678: Selected session may render in ExternalAppBrowserActivity 5 years ago
isabelrios 4eb8ad16d0 [fenix] Fix sync test after changes in the syntaxt to check the elements (https://github.com/mozilla-mobile/fenix/pull/6249) 5 years ago
Mihai Branescu 9ffde8da1c [fenix] For https://github.com/mozilla-mobile/fenix/issues/5848 Wrong toolbar colour - edit bookmark fragment (https://github.com/mozilla-mobile/fenix/pull/6047)
- Moved toolbar coloring to extension method
- Refactored classes using it
- Removed selection mode colouring for EditBookmarkFragment toolbar,
making it only black and white (normal mode)
5 years ago
Mihai Branescu aa66b3e66e [fenix] For https://github.com/mozilla-mobile/fenix/issues/5733 - Private mode notification - wrong home screen (https://github.com/mozilla-mobile/fenix/pull/6188)
- added PRIVATE MODE intent extra to the notification action
 (could use also the OPEN_FROM_NOTIFICATION, but I considered this one to
 be more explicit. Kept the old one in case other checks will be done
 filtering for it)
- added intent? param to the getPrivateModeFromIntent method, because
onNewIntent() method does not set the activities intent, and it was needed
to be used both in onCreate() and onNewIntent()
5 years ago
ValentinTimisica 799f009731 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5104: Cleanup - Use match_constraint instead of match_parent.
Google officially recommends using match_constraint (equivalent to 0dp)
instead of match_parent when the view is contained in a ConstraintLayout.
https://developer.android.com/reference/android/support/constraint/ConstraintLayout#widgets-dimension-constraints
5 years ago
ValentinTimisica a33229584b [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/5104: Changed empty_exception_container to match constraints.
This bug occurs because the activity/fragment is not recreated on
orientation change. A simple fix was to just set width and height to 0dp
to let it match constraints.
5 years ago
ekager 6f4fd33912 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6229 - Remove all tab options from custom tab context menu 5 years ago
Emily Kager 0a59e87224 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6219 - Reset default setting if user opts out of experiments 5 years ago
Mozilla L10n Automation Bot 9bd7b46ddb [fenix] Import l10n. 5 years ago
Mihai Branescu 2597e6134d [fenix] For https://github.com/mozilla-mobile/fenix/issues/6179 - Changed positioning of private mode icons in tab he… (https://github.com/mozilla-mobile/fenix/pull/6189) 5 years ago
Jonathan Almeida e5f9064701 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/373 - Integrate leanplum-fcm"
This reverts commit b1ce8ffcb7710fd98b692358309db42690593e11.

We're choosing to revert LeanPlum push messaging integration since we believe
that this has introduced a crash in Firebase push messaging. To verify
this assumption we're reverting this change, and when confirmed, we can
re-introduce Leamplum in a safer manner.

See https://github.com/mozilla-mobile/fenix/issues/6250 and https://github.com/mozilla-mobile/fenix/issues/6251 for related info.
5 years ago
Mozilla L10n Automation Bot be2d12beec [fenix] Import l10n. 5 years ago
Daphne Liu 916b172a77 [fenix] Add intent-filter to support nfc tags (https://github.com/mozilla-mobile/fenix/pull/6257) 5 years ago
Daphne Liu ca0136985e [fenix] Replaced beta square icon with round icons (https://github.com/mozilla-mobile/fenix/pull/6261) 5 years ago
Sawyer Blatz 8314b378d7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5737: Adds telemetry for open links in a private tab (https://github.com/mozilla-mobile/fenix/pull/5975) 5 years ago
Denys M f69e53c92d [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/2441. Update LeakCanary to `2.0-beta-3` version. 5 years ago
wpanas 4447c7f9f0 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6236: Fix padding lint issues (https://github.com/mozilla-mobile/fenix/pull/6240) 5 years ago
mcarare 438fbeb2cb [fenix] For https://github.com/mozilla-mobile/fenix/issues/5497 Improve sync title/summary settings to support RTL 5 years ago
ekager 0c97d8780d [fenix] No issue: Sign in button style should be ThemeIndependentMaterialGreyButton 5 years ago
ekager 36de82bdc6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5544: Bare Minimum Logins UI 5 years ago
Mozilla L10n Automation Bot c92b7dc1c0 [fenix] Import l10n. 5 years ago
RaviGarbuja 1edaa81b9b [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6237: Change android:text to tools:text (https://github.com/mozilla-mobile/fenix/pull/6246) 5 years ago