2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-05 21:20:45 +00:00
Commit Graph

2687 Commits

Author SHA1 Message Date
mcarare
9bc6269a02 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4487 Set activity title only once in Bookmark fragment
Removed label from nav_graph that caused label to be set for each navigation
Removed title setting in onCreate() called for each navigation
Changed logic for checking current root when setting UI for normal mode
2019-11-12 08:21:53 -08:00
Arturo Mejia
2be3cb8bac [fenix] No issue: Do not prevent trackers duplication in the tracking
protection panel.
2019-11-12 08:15:30 -08:00
mcarare
04a9c50757 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6543 Hide keyboard when saving a new bookmarks folder 2019-11-12 08:09:55 -08:00
Severin Rudie
153923588f [fenix] For https://github.com/mozilla-mobile/fenix/issues/4281: fixed metrics.yaml for QAB removal (https://github.com/mozilla-mobile/fenix/pull/6555) 2019-11-11 18:01:22 -08:00
Severin Rudie
2e76d82c9a [fenix] 4281 remove qab (https://github.com/mozilla-mobile/fenix/pull/6310)
* For https://github.com/mozilla-mobile/fenix/issues/4281: small ToolbarMenu refactor

This makes it easier to see how items are ordered in the menuItems list

* For 4281: add QAB buttons to menu

* For 4281: removed menu back button per mocks

I double checked with UX, and we'll be relying on the hardware back button for its functionality

* For 4281: add content descriptions for bookmarking

* For 4281: updated BrowserToolbarController for new functionality

* For 4281: provided simple dependencies to browser controller

More complex changes will be in a following commit, for review readability

* For 4281: move toolbar controller dependencies up to BaseBrowserFragment

The functionality they control is being moved into the toolbar menu, which is shared by both normal tabs and custom ones

* For 4281: removed (now unused) code related to QAB

* For 4281: fix test compilation after QAB removal

Tests still need to be expanded to include added functionality

* For 4281: updated menu to show if url is bookmarked

This sloppy workaround is required because TwoStateButton requires that `isInPrimaryState` be a synchronous call, and checking whether or not the current site is bookmarked is quite slow (10-50 MS, in my tests).  After days of work and many attempted solutions, this was the least abhorrent among them.

https://github.com/mozilla-mobile/android-components/issues/4915 was opened against AC to evaluate potentially supporting async `isInPrimaryState` functions.
https://github.com/mozilla-mobile/fenix/issues/6370 was opened against Fenix to investigate the unexpectedly slow call to `BookmarkStorage`.

* For 4281: update reader mode switch

* For 4281: selectively show/hide menu items

* For 4281: add reader mode appearance

* For 4281: update bookmark button when it is clicked

* For 4281: removed unused QAB code

* For 4281: removed QAB robot, updated UI tests

* For 4281: removed QuickActionSheet metrics

Since this behavior now lives in the toolbar, it is tracked via Event.BrowserMenuItemTapped

* For 4281: fixed lint errors

* For 4281: add new strings for buttons added to menu

This is necessary because the location change (from QAB to toolbar menu) could affect the grammar in some languages

* For 4281: remove outdated TODOs

* For 4281: removed QAB container

* For 4281: removed back button reference from UI test

This button no longer exists

* For 4821: Fixes a visual defect (extra padding on top of toolbar)

* For 4281: update copy on reader mode

* For 4281: fixed review nits
2019-11-11 17:10:14 -08:00
mcarare
bb6977c18c [fenix] For https://github.com/mozilla-mobile/fenix/issues/6323 Creating 1st collection from tab shows Name collection screen
Added a check for existence of at least a collection to select from.
2019-11-11 14:36:55 -08:00
Sawyer Blatz
65e2c1d4b4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5958: Adds in app download notifications (https://github.com/mozilla-mobile/fenix/pull/6506) 2019-11-11 14:08:51 -08:00
Mihai Tabara
689623e3f9 [fenix] Point taskgraph to tip of the repo 2019-11-11 18:20:06 +01:00
Mitchell Hentges
12182a40b2 [fenix] Uses scriptworker-k8s scriptworkers 2019-11-11 18:20:06 +01:00
Mihai Tabara
1b8cbd9dc7 [fenix] Adjust the URL 2019-11-11 17:40:20 +01:00
Mozilla L10n Automation Bot
1ed735bbd2 [fenix] Import l10n. 2019-11-08 14:44:57 -08:00
Mihai Adrian
d1e9968b33 [fenix] For https://github.com/mozilla-mobile/fenix/issues/1211 Hide the keyboard when scrolling through engine suggestions (https://github.com/mozilla-mobile/fenix/pull/6474) 2019-11-08 14:36:39 -08:00
Tiger Oakes
31d960669a [fenix] For https://github.com/mozilla-mobile/fenix/issues/6255 - Fix beta icon filenames (https://github.com/mozilla-mobile/fenix/pull/6407) 2019-11-08 14:11:32 -08:00
Mitchell Hentges
f0afbab51a [fenix] Switch to aws-provider worker types (https://github.com/mozilla-mobile/fenix/pull/6501) 2019-11-08 14:09:30 -08:00
RAJESH KUMAR ARUMUGAM
7a847cdf41 [fenix] Added Vibration Effect On Scanning QR Code (https://github.com/mozilla-mobile/fenix/pull/6129)
* Added Vibration Effect On Scanning QR Code

Added Vibration Feature for the new feature Request
Vibrate phone upon successful pairing https://github.com/mozilla-mobile/fenix/issues/2928

* Added Vibration Effect On Scanning QR Code

Added Vibration Feature for the new feature Request
Vibrate phone upon successful pairing https://github.com/mozilla-mobile/fenix/issues/2928

* Update PairFragment.kt

Removed unwanted blank lines

* Update PairFragment.kt

Removed the Casting with !!
2019-11-08 13:37:36 -08:00
Emily Kager
afa25a6978 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6354 - Removes ETP Experiment, Removes Feature Flags, Sets Strict Default 2019-11-08 08:37:15 -08:00
mcarare
15121f02bb [fenix] For https://github.com/mozilla-mobile/fenix/issues/5709 Do not animate switch for ETP panel 2019-11-08 08:36:30 -08:00
ValentinTimisica
c7dc1bad43 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/6408: Pop stack to homeFragment when opening bookmarks from homeFragment
When bookmark fragment is opened from homeFragment, libraryFragment does not
exists so the popBackStack(R.id.libraryFragment, true) would have failed. So
the solution for this was to pop back stack to homeFragment when the
bookmarks/history fragments are opened from homeFragment.
2019-11-07 16:00:48 -08:00
Grisha Kruglov
0ab4fb0e25 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6490 - track abnormal FxA behaviour via Sentry 2019-11-07 15:11:41 -08:00
Emily Kager
517d32cca2 [fenix] Fix components, core tests 2019-11-07 14:50:24 -08:00
Emily Kager
d00e038afb [fenix] Adds webAppShortcutManager argument 2019-11-07 14:50:24 -08:00
Tiger Oakes
cfddef3077 [fenix] Use ManifestUpdateFeature 2019-11-07 14:50:24 -08:00
Sawyer Blatz
a7fdfe5cd0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5547: Reuse biometricPrompt when authenticating
This fixes an issue with Samsung devices where an invisible DeviceCredentialHandler because the executor was "null" (it wasn't actually)

You *must* reuse the biometric object instead of creating a new one.
2019-11-07 13:45:41 -08:00
Emily Kager
fc7084a555 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5547 - Add top level auth when accessing passwords 2019-11-07 13:45:41 -08:00
Shangeeth Sivan
36274d1a89 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4556: Removed redundant code in few tests. (https://github.com/mozilla-mobile/fenix/pull/6367)
* Moved some values as member variables as having them declared separately in methods seemed redundant.

* Added @Before method in logtest to avoid code duplication Fixes https://github.com/mozilla-mobile/fenix/issues/4556

* Added @Before method to FragmentTest class Fixes https://github.com/mozilla-mobile/fenix/issues/4556

* variable renamed and added private access specifier; removed set from member variable as it is used only once and we can convert the list to set when needed

* Fixes linter errors
2019-11-07 13:20:51 -08:00
Sawyer Blatz
c6e952238d [fenix] For https://github.com/mozilla-mobile/fenix/issues/4456: Updates total_uri_count upload (https://github.com/mozilla-mobile/fenix/pull/6482) 2019-11-06 19:10:56 -08:00
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