Grisha Kruglov
969398d46a
[fenix] Migrate FxA state
2019-11-06 14:29:24 -08:00
Mihai Branescu
3ee547b729
[fenix] For https://github.com/mozilla-mobile/fenix/issues/6269 Rtl-wrong-search-positioning ( https://github.com/mozilla-mobile/fenix/pull/6400 )
...
* For https://github.com/mozilla-mobile/fenix/issues/6269
- Added start/end margin for rtl support in shortcuts label
* For https://github.com/mozilla-mobile/fenix/issues/6269
- Refactored search fragment xml, extracted dimens + added styles
2019-11-06 11:54:43 -08:00
Sawyer Blatz
1bf15d71e2
[fenix] For https://github.com/mozilla-mobile/fenix/issues/6390 : Fixes textColor on download prompt ( https://github.com/mozilla-mobile/fenix/pull/6468 )
2019-11-06 11:10:17 -08:00
Sawyer Blatz
b898b45c8b
[fenix] For https://github.com/mozilla-mobile/fenix/issues/6284 : Fixes SearchShortcut button functionality when in a session
...
This makes it so searchShortcuts button works when going from browser -> search
2019-11-06 11:08:41 -08:00
Mihai Branescu
48a06e4e1d
[fenix] For https://github.com/mozilla-mobile/fenix/issues/6087
...
- added engine hashmap so that we create each type of search provider once
(previously the providers to be added were checked by id, but since the id
is a UUID, it was always unique -> bug with multiple providers with same engine
but different id
- refactored update() flow so that it's more understandable + remove complex
method warning
2019-11-06 11:08:41 -08:00
Emily Kager
4c9f6299ab
[fenix] No issue: Update to AC 21 SNAPSHOT ( https://github.com/mozilla-mobile/fenix/pull/6466 )
2019-11-06 10:31:43 -08:00
Mozilla L10n Automation Bot
3787c40b4d
[fenix] Import l10n.
2019-11-06 09:34:26 -08:00
ekager
e709201056
[fenix] Use new API for ETP Exceptions
2019-11-05 12:45:58 -08:00
Emily Kager
bb2d4aa38f
[fenix] For https://github.com/mozilla-mobile/fenix/issues/6441 : Fix variant build type matching ( https://github.com/mozilla-mobile/fenix/pull/6462 )
2019-11-05 12:28:14 -08:00
mozilla-l10n-automation-bot
616f0210c6
[fenix] Import l10n. ( https://github.com/mozilla-mobile/fenix/pull/6414 )
2019-11-05 09:44:23 -08:00
Emily Kager
1b228ac62a
[fenix] No issue: Ignore rest of HistoryTest tests ( https://github.com/mozilla-mobile/fenix/pull/6450 )
2019-11-05 08:53:07 -08:00
Emily Kager
f2839a9943
[fenix] For https://github.com/mozilla-mobile/fenix/issues/6441 - Only enable experiments for Beta/Prod
2019-11-04 16:45:35 -08:00
Richard Pappalardo
a17bb1d8dd
[fenix] Temp disable all History UI tests ( https://github.com/mozilla-mobile/fenix/pull/6443 )
2019-11-04 15:25:29 -08:00
Emily Kager
a3f417eb98
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6369 - Use padding set from style for protection settings
2019-11-04 10:25:15 -08:00
Jeffrey Starke
2896a79805
[fenix] Use vector compat in TrackingProtectionPanelView ( https://github.com/mozilla-mobile/fenix/pull/6376 )
2019-11-04 10:04:02 -08:00
Richard Pappalardo
cdfba9536a
[fenix] Temp disable flaky deleteMultipleSelectionTest ( https://github.com/mozilla-mobile/fenix/pull/6405 )
...
* Temp disable flaky deleteMultipleSelectionTest
* Fix indentation
2019-11-04 09:44:44 -08:00
Christian Sadilek
b425c60f28
[fenix] Upgrade Mozilla Application Services to 0.42.2
2019-11-02 19:31:40 -04:00
liuche
0eb5656020
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6097 - Bump activation ping expiry date. ( https://github.com/mozilla-mobile/fenix/pull/6309 )
2019-11-01 14:06:44 -07:00
Christian Sadilek
49b95d6e1f
[fenix] Use new WindowFeature API after browser-state migration
2019-11-01 15:52:37 -04:00
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".
2019-10-31 17:08:40 -07:00
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.
2019-10-31 17:08:40 -07:00
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.
2019-10-31 17:08:40 -07:00
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.
2019-10-31 17:08:40 -07:00
mozilla-l10n-automation-bot
b3d6bc6f7b
[fenix] Import strings from android-l10n ( https://github.com/mozilla-mobile/fenix/pull/6359 )
2019-10-31 17:02:17 -07:00
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.
2019-10-31 16:53:00 -07:00
Tiger Oakes
41e1c322a6
[fenix] For https://github.com/mozilla-mobile/fenix/issues/6153 - Add powered by notification
2019-10-31 16:39:58 -07:00
Jeffrey Starke
a1e82286b6
[fenix] * Move repeated NavControllerTest logic to @Before set up method
...
* Use property access syntax where applicable in NavControllerTest
2019-10-31 16:28:02 -07:00
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.
2019-10-31 16:22:14 -07:00
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).
2019-10-31 16:09:49 -07:00
mcarare
f23d222bb7
[fenix] For https://github.com/mozilla-mobile/fenix/issues/6342 Clicking add tab button from home screen finishes onboarding
2019-10-31 16:04:02 -07:00
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
2019-10-31 15:35:56 -07:00
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 )
2019-10-31 14:37:05 -07:00
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.
2019-10-31 11:29:49 -07:00
mcarare
a79c7d3bb1
[fenix] For https://github.com/mozilla-mobile/fenix/issues/1487 Add "my library" menu category and items to home 3-dot menu
2019-10-31 11:29:49 -07:00
Artur Dryomov
aa2d47a591
[fenix] No issue: Refactor errors to risk level conversion. ( https://github.com/mozilla-mobile/fenix/pull/5710 )
2019-10-30 11:08:45 -07:00
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 )
2019-10-30 11:02:33 -07:00
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 )
2019-10-30 10:13:03 -07:00
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 )
2019-10-30 09:55:55 -07:00
Arturo Mejia
4d7068779c
[fenix] Update to AC 20.0.0-SNAPSHOT ( https://github.com/mozilla-mobile/fenix/pull/6343 )
2019-10-30 10:26:20 -04:00
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.
2019-10-29 11:27:51 -07:00
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 )
2019-10-29 10:09:07 -07:00
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
2019-10-29 11:36:19 +02:00
Mozilla L10n Automation Bot
9a69ac4a44
[fenix] Import l10n.
2019-10-28 17:26:28 -07:00
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 )
2019-10-28 15:10:19 -04:00
Mozilla L10n Automation Bot
24268de707
[fenix] Import l10n.
2019-10-28 10:04:12 -07:00
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.
2019-10-28 09:44:03 -07:00
Christian Sadilek
b5ef6dbcfe
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/5678 : Selected session may render in ExternalAppBrowserActivity
2019-10-28 09:43:33 -07:00
isabelrios
4eb8ad16d0
[fenix] Fix sync test after changes in the syntaxt to check the elements ( https://github.com/mozilla-mobile/fenix/pull/6249 )
2019-10-28 11:31:32 -04:00
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)
2019-10-25 21:41:48 -07:00
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()
2019-10-25 21:41:31 -07:00