Commit Graph

80 Commits (782e8980b04226991582988266fd28ecc1b81b77)

Author SHA1 Message Date
DreVla f38d5c52f3 For #15348: Voice search option appears for all search engines
Voice search was restricted only for google, with the condition removed
it should appear now for all search engines
2 years ago
Madalin Valceleanu 1b63240f99 Fixed link from clipboard open up from same URL on every new tab #15588 2 years ago
Mugurell 9671d0a638 For #27228 - Resume qr scanning if camera permission is changed
If permissions are changed the app process is restarted with the same
happening for the previously running app components.
SearchDialogFragment used for searches will check if qr scanning was in
progress and resume if needed.
PairFragment used for signing-in will start scanning on itself.

Android-Components will avoid resuming the scan functionality if the camera
permission is missing and so allow to request the permission again without the
camera permission related system calls causing issues.
2 years ago
mcarare 5ddeba154c For #25808: Suppress onBackPressed deprecation. 2 years ago
mike a 7c4050eb08 Closes #25809: tapping on search engine triggers engine selection 2 years ago
Alexandru2909 ee0bff886a For #25814 - Hide "Show search engines" toggle from search settings when unified search is enabled 2 years ago
Alexandru2909 97f3a1fd8a For #25811 - Add header to unified search engine menu 2 years ago
Timshel 814f87f9f3 For #26577 - resetFocus only when camera permission is denied 2 years ago
mcarare 8ed3bf704f For #25980: Use new backQueue instead of removed backStack. 2 years ago
Mugurell 47b7336387 For #27016 - Ensure smooth search UX after the MR onboarding is closed
If the app is opened from the search widget and the MR onboarding is shown then
the backstack will have the following structure:
- root, homeFragment, searchDialogFragment, onboardingFragment
as opposed to otherwise
- root, homeFragment, searchDialogFragment.

This patch allows to avoid the MR onboarding fragment causing the
SearchDialogFragment to not know that below it is the HomeFragment and
consequently not applying transparency or propagate user touches to the parent
Activity.
2 years ago
mcarare ffcef5ff2e For #26844: Fix ktlint issues and remove them from baseline. 2 years ago
Roger Yang 46d73673ec Issue #25805: Always anchored unified search menu to the toolbar icon 2 years ago
Roger Yang 7a5e126f24 Issue #24740: Use unified search bar in bookmark search 2 years ago
Roger Yang 22ac345513 Issue #24740: Use unified search bar in history search 2 years ago
Mugurell 1a2be2065a For #24744 - Observe and update selector icon while the View is attached
This avoids having to pass another LifecycleOwner from outside and will ensure
the View is update only in the bounds of it being attached.

The observe-update code is moved to bind(..) as that seems like a more
idiomatic callback for updating an already constructed View rather than
createView() which should only create and return a View.
2 years ago
Roger Yang 3de38984fd Issue #24299: Sort unified search selector menu items based on user settings 2 years ago
Roger Yang 5bb9e50e96 Close #25288: Disable autocomplete for unified history search 2 years ago
Roger Yang 72b9e7e174 Issue #24738: hide the QR code button when switching to none default search engine 2 years ago
mcarare ffa1ecd300 For #21292: Remove unused MetricController parameters. 2 years ago
Roger Yang 4a69f4ecf9 Issue #24739: Set QR code button to autohide 2 years ago
mcarare 3057ae7fd7 For #24841: Remove unused events. 2 years ago
Alexandru2909 5a21e75267 For #24760 - Remove Event.wrapper for suggestions telemetry 2 years ago
Gabriel Luong 8fe9c5bdd1 For #24297 - Add a search engine menu that shows the search engine and search settings 2 years ago
Alexandru2909 8c617b7c07 For #24640 - Remove Event.wrapper for VoiceSearch telemetry 2 years ago
Roger Yang a4dc80adbc Issue #24298: Refactor Scan button from the search toolbar into the display toolbar 2 years ago
jknair c38320c7c0 For #24461 - Increase touch target for scan, search engine & voice search button 2 years ago
Christian Sadilek 47f55924e1 Address breaking changes in A-C 100.0.20220324222826 2 years ago
Gabriel Luong ad95f950bb For #24252 - Rename contrastText attribute to textOnColorPrimary 2 years ago
Gabriel Luong f1e7b49425 For #24252 - Rename primaryText attribute to textPrimary 2 years ago
Gabriel Luong 691e303677 For #24062 - Remove showHomeBehindSearch feature flag 2 years ago
Mugurell bc59ede073 For #22722 - Reacting to the crashed flag
Whenever the ".crashed" property of the currently displayed
TabSessionState -> EngineState is true we will show an in-app crash reporter
with the usual close tab / restore tab options and also the option to report
all current non-fatal crashes to Mozilla if the setting for sending the crash
reports is enabled in app settings.
This closely mimics the previous crash reporter UI but there might be some
subtle differences stemming from migrating to using a ComposeView.

Whenever the ".crashed" property of the currently displayed
TabSessionState -> EngineState is false we will set the in-app crash reporter
to have a View.GONE visibility effectively removing it from the layout.

The functionality for receiving the non-fatal crashes from the AC CrashReporter
through an Intent is still kept and these crashes will be persisted in memory
until the user closes / restores a tab and so also makes a decision about
sending or not these crashes.

Currently more tabs can crash following just one since more share the same
process and as such there is no way to differentiate between them or link a
certain Crash to a certain tab.
They will all be acted upon at once from any tab the user chooses to close or
restore.
2 years ago
mcarare 18f785ddb9 For #22958: Set content description only when view is visible.
This avoids additional processing.
2 years ago
mcarare afd13fec85 For #21744: Replace InputMethodManager's deprecated toggleSoftInput. 2 years ago
Roger Yang 22bcdeafe0 Closes #22736: Do not remove focus from toolbar when scrolling 2 years ago
Grisha Kruglov 8de4c0b4db For #22569: Remove allopen plugin and Mockable annotations 2 years ago
Roger Yang 3d33a9422c Close #20701: Dismiss keyboard when scrolling home screen 3 years ago
Arturo Mejia 94a543a403 For #22271 Improve URL accessing from the clipboard for Android 12 and above. 3 years ago
Roger Yang 930599407c No issue: Show snackbar when opening non-http URL 3 years ago
Roger Yang 367c5f42d8 No issue: Add external load flag 3 years ago
Sebastian Kaspari 170fa9705e Update Kotlin and Jetpack Compose versions. 3 years ago
Michael Comella 01e3b4b984 No issue: cache SearchDialogFragment.InlineAutocompleteEditText.
Assuming the InlineAutocompleteEditText is not being recreated (and I
did not verify this), it's unnecessary to traverse the view hierarchy
to find it more than once so this patch removes the unnecessary
traversals.
3 years ago
Sebastian Kaspari 099e463b4f Issue #21102: Set compileSdkVersion to 31. 3 years ago
Sebastian Kaspari 5208f74cd7 SearchDialogFragment: Start to split consumeFrom() into independent observers that trigger less often 3 years ago
Grisha Kruglov 0d9e2b3a36 Do not show home screen behind search if we have search terms
Home screen isn't actually visible in case we're displaying awesomebar
search results. The navigation is thus unnecessary and actually causes visual
jankiness as we display home for a moment before covering it up with
search results.
3 years ago
Sebastian Kaspari 6d99c34f12 Issue #21172: Replace BrowserAwesomeBar view with AwesomeBar() composable. 3 years ago
Christian Sadilek 16085b9008 Closes #21388: Only parse clipboard content when search fragment is attached 3 years ago
Sebastian Kaspari 6ac10d5209 Issue #21291: SearchDialogFragment: Get URL from clipboard once and not for every state update 3 years ago
Elise Richards c9626019ef Remove search suggestions in private telemetry 3 years ago
Mugurell 621c388c12 For #17917 - Finish migrating all synthetics usages 3 years ago
Elise Richards 7fdad978a3
For FNXV2-17067: always show home in background behind search dialog (#20573)
* Navigate to home on toolbar click. Handle back press from search dialog

Update tests to show home behind search dialog. Remove unused test.

Jump back in show all button is clickable behind search dialog

Recently saved bookmarks show all button is clickable behind search dialog

* Add feature flag

* Past explorations show all button is clickable behind search dialog

Handle keyboard in controllers instead of viewholders. Update tests.

Allow collections to be visible behind search dialog

Dismiss keyboard and search dialog with navigateUp instead of just dismissing the keyboard

Verify navigateUp in tests

Adding ignore for flaky UI test

Only resize home behind search dialog

Add ignore for collection intermittent test

Cleanup
3 years ago