1
0
Fork 0
Commit Graph

1043 Commits (6c2d6e65c354586bdb20bc681cc619fd66034896)

Author SHA1 Message Date
mcarare 1c9c8f590a For #7066 Increase space below checkbox preference 2019-12-11 11:23:14 -08:00
Sawyer Blatz de6469e198 For #7073: Makes logo on about page not important for accessibi… (#7074) 2019-12-10 12:15:11 -08:00
Tiger Oakes fe034226a3
For #5783 - Web Share with Fenix share sheet (#6883) 2019-12-10 10:57:06 -08:00
mcarare b6ba1a1611 For #4107 Make home screen fullscreen.
Add/Remove fullscreen flags in home fragment's onResume / onPause
Change homeLayout padding to include system bars height (status&navigation).
Change homeMenu orientation to UP to properly display menu.
Change home bottomBar background to transparent.
2019-12-09 23:45:02 +01:00
ekager e6d4c5b417 No issue: Remove unnecessary back slashes from curly apostrophe strings 2019-12-09 23:16:00 +01:00
Jeff Boek 4fb26a0601 For #4664 - Updates search_with string. (#6909) 2019-12-06 10:36:19 -08:00
Mozilla L10n Automation Bot 9feb0480bf Import l10n. 2019-12-06 08:53:22 -08:00
kglazko 300d8317e1
Issue 5366 Vector Drawable Compat (#6904) 2019-12-05 19:54:32 -08:00
Mihai Adrian 6998fc1cf8 Temporarily fix lint issues with bad translation of string (#6963) 2019-12-05 13:57:57 -08:00
Mihai Adrian 3283d6ed0b For #6910 Align shortcuts in private onboarding panel style to… (#6950)
Divider only shows when both panel and "Search with" are visible
2019-12-05 09:37:20 -08:00
Mozilla L10n Automation Bot 561ec5088b Import l10n. 2019-12-04 19:59:25 -08:00
Jeff Boek e8972bb47d For #6795 - Auto shows toolbar when loading a new URL (#6955)
Co-authored-by: Severin <Baron-Severin@users.noreply.github.com>
2019-12-04 15:00:51 -08:00
ekager 3df32edff0 No issue: Fix search suggestions strings 2019-12-02 21:39:10 +00:00
mcarare 05321dc504 For #6835 Align Home and Browser toolbar elements to perfectly overlap 2019-12-02 16:17:07 +00:00
mcarare 8257b145ad For #6401 Set false as default value for Open links in a private tab 2019-12-02 16:16:26 +00:00
mcarare c5f18e0f96 For #6629 Align Private Browsing mode to UX specs 2019-11-27 11:13:20 -08:00
Mozilla L10n Automation Bot a1376ebade Import l10n. 2019-11-27 10:52:38 -08:00
cesar 9127505cc9 For #6769 - EditText moved to be above the gradient view 2019-11-27 10:48:38 -08:00
mcarare bf20275a1a For #6470 Change notification icon
Used private browsing icon with compulsory white color for notifications
2019-11-27 10:08:00 -08:00
mcarare 373bd63c40 For #6470 Remove actions from notification, keep just close private tabs
Removed NotificationsIntentProcessor because notifications no longer open app
Added new strings
2019-11-27 10:08:00 -08:00
Mihai Adrian cc216d0a6f
For #6748 Move Add search engine to search engine preference category. (#6749) 2019-11-27 10:45:05 +02:00
Mihai Adrian 531f7e7a67
For #5497 Align text to viewStart to keep consistency in RTL (#6778) 2019-11-27 10:35:49 +02:00
Sawyer Blatz 769c1e422d For #5694 & #6054: Allows users to change toolbar position (#6608)
* For #5694 & #6054: Adds preference screen for toolbar

* For #5694: Adds changing toolbar position functionality

* No issue: Updates telemetry links to actually work lol 😬

* For #6054: Adds toolbar position to core ping
2019-11-25 16:43:32 -08:00
Tiger Oakes 7e8f079269
Use ShareData with ShareFragment (#6698) 2019-11-25 11:07:21 -08:00
Mozilla L10n Automation Bot 5cc1ea951c Import l10n. 2019-11-22 11:14:22 -08:00
David Walsh bc56ae194a Fix 6048 - Improve alignment in Edit Bookmark screen 2019-11-22 10:14:00 -08:00
Mozilla L10n Automation Bot c5d496a35d Import l10n. 2019-11-22 14:00:39 +01:00
Mozilla L10n Automation Bot f6cc5b9387 Import l10n. 2019-11-21 16:45:05 -08:00
Matt McKenna c71fa11d45 Add Mozilla licensing header to gradient 2019-11-21 15:27:50 -08:00
Matt McKenna d1f70e908e Add a simple gradient to collection creation 2019-11-21 15:27:50 -08:00
matthewcmckenna afac413c98 Add ETP accessibility labels 2019-11-21 15:27:35 -08:00
Tiger Oakes 0a86676563 For #6523 - Remove close button in library 2019-11-21 15:27:18 -08:00
Patrick Martin 3e436f59e2 For #2294 - History URL is cut with a large font set (#6724)
* For #2294 - History URL is cut with a large font se

* Update HistoryRobot.kt
2019-11-21 15:05:59 -08:00
mcarare 1d36098878 For #1019 Add onboarding search suggestion hint panel 2019-11-21 14:36:14 -08:00
mcarare 5543f3272d For #1019 Add option to enable search suggestions in private mode 2019-11-21 14:36:14 -08:00
Arturo Mejia 0d6ea08de7
No issue: Remove download file provider. (#6699) 2019-11-21 14:31:03 -05:00
Jeff Boek 54773afb68
For #2477 - Removes the feature flag for Force Enable Zoom (#6646)
* For #2477 - Removes the feature flag for Force Enable Zoom

* For #2477 - Fixes bug where zoom preference doesnt persist between launches
2019-11-20 10:32:38 -08:00
Jeff Boek 607c3d4c87
Adds custom search engines (#6551)
* For #5577 - Adds button to add a new search engine

* For #5577 - Adds custom engine store

* For #5577 - Creates a custom SearchEngineProvider

* For #5577 - Gives the ability to delete search engines

* For #5577 - Adds the UI to add a custom search engine

* For #5577 - Adds form to create a custom search engine

* For #5577 - Adds the ability to add a custom search engine

*  For #5577 - Adds the ability to delete custom search engines

* For #5577 - Selects the first element on the add custom search engine screen

* For #5577 - Prevents adding a search engine that already exists

* For #5577 - Styles the add search engine preference

* For #5577 - Makes the name check case-insensitive

* For #5577 - Fix bug where home screen doesnt see new search engines

* For #5577 - Moves Search URL validation to its own type

* For #5577 - Fixes linting errors

* For #5577 - Adds the ability to edit a custom search engine

* For #5577 - Allows the user to edit a serach engine even when it is the last item in the list

* For #5577 - Adds an undo snackbar when deleting a search engine

* For #5577 - Moves all of the strings to be translated

* For #5577 - Fixes bug when deleting your default search engine

* For #5577 - Puts adding search engines behind a feature flag

* For #5577 - Navigate to custom search engine SUMO article when tapping learn more

* For #5577 - Fixes nits

* For #5577 - Uses concept-fetch to validate search string

* For #5577 - Adds string resources for the cannot reach error state
2019-11-19 16:30:56 -08:00
Patrick Martin 8abf580579 For #2294 - History URL is cut with a large font se 2019-11-19 10:50:17 -08:00
Mozilla L10n Automation Bot ce74a49a22 Import l10n. 2019-11-18 23:08:32 -08:00
Jeff Boek 871604f37d For #2271 - Fixes colors on dark theme 2019-11-18 14:23:54 -08:00
David Walsh 8016eb56aa Provide top padding to URL 2019-11-18 14:01:40 -08:00
David Walsh 6bd6e3035d Implement a more dynamic layout height 2019-11-18 14:01:40 -08:00
Mozilla L10n Automation Bot ee7ea8cebf Import l10n. 2019-11-18 13:30:59 -08:00
MozLando 204ead0827 Merge #6513
6513: For #5295 [A11y] Unable to tap snackbar r=kglazko a=kglazko



Co-authored-by: Kate Glazko <katglazko@gmail.com>
2019-11-15 18:43:54 +00:00
Tiger Oakes fdd7400ccc Use ViewModel for share fragment 2019-11-14 16:25:50 -08:00
Tiger Oakes 333ff8c941 Fixes #4528 - Prevent share menu from jumping
Plus a bunch of docs and refactoring
2019-11-14 16:25:50 -08:00
Mozilla L10n Automation Bot 6b9a0d027f Import l10n. 2019-11-14 16:19:30 -08:00
Emily Kager c43f96096e For #5074 - Sync Logins, Uses KeySharedPreferences for Passwords Encryption Key 2019-11-14 16:05:20 -08:00
Kate Glazko e038e0c41d 2019-11-14 13:54:08 -08:00
mozilla-l10n-automation-bot 4ae60f2cce Import l10n. (#6530) 2019-11-14 09:58:15 -08:00
David Walsh 9d5c03c067 Use consistent verbiage with regard to opened tabs (#6550) 2019-11-12 16:06:37 -08:00
mcarare f6a66562dd For #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
Severin Rudie 6909a76bcb
4281 remove qab (#6310)
* For #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
Sawyer Blatz d6aeeb2dec
For #5958: Adds in app download notifications (#6506) 2019-11-11 14:08:51 -08:00
Mozilla L10n Automation Bot 79a9722e76 Import l10n. 2019-11-08 14:44:57 -08:00
Emily Kager d9615108ee For #6354 - Removes ETP Experiment, Removes Feature Flags, Sets Strict Default 2019-11-08 08:37:15 -08:00
Emily Kager 3e2b88cc91 For #5547 - Add top level auth when accessing passwords 2019-11-07 13:45:41 -08:00
Mihai Branescu 8f50e2af5d For #6269 Rtl-wrong-search-positioning (#6400)
* For #6269
- Added start/end margin for rtl support in shortcuts label

* For #6269
- Refactored search fragment xml, extracted dimens + added styles
2019-11-06 11:54:43 -08:00
Mozilla L10n Automation Bot 7ab6b64dcc Import l10n. 2019-11-06 09:34:26 -08:00
ekager 18c0525ff6 Use new API for ETP Exceptions 2019-11-05 12:45:58 -08:00
mozilla-l10n-automation-bot eabf206588 Import l10n. (#6414) 2019-11-05 09:44:23 -08:00
Emily Kager 52ad5dafe2 Closes #6369 - Use padding set from style for protection settings 2019-11-04 10:25:15 -08:00
Jeffrey Starke f1d52ce2da Use vector compat in TrackingProtectionPanelView (#6376) 2019-11-04 10:04:02 -08:00
Mugurell d70afcaa90 For #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 f1f74bc3d6 For #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 5cca5d7a70 Import strings from android-l10n (#6359) 2019-10-31 17:02:17 -07:00
ValentinTimisica 1e13e70cd0 Fixes #5917: Show snackbar when URL is copied (#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 9456998f9f For #6153 - Add powered by notification 2019-10-31 16:39:58 -07:00
ValentinTimisica da521bc37c Fixes #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
Sawyer Blatz e62407e766
For #5959 & #5958: Integrates download feature into Fenix (#6368) 2019-10-31 14:37:05 -07:00
mcarare 41c9b9e958 For #1487 Add "my library" menu category and items to home 3-dot menu 2019-10-31 11:29:49 -07:00
Sawyer Blatz 8549b80272 For #4456: Adds total_uri_count to metrics core ping (#6003) 2019-10-30 11:02:33 -07:00
Mozilla L10n Automation Bot 905c7856fb Import l10n. 2019-10-28 17:26:28 -07:00
Mozilla L10n Automation Bot 11c07e6b3a Import l10n. 2019-10-28 10:04:12 -07:00
ValentinTimisica d7973587fc Fixes #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
ValentinTimisica 27cac54d53 For #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
2019-10-25 13:28:38 -07:00
ValentinTimisica c09a3d1620 Fixes #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.
2019-10-25 13:28:38 -07:00
Mozilla L10n Automation Bot 0242b40ce2 Import l10n. 2019-10-25 10:19:49 -07:00
Mihai Branescu 9d91108f4e For #6179 - Changed positioning of private mode icons in tab he… (#6189) 2019-10-25 08:09:38 -07:00
Mozilla L10n Automation Bot e26f4a9a6e Import l10n. 2019-10-24 22:02:26 -07:00
wpanas 7ab534705a Closes #6236: Fix padding lint issues (#6240) 2019-10-24 10:52:30 -07:00
mcarare 4e816ccd77 For #5497 Improve sync title/summary settings to support RTL 2019-10-24 10:32:59 -07:00
ekager 4aeea36dc7 No issue: Sign in button style should be ThemeIndependentMaterialGreyButton 2019-10-24 10:32:29 -07:00
ekager f49331de55 For #5544: Bare Minimum Logins UI 2019-10-24 10:29:03 -07:00
Mozilla L10n Automation Bot 6f5fba7718 Import l10n. 2019-10-24 10:27:53 -07:00
RaviGarbuja 8c876b5b16 Closes #6237: Change android:text to tools:text (#6246) 2019-10-24 10:24:39 -07:00
Tiger Oakes 97433dc145
Use tools:listitem with collection creation (#6140) 2019-10-24 10:24:08 -07:00
obarzpaw f7840498ed Closes mozilla-mobile#4558 Change height of bookmark linearlayout 2019-10-24 09:46:09 -07:00
Ardlan Khalili eb4150db2a Closes 6168: Globe icon for exceptions 2019-10-24 09:44:49 -07:00
ValentinTimisica bdb2fa71fc For #6145: Switch drawableTint to app compat version. (#6151)
The property android:drawableTint doesn't work on older Android devices,
so I switched to the appcompat version (app:drawableTint).
2019-10-24 09:38:58 -07:00
Jeff Boek 6de7b7d733 For #2477 - Adjust padding to be visually consistent with the separator 2019-10-24 09:35:21 -07:00
Jeff Boek d1643b785e For #2477 - Adds accessibility setting to force enable zoom 2019-10-24 09:35:21 -07:00
Sebastian Kaspari 9543f38978 Use new toolbar API of AC 18.0.0. 2019-10-24 08:57:30 -07:00
Sawyer Blatz 2cba624609
No issue: Fixes string issues for l10n (#6158)
Issues found here: https://github.com/mozilla-l10n/android-l10n/pull/89
2019-10-24 08:24:19 -07:00
Severin Rudie aa8642f534
#4596 migrate collections (#5911)
* For #4596: move code from CollectionCreationComponent to CollectionCreationStore

Other than adding comments, no changes were made. The code will be updated in a following commit. This is in order to make the commit diff more readable.

* For 4596: update CollectionCreateStore to libstate

* For 4596: copied CollectionCreationUIView into CollectionCreationView

Otherwise, no code was changed. The next commit will update this code. This is in order to make the commit diff more readable.

* For 4596: update CollectionCreationView to LibState

Note that the minimal changes possible to enable migration were made.  Refactoring will happen in a later commit.

* For 4596: updated CollectionCreationTabListAdapter to work with the new View

* For 4596: updated SaveCollectionListAdapter to work with the new View

* For 4596: implemented CollectionCreationController

For now, it has an identical interface to the interactor. In a later commit several of its responsibilities will be moved around, some to the interactor and some to the reducer

* For 4596: copied over previous reducer code

No other changes were made. The code will be updated in the following commit. This is done to make changes more readable for the reviewer

* For 4596: update reducer code param names

Otherwise, no changes at this time

* For 4596: add arguments to CreateCollectionFragment in nav_graph

These will be used to replace the current CreateCollectionViewModel, which shares data between fragments in a way that doesn't fit within our architecture.

* For 4596: pass arguments to collection via transaction instead of VM

The VM will be removed in a later commit

* For 4596: update BrowserToolbarController to share state to collection via its Direction

* For 4596: removed CreateCollectionViewModel

* For 4596: test tab retrieval in CreateCollectionFragment

* For 4596: fix crashing CreateCollectionFragmentTest

* For 4596: removed classes create collection classes used by old architecture

* For 4596: collection interactor rename + kdoc

* For 4596: moved collection interactor interface

* For 4596: renamed CreateCollectionFragment

All related classes followed the pattern of CollectionCreationX

* For 4596: kdoc CollectionCreationController

There's no effective difference between these calls and their interactor equivalent, so I linked to them

* For 4596: fix bug that caused rename to not work

* For 4596: removed unused collection actions

These were unused before the LibState refactor

* For 4596: kdoc StepChanged

* For 4596: removed todos about moving logic to the reducer

saveTabsToCollection: this could be moved, but that would involve creating a new action. SaveCollectionStep should probably be refactored out, so adding this layer of indirection seemed counterproductive

handleBackPress: needs to be able to call dismiss(). The reducer doesn't (and shouldn't) be able to do that, so this needs to live here

stepBack: called by handleBackPress. See above

* For 4596: wrote tests for CollectionCreationController#stepback

* For 4596: fixed tests broken by changes to collections

* For 4596: small readability refactor for CollectionController#stepBack

No change to functionality (see tests)

* For 4596: broke apart CollectionView#update

There's probably a lot more that could be done here, but smaller changes were made to reduce scope

* For 4596: remove unnecessary todos

It looks like we don't follow the suggested pattern in this project

* For 4596: test CollectionCreationController#normalSessionSize

* For 4596: updated naming in CollectionCreationController per review
2019-10-22 17:33:54 -07:00
Pawel Obarzanek 40cda1d758 Closes #2435 Change edit icon to share icon on the book… (#6137)
* Closes mozilla-mobile#2435 Change edit icon to share icon on the bookmark toolbar

* Closes mozilla-mobile#2435 Changed raw string to string resources

* Pass bookmark arguments to share fragment

* Closes mozilla-mobile#2435 add orEmpty
2019-10-22 14:34:05 -07:00
Tiger Oakes 4e3a3665d6 For #3366 - Use one layout for edit/add bookmark (#5900) 2019-10-21 10:06:08 -07:00
Sören Hentzschel 7cf1a9e195 for #6008 - fix address bar layout on home fragment for RTL (#6016) 2019-10-21 10:02:13 -07:00
Sören Hentzschel 8921a46f27 For #6011 - fixed truncated clipboard icon in RTL (#6017) 2019-10-21 10:01:51 -07:00
ValentinTimisica 485ccba189 Fixes #5323: Show a snackbar while browsing data is deleting. (#6105) 2019-10-21 09:57:06 -07:00
Sören Hentzschel 9995199caa fixed alignment of open tabs header for RTL languages (#6138) 2019-10-21 09:53:21 -07:00
Mozilla L10n Automation Bot b785fc41bf Import l10n. 2019-10-19 17:40:27 +00:00
MozLando b963a3eab5 Merge #6102 #6106
6102: For #6018 Re-add Search Shortcuts Button r=boek a=BranescuMihai



6106: For #5872 & #6075: Set TabHeader buttons to invisible instead of gone. r=boek a=mcarare

At least one button has to be invisible instead of gone to keep layout height.
Tabs overflow button kept gone to avoid empty space on view end in private mode.



Co-authored-by: Mihai Branescu <branescu.mihai2@gmail.com>
Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
2019-10-18 18:59:20 +00:00
mcarare 6b1bfcc079 For #6100: Mirror ETP graphic in RTL 2019-10-18 15:24:49 +03:00
Mihai Branescu 2be4d08228 For #6018 - Added back shortcuts button in awesomebar
Refactored logic for adding providers, since shortcut providers should
be alone in the list, while all others can be as list
2019-10-18 14:48:58 +03:00
MozLando aa1a5f3d32 Merge #6026
6026: For #5709: Align ETP onboarding popup implementation with original mocks r=ekager a=mcarare



Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
2019-10-16 17:49:16 +00:00
mcarare b82a794908 For #5709: Align ETP onboarding popup implementation with original mocks 2019-10-15 17:07:47 +03:00
Mihai Branescu 1490c0178f For #5749 - Update string for ETP onboarding popup 2019-10-15 15:56:59 +03:00
MozLando e1d05f55fc Merge #5949
5949: Import strings from android-l10n r=liuche a=mozilla-l10n-automation-bot

n/t

Co-authored-by: Mozilla L10n Automation Bot <release+l10n-automation-bot@mozilla.com>
2019-10-15 03:53:27 +00:00
mcarare b1dcc69e52 For #5709: Align ETP Settings Screen implementation with original mocks 2019-10-14 15:59:43 +03:00
Mozilla L10n Automation Bot f189636c90 Import l10n. 2019-10-13 20:01:13 +00:00
MozLando bb22fb3092 Merge #5507 #5846
5507: For #1383 Added tab title to close button content description r=ekager a=mcarare


### Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [ ] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [x] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [x] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

### After merge
- [ ] **Milestone**: Make sure issues finished by this pull request are added to the [milestone](https://github.com/mozilla-mobile/fenix/milestones) of the version currently in development.

### To download an APK when reviewing a PR:
1. click on Show All Checks,
2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark,
3. click on the "Fenix - assemble" task, then click "Run Artifacts".
4. the APK links should be on the left side of the screen, named for each CPU architecture

5846: For #3604 Snackbar messages for closing tabs use closed instead of deleted r=sblatz a=mcarare


### Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [x] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [x] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [x] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

### After merge
- [ ] **Milestone**: Make sure issues finished by this pull request are added to the [milestone](https://github.com/mozilla-mobile/fenix/milestones) of the version currently in development.

### To download an APK when reviewing a PR:
1. click on Show All Checks,
2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark,
3. click on the "Fenix - assemble" task, then click "Run Artifacts".
4. the APK links should be on the left side of the screen, named for each CPU architecture

Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
2019-10-11 16:28:36 +00:00
MozLando f66b9f3e8f Merge #5633
5633: Add fxa/sync integration tests r=csadilek a=isabelrios

 Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [x] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [-] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [-] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

This PR tries to add new tests, sync integration tests, to check the sync process Desktop<->Fenix, first for Bookmarks and in the future for more.

Co-authored-by: Isabel Rios <isabelrios@mackbookirios.home>
Co-authored-by: isabelrios <isabelrios@gmail.com>
2019-10-11 14:43:39 +00:00
MozLando 8cf54f773b Merge #5882
5882: For #5873 Added on/off indicator for delete browsing data on exit pref r=sblatz a=mcarare


### Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [x] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [x] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [x] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

### After merge
- [ ] **Milestone**: Make sure issues finished by this pull request are added to the [milestone](https://github.com/mozilla-mobile/fenix/milestones) of the version currently in development.

### To download an APK when reviewing a PR:
1. click on Show All Checks,
2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark,
3. click on the "Fenix - assemble" task, then click "Run Artifacts".
4. the APK links should be on the left side of the screen, named for each CPU architecture

Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
2019-10-11 13:22:33 +00:00
Mozilla L10n Automation Bot 5a73d2f6c5 Import l10n. 2019-10-10 22:54:54 -07:00
Sawyer Blatz b0d796ccee
For #5898: Default browser toggle sends user to SUMO on Android 5&6 (#5918) 2019-10-10 11:16:21 -07:00
mcarare 788e52be0c For #5873 Added on/off indicator for delete browsing data on exit pref 2019-10-09 11:55:37 +03:00
Mozilla L10n Automation Bot a9cfc83154 Import l10n. 2019-10-08 21:38:24 -07:00
Tiger Oakes 78bc829735 Closes #778 - Progressive Web Apps! (#4914) 2019-10-08 16:50:15 -07:00
mcarare 1c6aefd82b For #3604 Snackbar messages for closing tabs use closed instead of deleted 2019-10-08 17:06:02 +03:00
Mihai Adrian 18a130b38e For #5798: Fix info icon pixelation (#5841) 2019-10-08 09:30:32 -04:00
Isabel Rios 44f4cedefd Add fxa/sync integration tests
fixing Jenkins path to tests and clean tests

commenting future tests and adding doc with info about the tests
2019-10-08 09:56:29 +02:00
Vipul Asri 31ae5709c2 Closes #5573: fix radio-button spacing in settings 2019-10-07 13:07:53 -07:00
Tiger Oakes d5c3433041 Use the new fragment constructor 2019-10-07 11:07:48 -07:00
Madalin Valceleanu f4be12227f Fix the incognito icon looks out of place/misaligned 2019-10-07 10:15:11 -07:00
Tiger Oakes d028c97112 For #5213 - Use support library attributes 2019-10-06 16:17:00 -07:00
Sawyer Blatz 371e2ac3d8
For #514 & #5742: Updates "launch links in private tab" functionality (#5721)
* For #514 & #5742: Updates "launch links in private tab" functionality

* Fixes comments
2019-10-03 12:43:33 -07:00
Madalin Valceleanu 4a0917ba32 Fix too much space under the address bar 2019-10-03 11:30:03 -07:00
Sawyer Blatz 097d7c2038
For #5742: Adds strings (#5743) 2019-10-03 09:32:50 -07:00
Sawyer Blatz 785b8b9519
For #5567: Removes search shortcuts button (#5739)
* For #5567: Removes search shortcut button

* No issue: Simplifies logic for displaying shortcuts
2019-10-03 08:53:16 -07:00
Sawyer Blatz 2896b36d14
No issue: Updates naming of launch links privately var (#5701)
The previous name was pretty confusing
2019-10-02 12:11:21 -07:00
Sawyer Blatz eb3c9f86e2
No issue: Removes feature flags for delete data (#5738) 2019-10-02 10:43:37 -07:00
Sawyer Blatz 2f0d8d8243 For #5712: Updates text color for fill link from clipboard 2019-10-01 16:29:39 -07:00
Axel Hecht 214ca421f7 Import strings from android-l10n
State: mozilla-l10n/android-l10n@10559d774c
2019-09-30 16:10:08 -07:00
Sawyer Blatz c8af16bd47
For #5679: Hides autoplay behind feature flag (#5685) 2019-09-30 12:01:04 -07:00
Grisha Kruglov a4097cd380 FxA WebChannels integration
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes #4971)

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2019-09-30 10:33:56 -07:00
mcarare 64923978e6 For #1071 Added Desktop Mode icon 2019-09-27 09:47:10 -07:00
Sawyer Blatz 7f328a6dc4
For #1298: Adds adjustCampaignId to core ping (#5579) 2019-09-27 08:56:33 -07:00
Severin Rudie 5e8798e89c Issue #4513: add ProgressBar to bookmark component layout 2019-09-26 16:29:14 -07:00
Colin Lee de93b05cac For #2754 Add tab cards to share sheet (#5493)
* For #2754 Add tab cards to share sheet

* For #2754: Fix background near rounded corners and ShareButtonAppearanceTest

* Add license to share_tab_item
2019-09-26 14:25:34 -07:00
Mugurell c5330c6880 For 5092 - Show a Snackbar with retry option if sharing to devices fails (#5158)
* For #5092 - Show a Snackbar with retry option if sharing to devices fails

ShareController will contain all the business logic for checking the result
status of the `share to device` operations. When this fails it will show a
snackbar which also offer the possibility to retry the just failed operation.
To allow this even in the event the user has closed the share fragment we'll
use a GlobalScope's coroutine.
Refactored out the TabsSharedCallback from ShareFragment because otherwise we
would have neede to sent through that the just failed operation. After the
refactor the ShareController is solely responsable for showing the right
snackbar and handling the retry actions.

* For #5092 - Refactor ShareControllerTest

* For #5092: Adds color theming of snackbars
2019-09-26 12:30:28 -07:00
Yeon Taek Jeong 59e2c124cb No issue: Update long-press shortcut strings (#5284)
* No issue: Update long-press shortcut strings

* Updates identifiers
2019-09-26 11:57:37 -07:00
Emily Kager b0b60aa27d For #5281 - Use TrackerLog for reporting ETP categories (#5556) 2019-09-25 10:48:06 -07:00
Sawyer Blatz b6e6e36ccd For #561: Fix stutter of search icon & text when animating 2019-09-25 10:06:38 -07:00
Jeff Boek 32c506121e For #561 - Fixes visual inconsistencies with the search bar 2019-09-25 10:06:38 -07:00
Jeff Boek 5c092c1ef1 For #561 - Adds shadow/highlightto the bottom bar 2019-09-25 10:06:38 -07:00
Jeff Boek b16754d78a For #561 - Adds add tab and menu button to bottom bar
- Adds space between wordmark and session control component
2019-09-25 10:06:38 -07:00
Jeff Boek abbb310ce3 For #561 - Removes the toolbar from the home screen
- Removes the menu button
- Fixes motionlayout animation with the wordmark/private browsing button
2019-09-25 10:06:38 -07:00
Axel Hecht 2829235651 Import strings from android-l10n
State: mozilla-l10n/android-l10n@97355ffcdc
2019-09-25 09:02:42 -07:00
mcarare bfe8bf4663 For #1383 Added tab title to close button content description 2019-09-25 10:34:02 +03:00
Emily Kager 25e2a7abfc For #2765 - Run places maintenance daily (#5466) 2019-09-24 10:50:11 -07:00
Mihai Adrian c7c752cabb For #5356 Improves private browsing "common myths" link accessibility (#5479)
Added separate TextView for link text
Used UnderlineSpan to show text as link
Split string private_browsing_placeholder, one for each TextView
Set clickListener on TextView so it can be accessed via Talkback
2019-09-24 10:46:34 -07:00
Axel Hecht 7c55aff1be Import strings from android-l10n (#5482)
State: mozilla-l10n/android-l10n@d10506f569
2019-09-23 19:53:57 -07:00
Nicholas 72eed21bfc For https://github.com/mozilla-mobile/fenix/issues/5474 - Adapt Autoplay icon to theme 2019-09-23 08:56:09 -07:00
Sawyer Blatz f02603be37
For #5460: Fixes styling of fill link from clipboard (#5464) 2019-09-20 15:29:16 -07:00
mcarare 77ce658033 For #5383 Refactored ETP layout to keep appearance for larger font size.
Added paddingTop to layout to maintain similar space above title.
Added image's bottom colour as background color to fill space below image.
Refactored TextViews alignment to chain.
Changed guideline to percent instead of dp for wider screens including tablets.
2019-09-20 14:01:30 -07:00
Tiger Oakes 6c30a94081 Move settings classes to packages 2019-09-20 12:36:15 -07:00
mihai-adrian 47064a68e0 For #5141 Changed "learn more" link to be accessible to Talkback users 2019-09-20 12:29:02 -07:00
Tiger Oakes 172a9cf06c Extract and test crash reporter code 2019-09-20 11:04:11 -07:00
mcarare 95a7aa9223 For #4526 Prevent automatic theme summary being cutoff with long text 2019-09-20 09:20:57 -07:00
Sawyer Blatz 6f3d7b4ee8 For #5396: Adds "always launch in private mode" to settings 2019-09-20 08:33:07 -07:00
Emily Kager 9591172ee9 No issue: Make Shortcut dialog buttons match other dialogs 2019-09-20 08:04:55 -07:00
Colin Lee 1aa4f5a519 For #255: Toggle Media Autoplay 2019-09-19 15:13:04 -07:00
Sawyer Blatz e961a9d63d For #1744: Adds clipboard provider to search engine screen 2019-09-19 08:24:27 -07:00
Jeff Boek 976c840047 For #3077 - Replaces connect another device dialog with a scree 2019-09-18 17:24:43 -07:00
Sawyer Blatz 956f4f0534
For #5411: Fixes delete button turning red (#5412) 2019-09-18 15:20:05 -07:00
Sawyer Blatz 50cd2920d3
For #5371: Updates search engine settings string (#5393) 2019-09-18 11:26:44 -07:00
Emily Kager a68fabd3a7 For #1749 - Update to new ETP Settings Strings (#5395) 2019-09-18 10:36:09 -07:00
Emily Kager 95e4f2d754 No issue: Land strings for login management 2019-09-18 08:06:20 -07:00
Grisha Kruglov c2fb99a73f FxA WebChannels integration
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes #4971)

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2019-09-16 19:44:13 -07:00
Emily Kager 7214f40008 For #5368 - Make every blocking category gone by default 2019-09-16 15:01:29 -07:00
Emily Kager 140da0dd0f For #5359 , #5360 - Update ETP Vectors for Android 5+6 2019-09-16 15:01:29 -07:00
Axel Hecht 0eca317d03 Import strings from android-l10n
State: mozilla-l10n/android-l10n@f0d82028ce
2019-09-16 12:54:44 -07:00
Yeon Taek Jeong b6f2e8da35 For #5296: Fix long-press shortcuts to work across build variants 2019-09-16 12:31:20 -07:00
ekager 90ef5ec9bb Closes #5338 - Use padding instead of margin for delete browsing item 2019-09-15 19:46:50 -07:00
ekager 8cd0d8faf3 For #5304 - Align ETP Onboarding Tool Tip PopupWindow 2019-09-13 18:25:26 -07:00
Axel Hecht 8a371191b7 Import strings from android-l10n (#5300)
State: mozilla-l10n/android-l10n@e78d5868c7
2019-09-13 12:15:08 -07:00
Sawyer Blatz e247870b9f
For #5277: Updates string for delete browsing data (#5309) 2019-09-13 10:18:25 -07:00
Sawyer Blatz 93ba506722 No issue: Slightly changes margin on play/pause button 2019-09-12 13:37:49 -07:00
Emily Kager f698bdfcb5 For #5270 - Adds state list color for delete browsing checkboxes 2019-09-12 13:27:27 -07:00
Emily Kager 96f0ec829b No issue: Remove recommended from standard ETP option 2019-09-12 12:34:28 -07:00
Colin Lee 0d1c19d017 For #3106: Improve granular data deletion margins 2019-09-12 10:25:14 -07:00
Mihai Adrian bc16061939 For #3371: Show snackbar message when share fails with crash (#5210) 2019-09-12 09:26:24 -07:00
ekager 4461230e9b For #5229, #5228 - Dismiss ETP panel on back press, don't truncate text 2019-09-12 07:40:49 -07:00
Emily Kager a5859e0028 For #5178 - Polish delete browsing data item layout 2019-09-11 18:11:26 -07:00
Emily Kager 80d8c76453 No issue: Land new ETP Strings 2019-09-11 16:11:42 -07:00
Jeff Boek e092dfd684 For #5047 - Addresses nits
- Changes MainScope to viewLifecycleScope
- Fixes string name/comment to better describe what it is
- Adds disabled state to the add button
2019-09-11 16:10:54 -07:00
Jeff Boek d18ec49704 For #5047 - Wires up dialog to webAppUseCases 2019-09-11 16:10:54 -07:00
Jeff Boek faff73b9b3 For #5047 - Creates dialog ui for naming a shortcut 2019-09-11 16:10:54 -07:00
Emily Kager e3209dcc84 For #3700 - Add Setting to Delete Data on "Quit" menu action 2019-09-11 16:06:18 -07:00
Emily Kager 418b1ba890 For #1749 - Use Strict ETP by default, use Feature Flag for Settings 2019-09-11 16:03:01 -07:00
Sawyer Blatz 999d3cb963 For #1114: Show playing tab 2019-09-11 15:45:22 -07:00
Emily Kager bafbea1512 No issue: Set color for toolbar divider (#5221) 2019-09-11 11:46:00 -07:00
Emily Kager 9a4610f068 For #2897 - Add Action States To Share Sheet 2019-09-11 11:32:26 -07:00
Yeon Taek Jeong 2e2bac4ccd
For #419: Create launch icon for private browsing (#4948) 2019-09-11 10:52:33 -07:00
Sawyer Blatz 53b3f105ca For #4155: Sets pastedText default value 2019-09-11 09:03:17 -07:00
Sawyer Blatz 9d30d7bb03 For #4155: Restyle to custom menu 2019-09-11 09:03:17 -07:00
Sawyer Blatz 52fd327bc0 For #4155: Adds tests for browser toolbar popup menu 2019-09-11 09:03:17 -07:00
Sawyer Blatz fdd2b59fb8 For #4155: Adds popup menu for browser toolbar 2019-09-11 09:03:17 -07:00