Commit Graph

2527 Commits (4f74f34dbae8a1136f9cbb2b0ce4dea8c0ae09d9)

Author SHA1 Message Date
Antti Vainikka cb129231ae Closes #11500: Remove wrong activity title 4 years ago
mcarare a0fe1a452a For #11756: Fix bottom toolbar preference reference. 4 years ago
mcarare 4bebc56c50 For #9229: Remember options for delete browsing data. 4 years ago
MarcLeclair b52091ed34
For #11660: added prefetch for topsites and update in onCreateView() (#11668)
* For #11660:added prefetch for topsites

TopSites will be prefetched with observerOnce (wrapper around observerForever).
Also, the SessionControlView.update() is called right away instead of waiting from consumeFrom
in the HomeFragment.onCreateView() which will allow the UI to render all at once on its first
perform traversal

* Removed the submitList(null) since it retriggered a drawing on lower end device
4 years ago
Emily Kager 44ff29bdc0 Revert "For issue #9949 - Bookmarks/History deletion inconsistencies"
This reverts commit 3feab90b19.
4 years ago
ekager df63c5a4bc For #11708 - Remove setMargins in CustomTabsIntegration 4 years ago
Jeff Boek 82cbafabaf
For #11625 - Fixes tab tray staying open when opening from another app (#11740) 4 years ago
mcarare 5f1c9449f3 For #8114: Restore normal UI when a library fragment is detached. 4 years ago
Tiger Oakes c503798cd6 Replace PhoneFeature.getPreferenceKey 4 years ago
Tiger Oakes 596c579bbb Replace nullable findPreference 4 years ago
Tiger Oakes 45ef88f6b9 Replace requireNotNull(findPreference()) 4 years ago
Tiger Oakes 3e03439259 Add requirePreference helper 4 years ago
codrut.topliceanu 0eb2f328dc For #11371 - Fix for Dynamic Download Dialog 4 years ago
David Walsh 3feab90b19 For issue #9949 - Bookmarks/History deletion inconsistencies
- 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 #8648.
4 years ago
Tiger Oakes f6efb386d6 Add tests for addon details 4 years ago
Hakkı Kaan Çalışkan 8cbdce58e6 Update FxaServer.kt 4 years ago
Hakkı Kaan Çalışkan 670e03c3b2 Update app/src/main/java/org/mozilla/fenix/components/FxaServer.kt
Co-authored-by: Tiger Oakes <contact@tigeroakes.com>
4 years ago
Hakkı Kaan Çalışkan bd85a9c399 remove suppress and unnecessary otherwise = private 4 years ago
Hakkı Kaan Çalışkan 87a65d2445 For #9782: Clean up unused FeatureFlags
I've currently found out this ones unused.
webPushIntegration removed because looks like all fatal bugs solved as it said from note.
4 years ago
Sören Hentzschel 396cd61efa For #9712 - show "AC: " before AC version on "About" screen 4 years ago
Sachin 36b1c710e7
for #11617 added a resetPoliciesAfter ext function for StrictMode, and replaced all existing calls to "resetAfter" with "resetPoliciesAfter" (#11619) 4 years ago
Tiger Oakes d81aa62683 Fix PIP toolbar 4 years ago
Tiger Oakes d3d5c8934f Cleanup tests for toolbar controller 4 years ago
person808 9e3e95e351 For #11442 - Telemetry for tab counter menu. 4 years ago
Mihai Branescu 4f870e9251 For #6126 - moved the sessionObserver init to the onCreate
This helps because we will always need the observer to be initiated, not only when the `openToBrowser` method gets called. Example: Opening a tab from the tab tray had it's own method for opening the browser, causing this to not be called.
4 years ago
Jonathan Almeida e6da2bd910 Fix breaking APIs in TabsAdapter and ViewHolder 4 years ago
Tiger Oakes 704fc6f983 Use updated webapphidetoolbarfeature 4 years ago
Tiger Oakes fc96e188ab Convert flow from AC to livedata 4 years ago
David Walsh 149efc1683
For 9640 - Focus on last selected tab in tab tray with a11y turned on (#11487) 4 years ago
David Walsh 8b24cdec42
For 11428 - Focus on home screen address bar when tab tray new tab is tapped (#11429) 4 years ago
David Walsh 063cf457ba
For #11291 - Provide New Tab button when accessibility enabled (#11441) 4 years ago
liuche 35fa445165
Issue #11112 - Update empty collections string + tests. (#11538) 4 years ago
Arturo Mejia a36ec7279e No issue: Decrease the frequency for checking for new supported add-ons 4 years ago
Tiger Oakes 294f29768d Test logins settings 4 years ago
Sawyer Blatz 0a9afbed42 For #11380: Update migration tip text 4 years ago
Sawyer Blatz fffbadbfca
For #11118: Add browsing history suggestion in metrics (#11525) 4 years ago
Sawyer Blatz 13d077eb66
For #11269: Telemetry for new reader mode position (#11385) 4 years ago
Sawyer Blatz d1cd877374 For #11118: Add missing telemetry 4 years ago
mcarare 0ebfa4f947 For #11497: Disable pull to refresh in error states. 4 years ago
Jeff Boek 1639b1d3a1 For #11342 - Fixes missing space for the FAB 4 years ago
Tiger Oakes 651b2831fe Fix tests in toolbar controller 4 years ago
Sachin cd26ba9a9c
for #11364 added a exception list for manufacturers violating strict mode policies on startup (#11407)
for #11364 changed blackList -> exceptionList, added one plus to the list

change magic strings into const Val
4 years ago
person808 d14b39a56e For #2165 - Implement pull-to-refresh gesture to sync history. 4 years ago
mcarare 4b04a140fc For #11229: Update etp strict option title content description. 4 years ago
Sawyer Blatz 932a2f3703 For #11063: Update telemetry for etp settings 4 years ago
Tiger Oakes f0295048fa Remove Mockito 4 years ago
Jeff Boek cd3b6181b3 For #10374 - Adds quick contextual menu to tab switcher
Co-authored-by: person808 <kainaluh808@gmail.com>
4 years ago
Elise Richards 137d66a511
For 10172: Set edit text listeners (#11196)
* Set edit text listeners

* Set clearable icons and change with error states

* Clear text buttons show and hide

* Move error checks to afterTextChanged. Refactor. Remove unused color.
4 years ago
Tiger Oakes 31edbc924c
Fixes #9056 - Start Fenix activity on search in external app (#10932) 4 years ago
Tiger Oakes 4b064afb81
Add tests for ext package (#11334) 4 years ago
Christian Sadilek d16c70d8be Wire up UI to make add-on installation cancelable 4 years ago
ValentinTimisica bc53296603 For #11365: Reorganizes 'SettingsFragment' items
Moved all the functionality form 'DefaultBrowserSettingsFragment' to
'SettingsFragment'.
4 years ago
ekager 11697c1363 For #11390 - Removes redundant session observer init for ETP overlay 4 years ago
Sawyer Blatz 27c7ef5ad4 For #8775: Removes feature flag for dynamic bottom toolbar 4 years ago
ValentinTimisica f937c96c12 For #5148: Switch to the correct tab on media notification clicked
Processing the intent in OpenSpecificTabIntentProcessor to be able to switch
to the tab where audio/video is playing
4 years ago
David Walsh 1356b3e426 For 11271 - Provide useful tab counter message for accessibility 4 years ago
ValentinTimisica 3a28704fa6 For #11132: Replaces wrong icons from menus 4 years ago
ValentinTimisica dc37baff0b For #11132: Rearranges home menu items 4 years ago
Jeff Boek f41ca2f424 No Issue - Moves from being a tabstray observer to overriding tab use cases 4 years ago
Christian Sadilek 05496faa66 Clear speculative session on engine settings change 4 years ago
Sawyer Blatz 5445d34ac4 For #11357: Use AppCompatResources for reader mode icon 4 years ago
Jeff Boek 4ee1cd6716 For #11361 - Nulls out tabsFeature in the correct spot 4 years ago
Jeff Boek d8ef0722e3 For #11175 - Moves tab tray strings to be translated, fixes description of the fab string 4 years ago
ekager 6d4a673c6f For #8967 - Expose autofill logins setting in nightly 4 years ago
Mozilla L10n Automation Bot 5373a75f57 For #10502 - Show snackbar after adding tabs to collection from tab tray 4 years ago
Grisha Kruglov 8769d98e71 Pass crashReporter instance to RustLog 4 years ago
Sachin 8fdc28010d
for #10839 added IO coroutine to check onboarding stat from sharedpref (#11338)
changed coroutine scope to fragments lifecycle
4 years ago
Jeff Boek e4e7cc5108 For #11260 - Fixes lifecycle issues with the tabs tray
- Also check to make sure the fragment manager is still valid before trying to show the tabs tray

Co-authored-by: Emily Kager <emilykager@gmail.com>
4 years ago
Sawyer Blatz e9189dc089 For #11045: Add reader mode to urlView 4 years ago
Tiger Oakes 1a19b06227
Simplify `PhoneFeature` code (#10810) 4 years ago
Sachin 74948cb3f1
for #7225, Changed strictMode thread penalty to dialog on startup and back to logs after startup is done. (#10831)
for #7225, refactored and cleanup the branch.

for #7225, change strict mode policy only on main process.

for #7225, setting thread policy inside a seperate thread to keep it from getting overridden in activities.

for #7225 removed Handler().postAtFrontOfQueue as a solution due to unknown side effects. moved the enableStrictMode function to be static so we can reuse it.

for #7225 lint check

for #7225 created strict mode manager and moved enabledStrictMode function inside it.

for #7225 removed penalty death on network

for #7225 added allow disk access on thread for already existing violation


strict mode running in main process to see if it passes the gitlab check, will revert it if it doesnt

allowed diskread for super.onCreate for home activity

added comments for disk violation oncreate homeactivity

added fragment manager inside strictmode manager

allowed disk read for onboarding

allowed disk read for cachedTopSites
4 years ago
David Walsh d33080571b
For #11267 - Announce "Your open tabs will be shown here (#11272) 4 years ago
mcarare 512aa46224 For #11229: Update ETP cfr string and behaviour. 4 years ago
mcarare 91c27a023e For #11229: Update settings ETP copy. 4 years ago
mcarare a0d9189321 For #11229: Update onboarding ETP copy. 4 years ago
Jeff Boek 52c2fdb310
Remove tab tray feature flag (#11176)
* For #11171 - Removes feature flag for the new tab tray

* For #11171 - Removes all tab references from homeFragment

* For #11171 - Fixes unit tests

* For #11171 - Gets UI tests to compile and HomeScreenTest to pass

* For #11171 - Fixes `deleteMultipleSelectionTest`

* For #11171 - Fixes `openHistoryItemInNewPrivateTabTest`

* For #11171 - Fixes `openHistoryInPrivateTabTest`

* For #11171 - Fixes `openHistoryInNewTabTest`

* For #11171 - Fixes `openNewPrivateTabTest`

* For #11171 - Fixes tabbedBrowsingTests

* For #11171 - Fixes SettingsPrivacyTest

* For #11171 - Fixes TopSitesTest

* For #11171 - Fixes lint errors

* Ignore
4 years ago
mcarare 2d24369362 For #7725: Increase info button touch target while keeping size.
Also removed unnecessary touch delegate.
4 years ago
person808 8c47b988b8 For #10525 - Remove tab tray item dividers. 4 years ago
Jeff Boek bc53b94feb For #10989 - Fixes memory leak caused by retaining the TabTrayView and TabsFeature 4 years ago
Sawyer Blatz 1be2ec2cbf For #9488: Init widgetExperiment after Experimenter init 4 years ago
mcarare 886c1882c5 For #11230: Set default to false for allow screenshots in private setting 4 years ago
Dennis Schubert e41fc7841a Bug 1643132 - Add WebCompat Reporter feature. 4 years ago
Dennis Schubert d046d908fc Bug 1643132 - Remove native "Report site issue" functionality.
This will be replaced by the WebCompat team's system extension that ships as an android-component.
4 years ago
Sawyer Blatz 42f58a1984 For #9488: Add experimentation support 4 years ago
ekager 54df729fb3 For #8374 - Don't recreate ExternalAppBrowserActivity or finishing activities 4 years ago
Sawyer Blatz 9302d07d13 For #11118: Add toggle states to metrics ping 4 years ago
mcarare 5a23fb33f8 For #11182: Fix back button text update according to save step. 4 years ago
mcarare a910698007 For #11182: Set click listener also to icon button. 4 years ago
Gabriel Luong 9520c9dd32 For #8920 - [Telemetry] Send add-on ids in a metrics ping 4 years ago
mcarare 29f1800021 For #11182: Explicitly clone select tabs on updating SaveCollectionStep. 4 years ago
mcarare 68286d263a For #11182: Set click listener to full layout instead of just icon. 4 years ago
person808 9272026b7e For #10193 - Remove page title when sharing links 4 years ago
Tiger Oakes a7e74e308b
Migrate some SessionManager usage to BrowserStore (#10789) 4 years ago
mcarare 138c12696f For #11153:Add FLAG_SECURE on pause and clear on resume for private session. 4 years ago
David Walsh d862d58051 Scroll to the top of home when using the tab tray 4 years ago
mcarare 2090b11c97 For #10434: Handle cases when proc/$pid/stat is not accessible. 4 years ago
ekager ead3194d86 For #8759 - Allow recently used in share fragment to scroll 4 years ago
Jeff Boek 2dd0a3cb9e
Implement tab tray design improvements and fix close functionality. 4 years ago
Tiger Oakes 6317eea690 Add tests for some of collection creation 4 years ago
ValentinTimisica 591e2c9a6f Fixes #9696: Adds Add-ons menu item to the home menu 4 years ago
mcarare c4f7a32eae For #9583: Increase touch targets for onboarding elements. 4 years ago
Tiger Oakes 50441e28f1 Tests and cleanup for tracking protection 4 years ago
ekager 9ef4d9bdae For #10968 - Don't show ETP CFR if toolbar doesn't have window focus 4 years ago
Vishwa Patel 4da22c605a For #10834 - Adding Sync Tabs Feature in Fenix 4 years ago
Gabriel Luong 0300f15df1
Fix crash from TabThumbnailView where drawable is null (#11121) 4 years ago
Gabriel Luong 60b68a265a
For #10921 - Integrate BrowserThumbnails feature into the tabs tray (#11093) 4 years ago
Sawyer Blatz 82facbfa00 For #1216: Remove feature flag for voice search 4 years ago
David Walsh 84d9e5b1fb
For 11031 - Fix landscape mode for tab tray (#11084) 4 years ago
Jeff Boek a6e77e3e8f For #10848 - Fixes unit tests 4 years ago
Jeff Boek c8e8566668 For #10848 - Fixes navigationbar colors on tab dialog fragment 4 years ago
Jeff Boek f05890efec For #10848 - Fixes bug where selected index wouldnt be properly calculated in private mode 4 years ago
Jeff Boek d5c20bc0d0 For #10848 - Fixes menu background color 4 years ago
Jeff Boek 19a709a04d For #10848 - Fixes tab tray colors 4 years ago
Jonathan Almeida ce15763cc4 Use new AuotPushFeature.getSubscription API 4 years ago
Tiger Oakes 221792c074
Add tests for FenixOnboarding (#11057) 4 years ago
Gabriel Luong 63e529ac2b Added BrowserThumbnails dependencies 4 years ago
Jeff Boek 8662164b8a
Refactors the TabTrayDialogFragment to ditch that weird interactor (#11061)
* For #11056 - Removes unused argument when navigating to the collection creation fragment

* For #11056 - Moved the collection creation navigation logic to the TabTrayDialogFragment

* For #11056 - Moves navigating to the share screen from home/browser to the TabTrayDialogFragment

* For #11056 - We moved tab selection logic from home/browser to the tab tray dialog

* For #11056 - Moved new tab tapped logic to the tab tray dialog fragment

* For #11056 - Removes all interactor logic for the TabTrayDialogFragment

* For #11056 - Migrates the presentation / navigation around the TabTrayDialog to the androidx navigation library
4 years ago
Jeff Boek 3946ec11de
Polish homescreen (#11065)
* For #10505 - Adjusts wordmark margins

* For #10505 - Removes topsite header, fixes collections header size and removes divider

* For #10505 - Restyle the top site items on the homescreen
4 years ago
ekager 20e358228e For #11015 - Switch Default ETP Setting to Standard 4 years ago
Tiger Oakes 749c95e0f0
Add tests for ReaderModeController (#11049) 4 years ago
Mihai Eduard Badea 11df3aaca1 For issue#10727 - Logins auth redirect
Added an extension function that pops the backstack of the fragment so the user is redirected to the Logins and passwords screen.
This is done to force the user to re-authenticate if he wants to re-enter the saved logins flow.

Additionally, some UI elements are being hidden on each Fragment since they were remained visible on the Logins and passwords screen's UI.
4 years ago
Jeff Boek 58a42828a1 For #10496 - Fully expand bottom sheet when loaded 4 years ago
Jeff Boek 0566790257 For #10496 - Automatically scroll to the selected tab when you open the tab tray 4 years ago
ValentinTimisica 9f265fd62f Fixes #10064: Open help articles in normal tab instead of custom tab 4 years ago
David Walsh 267cf35edb For 11001 - Show close all tabs above tab tray 4 years ago
David Walsh a70ba76cc9 Provided unique no tabs message per mode 4 years ago
apoorv9990 3469eeed9e removed auto play permissions while determining isVisible for WebsitePermissionsState 4 years ago
apoorv9990 97704bfdbd Closes #9529: changed styling for permissions dialog to set proper padding
- Changed the visibility check to check just for the permissions shown instead of all the permissions in WebsitePermissionsState
- Added bottom padding to the permissions root view so there is balanced padding on top and bottom
4 years ago
Sawyer Blatz b06be1fcde For #9488 Add telemetry for search widget CFR 4 years ago
Sawyer Blatz 94d741864e For #9488: Add search widget CFR 4 years ago
Sawyer Blatz 27a85d86dc
For #10803: Hide voice icon in search if not available (#11005) 4 years ago
Christian Sadilek 7b5661ed10 Update Android Components version to 44.0.20200528190114
Pass store to download manager and service to address API changes.
4 years ago
Jonathan Almeida 63b4fcd4c4 For #11004: Fix invisible text on migration UI
For some text and colors, we were using the default styling where
possible. These styles contain references that react to theme changes
like dark mode. Since the migration UI does not respect these changes,
we should not use them.
4 years ago
David Walsh c0c895af33
For 10665 - Show the most recent tabs at the top of the tab tray (#10687) 4 years ago
ValentinTimisica 03284e2da0 Fixes #10674: Add SignInView only once 4 years ago
David Walsh 4fdac4d608
For 10734 - Open tab tray when collection is opened from Home (#10751)
* For 10734 - Open tab tray when collection is opened from Home

* Update to work with tab tray drawer
4 years ago
David Walsh ea4c342797
For #10877 - Show 'no tabs' message when no tabs are open (#10960) 4 years ago
Roger Yang 6cef0edd5e
Closes #10980: Stop sending native crashes to Sentry (#10982) 4 years ago
ValentinTimisica 7974a5c77c Fixes #10815: Sort login items on initial load 4 years ago
mcarare 9ec6ebc92a For #10969: Fix and clarify logic for checking showing PWA dialog. 4 years ago
David Walsh 248237290e
For #10865 - Implement 3 dot menu for tab tray (#10869) 4 years ago
David Walsh 54cb8f0194 Remove unused import 4 years ago
David Walsh 5e4fd460f8 Remove onTabClosed from interactor 4 years ago
David Walsh 8b843ac9e5 Fix elevation for snackbar and fab 4 years ago
David Walsh e9bcc9bb1e Move snackbar to TabTrayDialogFragment 4 years ago
David Walsh f653964ee1 For #10864 - Display snack bar to undo closing tabs 4 years ago
mcarare a59917cdc0 For #9626: Swap margin for padding and remove use of touch delegate.
Also remove text margin to maintain visual appearance.
4 years ago
mcarare d706b085a9 For #9626: Delay cloning ConstraintSet to only when needed for updating. 4 years ago
Mugurell d0e2d02b34 For #10948 - Avoid PWA onboarding if user already has them on screen
It is possible that after migration users would already have Firefox PWAs on
their screen.
Since they already know about this functionality, we should not promote it to
them with the one-off `FirstTimePwaFragment`.

To query installed PWAs we'll use an API available only on Android >= 26 which
means that we will probably have half of users with PWAs still see the
onboarding but half which will not.
4 years ago
Sebastian Kaspari 21bd379438 Issue #9815: Allow Intents to set HomeActivity.OPEN_TO_BROWSER. 4 years ago