1
0
Fork 0
Commit Graph

858 Commits (69a9aeebae193107ba122bf60e5b60386666d85b)

Author SHA1 Message Date
Grisha Kruglov 853a0acab4 Closes #4046: Always display 'Desktop' bookmarks folder
See https://github.com/mozilla-mobile/fenix/issues/4046 for a detailed discussion of this.

In short, this patch removes code that would conditionally hide desktop bookmarks depending
on the signed-in state of the browser.
2020-04-17 23:57:43 -07:00
Sawyer Blatz 89cfa3ea9a For #9808: Fix scrolling cutoff on homescreen 2020-04-17 19:58:22 -07:00
Sawyer Blatz a8e624959e
For #6940: Fixes top dynamic toolbar behavior (#9900) 2020-04-17 13:32:20 -07:00
Jonathan Almeida cab0bfc073 For #8422: Add more misc migration UI fixes 2020-04-17 14:22:25 -04:00
Emily Kager 1df9c53b9f
Fix: Set correct height for EditText (#10014)
Created a dimension for the correct height that the EditText in the
fragment_edit_bookmark.xml has to have.

Co-authored-by: DrCesar <josuejacobstercero@gmail.com>
2020-04-16 20:31:25 -07:00
mcarare 5a2a779ef5 For #9565: Adjust padding and height to allow longer text 2020-04-16 20:10:45 -07:00
mcarare 8440f1867a For #9989: Add start & end margin to button. 2020-04-16 19:43:34 -07:00
ekager 6df11619fd No issue: Uses NeutralButton for Migration Activity 2020-04-16 13:14:34 -07:00
Jonathan Almeida 2bb1b6edad For #8422: Add misc migration UI fixes 2020-04-16 12:02:02 -07:00
ekager 688a33522b For #9516 - Adds selectable background to dialog and snackbar buttons 2020-04-16 10:13:08 +03:00
Sawyer Blatz 8185ba793e
For #9857: Create button style (#9858)
* For #9857: Creates text button style

* Adds lint check

* Fixes onboarding cards
2020-04-15 15:49:02 -07:00
ValentinTimisica c7b123cfea
Fixes #9710: Vertically aligns users_count with rating (#9950) 2020-04-15 10:51:55 -07:00
Arturo Mejia eace991859 For issue #8520: Improve add-ons UI 2020-04-13 19:01:58 -04:00
ekager 5039546dc5 For #7208 For #7212 - Update parameterized strings 2020-04-13 09:40:47 -07:00
mcarare 1881975a31 For #9793: Adjust relative positions to provide correct a11y traversal 2020-04-10 14:35:58 +03:00
Sawyer Blatz 12d486bf02
Issue #9682: Reduces size of branding (#9784) 2020-04-07 14:05:07 -07:00
mcarare cac8115e55 For #9663: Allow more than one line for onboarding card header 2020-04-03 17:47:11 -07:00
Codrut Topliceanu 8c43935ba3
For #7978 - Put views above button in scrollView (#8819) 2020-04-02 10:13:32 -07:00
Mihai Adrian 7043f9ee4e
For #9604: Swap and adjust margin with padding to avoid text being cut (#9617) 2020-04-02 09:40:29 -07:00
mcarare fac61fbb41 For #9422: Nit: Fix xml indenting 2020-04-02 09:11:31 +03:00
mcarare 4d0b37a3b8 For #9422: Align widget text to viewStart to support RTL layouts 2020-04-02 09:11:31 +03:00
Emily Kager 327009efc4
For #768: Add first time PWA dialog (#9308)
Co-authored-by: Tiger Oakes <toakes@mozilla.com>
2020-04-01 22:56:12 -04:00
Mihai Adrian 90787cf630
For #9423: Align preference title and summary to viewStart (#9426)
* For #9423: Align preference title and summary to viewStart

* Update checkbox_left_preference_etp.xml

Co-authored-by: Jeff Boek <jeff@jeffboek.com>
2020-04-01 15:36:01 -07:00
Kate Glazko cca3dae290 NoIssueFixMetropolisAccountPref 2020-04-01 15:13:03 -07:00
ekager 4159cd3da7 Closes #9564 : Fixes cut off strings in ETP panel 2020-04-01 10:16:51 -07:00
Kate Glazko d9d5de98c9 For 3687 Use Metropolis Font for Header 2020-03-31 19:31:15 -07:00
Arturo Mejia 804eb0f5ba For issue #8520: Polish Add-on manager UIs 2020-03-31 17:20:20 -04:00
David Walsh 9679b91e82 For #9525 - Add bottom margin to top sites header 2020-03-30 14:48:45 -07:00
ekager 3d55578242 Use existing strings for announcement 2020-03-30 11:10:40 -07:00
asavill c383d4225e Closes #7720:
- Increased atp switch size to be consistent with `dimen/tracking_protection_item_height`(48dp).
- Cut out redundant traversal of TextViews in SwitchWithTraversal as per https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md
- Reuse `QuickSettingsText.Icon` style on the switch component to be consistent with other items in the component_tracking_protection_panel.xml
- Added new string resources for textOff and textOn state to get appropriate screen reader description (unsure of the translation/localisation process here!)
2020-03-30 11:10:40 -07:00
David Walsh e1187ebf31 For #7059 - Allow search engines to scroll 2020-03-30 10:31:39 -07:00
David Walsh d989616f62 Add top sites heading to home screen 2020-03-30 10:29:40 -07:00
mcarare ab78951146 For #9496: Vertically align collection name and icons to collection icon 2020-03-30 08:30:06 -07:00
Simon Chae e820a35f56 Update NotYetSupported add-ons copy 2020-03-30 10:36:49 -04:00
mcarare 18533d3434 For #8764: Use list component for items in collections 2020-03-27 22:14:59 -07:00
mcarare 62bbbd9e37 For #8764: Update collection design, including list elements 2020-03-27 22:14:59 -07:00
mcarare 38a97cd1e0 For #9252: Add progress bar to saved logins view 2020-03-27 22:13:58 -07:00
David Walsh 180652deab No issue - Make fill link from clipboard divider stretch full screen 2020-03-28 02:10:18 +02:00
Mugurell fc0260d6ee For #8651 - Ensure FenixSnackbar has a proper root for inflating into
FenixSnackbar, as the platform Snackbar can only be inflated in either a
`CoordinatorLayout` or a `FrameLayout`.
Ensure our HistoryFragment's layout uses one of these as it's root.
2020-03-27 15:53:31 -07:00
mcarare b77f92f9d1 For #9435: Adjust margins and paddings to mirror correctly in RTL 2020-03-27 14:45:47 -07:00
David Walsh 28406eaf3d No issue - Add content descriptions when missing 2020-03-27 14:41:51 -07:00
ValentinTimisica eb5303fa48 Fixes #8288: Adds content description for ETP back button 2020-03-25 13:18:41 +02:00
Mihai Branescu a23bcebb5d For #8972 Replaced purple colors to match the rest of the app 2020-03-25 00:13:59 +02:00
Arturo Mejia b484ad38cc No issue: Remove feature flag for removing one TP exception 2020-03-24 11:14:07 -04:00
codrut.topliceanu 9059a6b465 For #6317 - Applies 3dot menuItem look to quickSettings and tracking panel 2020-03-23 12:26:52 -07:00
Amaan Marfatia 7236913d94 Closes #7761: Makes the Parent Folder Selector height 48dp for touch accessibility 2020-03-22 00:10:09 +02:00
Severin Rudie 35a132d7ff
8017 advanced autoplay controls. (#8978)
* For #8017: add advanced autoplay controls
2020-03-20 12:10:42 -07:00
Mugurell 21606bf94f For #8693 - Add rtl onboarding toolbar position picker images 2020-03-20 09:48:04 -07:00
Mugurell 1dca146e4f For #8693 - Add rtl onboarding theme picker images 2020-03-20 09:48:04 -07:00
mcarare e4acabb329 For #8600:Increase space below left checkbox preference 2020-03-19 15:41:05 +02:00
mcarare a098b66d26 For #8591: Allow items in quick_action_sheet to be read by a11y services 2020-03-19 15:18:40 +02:00
mcarare 756b1fbadd For #9140: Remove drawable from title in empty state panes 2020-03-19 14:32:40 +02:00
Jeff Boek 74ce62b5c3 For #8949 - Removes old motionlayout code, fixes how shadow is drawn 2020-03-11 17:10:40 -07:00
ekager 709bf6f627 For #7087 - Add SearchView to Logins Fragment 2020-03-10 23:01:51 -07:00
ekager feb6215fae For #8296 - Adds user account avatar to Account Preference 2020-03-10 11:19:22 -07:00
Emily Kager 93bc87e273
For #7270 - Do not overlap long logins items (#9013) 2020-03-10 09:39:50 -05:00
mcarare 320fc4e4ae For #8788 Use Flexbox instead of Grid manager for top sites 2020-03-09 11:01:14 -07:00
mcarare a581486e1c For #8985 Fix Share Menu display when having recently used list.
Allow for All Actions recyclerview to scroll to end.
Adjust padding for views.
2020-03-09 10:48:02 -07:00
Sawyer Blatz 28f58eb025
For #7158: Improves home to search animation (#9008) 2020-03-05 13:54:54 -08:00
ekager 2603683d42 Match Theme Indepedent Grey 2020-03-03 12:51:58 -08:00
mcarare f9e85e78af For #6607 Update button theming in no tab pane 2020-03-03 12:51:58 -08:00
mcarare cfe4f11864 For #6607 Update button theming in no tab pane 2020-03-03 12:51:58 -08:00
Sawyer Blatz f20fb50481 For #5346 & For #8859: Fixes textSize & animation on TabCounter 2020-03-02 18:54:20 -08:00
ekager a8e41d3b41 No issue: Remove one instance of android:drawableTint 2020-03-02 14:37:39 -08:00
Sawyer Blatz e96732604b For #167: Improves home to browser animation 2020-02-28 18:04:14 -07:00
mcarare df80a5240b For #6607 Add button to no tab content pane 2020-02-28 13:21:22 -08:00
ekager 88bd18b4bf Remove unused color selector resource 2020-02-27 12:40:57 -08:00
ekager 63ddff533d For #8641 - Update addon text selector to use attr colors 2020-02-27 12:40:57 -08:00
David Walsh e2b72a9c01 For #8505 - Update tab icon 2020-02-26 12:04:51 -08:00
Sawyer Blatz 13c9c39658 For #4383: Add feature flag 2020-02-25 16:45:59 -08:00
Sawyer Blatz 009a7f3020 For #4383: Enable dynamic bottom toolbar 2020-02-25 16:45:59 -08:00
mcarare 09e0c0b447 For #8719: Keep top site item at mock width size, prevent stretching 2020-02-25 16:28:34 -08:00
mcarare 2add077ee3 For #8719: Keep RecyclerView from stretching to fill up parent width 2020-02-25 16:28:34 -08:00
Mugurell 4cf74ed44e For #8673 - Don't mirror the onboarding - toolbar position picker tiles
Don't mirror the images and keep the radio buttons fixed in place at the top
left corner of the images.
2020-02-25 15:38:47 -08:00
Mugurell 71aba16cbf For #8673 - Don't mirror the onboarding - theme picker tiles
Don't mirror the images and keep the radio buttons fixed in place at the top
left corner of the images.
2020-02-25 15:38:47 -08:00
Sparky93 0f609b1888 Fix for #8533 - Migration screen's buttons in the wrong place
Made a small refactor on the migration screen layout in order to correctly position the elements.
2020-02-25 13:19:09 +01:00
David Walsh 342ad1bfca
For #7604 - Correct header colors in navigation bar (#8661) 2020-02-24 17:39:11 -08:00
David Walsh 72e3d5d22f Add add top margin to No Bookmarks message 2020-02-21 18:52:52 -08:00
Mugurell a84b250894 For #8469 - Support rtl for onboarding - toolbar position picker
We'll mirror the toolbar position picker images and make sure the radio button
are positioned correctly in relation to them.
2020-02-20 19:49:42 -08:00
Mugurell 15e1c8dc69 For #8469 - Support rtl for onboarding - theme picker
We'll mirror the theme picker images and make sure the radio buttons are
positioned correctly in relation to them.
2020-02-20 19:49:42 -08:00
Sawyer Blatz 2a5d774239 For #8315: Fixes flicker of search with text 2020-02-20 19:14:10 -08:00
Sawyer Blatz f02e06afae
For #8454 - Removes back button from the search screen 2020-02-20 18:15:47 -05:00
ValentinTimisica 6f53020a4a Fixes #7967: Updated accessibility details for 'add search engine' screen 2020-02-19 16:50:52 -08:00
Mihai Branescu fdbf63fb97 For #4231
Added kapt plugin + dependencies in order to be able to use Room
Added recent apps to share fragment (top 6)
Extracted dimens of share_to_apps.xml in the dimens file
2020-02-19 10:36:58 -08:00
Lepiku 8939358f40 For #8449: Update Delete browsing data item minHeight 2020-02-18 12:55:22 -08:00
mcarare bba563b5f9 For #6479: Add granular ETP settings 2020-02-18 09:32:43 -08:00
Sebastian Kaspari ba54080177 Issue #8277: Reuse app icon in widget layout.
This patch refactors the widget layouts so that we can reuse the app icon and do not have to have
another logo resource with different constraints. This will also make it easier to update the
branding in #8277 and #8278.
2020-02-17 11:37:15 +01:00
Sparky93 5971257669 Fix for #8430 - Migration progress bar too close to text
Reduced the margin start value of the progress bar in order to leave more space between it and the
text.

Moved hardcoded margin values into dimens resources.
2020-02-14 14:22:10 +01:00
Kate Glazko 5b28ad68b7 For #8248 Icon Wrong Color 2020-02-13 14:55:55 -08:00
mcarare 372b1e7f0e For #6980: Update Private browsing card.
Added test to description.
Added link to settings.
Updated unit tests.
2020-02-13 14:13:57 -08:00
Simon Chae 0dac2fd0f4
For #8346: Update add-on-permissions fragment to be scrollable (#8352) 2020-02-12 17:19:07 -05:00
Arturo Mejia f85994e1cc For issues #8191 Increase text contrast for the "Remove" button
on installed Add-ons fragment
2020-02-11 19:54:48 -05:00
codrut.topliceanu 705567651f For #7978 - Remove ScrollView from migration activity. 2020-02-11 16:40:15 +01:00
codrut.topliceanu e193c9c084 For #7975 - Added a progress bar according to specs 2020-02-11 16:40:15 +01:00
Jeff Boek f9b05e7d5a
For #8212 - Fixes shadow/border when toolbar is on top (#8234) 2020-02-10 12:32:26 -06:00
Simon Chae cb19c6e868 For #8259: Add scrollview within the nested relative layout 2020-02-10 13:32:04 -05:00
mcarare b934d95256 For #6980: Show correct image mocks for toolbar positions 2020-02-10 12:02:32 +01:00
Emily Kager 5839f5891c No issue: Update androidx dependencies 02.08.20 2020-02-10 11:33:12 +01:00
Emily Kager ca60e3fbe3
For #8147 - Update to app namespace for drawables (#8217) 2020-02-07 22:07:40 -05:00
mcarare 3ea5b08135 For #8190: Add animation to ETP policy selection 2020-02-07 15:50:39 -08:00
Christian Sadilek 142104dc86 For #8202: Remove settings if add-on disabled
- Also fixes the crash described in #8202.
2020-02-07 16:42:54 -05:00
Jeff Boek a42ad7603b For #5073 - Fixes visual alignment when certificate authority breaks into a new line 2020-02-07 09:10:31 -08:00
Kate Glazko 7c00a1ad6b For #5073: View Site Cert 2020-02-07 09:10:31 -08:00
mcarare 5bd5f81559 For #6980: Add onboarding Toolbar position picker card 2020-02-07 09:05:03 -08:00
Jeff Boek 62d540257f For #7965 - removed unused strings, reverted changes to radiobutton widget 2020-02-06 18:48:23 -08:00
David Walsh 4b9f07c511 For #7965 - Remove CDATA strings 2020-02-06 18:48:23 -08:00
Kadeem f4f93e761e NOISSUE - Renamed a misspelled variable. 2020-02-06 18:25:11 +01:00
Emily Kager a04b595425 For #8147 - Use app:srcCompat instead of android:src 2020-02-06 17:49:30 +01:00
Mohammaduvez 00d7f4c91c
Fixes #5711 Added tint to onboarding icons (#8093)
* Added tint to onboarding icons and udpated finish button tint

* Replaced tint parameter with onboarding_card_icon color in setOnboardingIcon
2020-02-05 21:46:12 -08:00
Marc Leclair 92b38206c7 #7700 fixed scrolling, parallax action to match both images and some code clean up 2020-02-05 16:40:41 -08:00
Marc Leclair 72007590f7 #7700 squash commit and fixing toolbar to switxh to top with coordinatorlayout 2020-02-05 16:40:41 -08:00
Arturo Mejia 1fef90721a
For issue #8100: Add progress bar to the add-ons manager fragment 2020-02-05 16:32:50 -05:00
Emily Kager 46fd1a04f1 For #7456 - For top toolbar set correct progress gravity and background 2020-02-05 19:14:14 +01:00
Mugurell ac39b420b4 Fix #7613 - Align radio buttons with the theme images 2020-02-05 10:21:23 +01:00
Gabriel Luong 64a4a7f422
Provide add-on support (#8064)
Closes #5630, #6069, #6092, #6091, #6124, and #6147.

Co-authored-by: Simon Chae <chaesmn@gmail.com>
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2020-02-04 01:41:51 -05:00
Mihai Adrian 4eb71ce235
For #6980: Update ETP onboarding card (#7958) 2020-02-03 21:03:15 -08:00
Sawyer Blatz 9f342fca9e For #6820: Updates background, shadow, & snackbars of toolbar 2020-02-04 00:12:26 +01:00
David Walsh 4b3effdfab For #6820: Place address bar at top or bottom of the home screen based on user preference 2020-02-04 00:12:26 +01:00
Kadeem 321251c49c Updates the hide and reveal password icons to use and tint the mozac version. 2020-02-03 23:11:41 +01:00
Sawyer Blatz 030f75b4df For #5892 & #6380: Updates error page template and allows SSL bypassing 2020-02-03 21:01:14 +01:00
David Walsh f728cdaf05
Bug 7189 - Provide page title in website information dialog (#7255)
* Bug 7189 - Provide page title in website information dialog

* Update QSFS test

* Fix Tiger's nits
2020-01-30 11:24:53 -08:00
Sawyer Blatz 94447657c4 No issue: Fixes strings for data migration 2020-01-30 11:29:50 +01:00
Mihai Adrian 24396d174f
For #6980: Add What's new card (#7952) 2020-01-29 08:50:11 -08:00
Mihai Adrian 622fdadde8 For #7272: Show info when saved logins list is empty. (#7891)
* For #7272: Show info when saved logins list is empty

* For #7272: Updated unit tests
2020-01-24 18:13:44 -08:00
Sebastian Kaspari 21f342be12 Issue #7890: Make migration screen scrollable. (#7914) 2020-01-24 18:03:02 -08:00
Emma Malysz 5e9b753acb For #7473, delay inflation of toolbar
Improve performance of HomeActivity.onCreate by delaying this inflation.
We use a ViewStub and inflate the first time the actionbar is accessed.
2020-01-24 15:21:42 -08:00
Gabriel Luong 9ecb67e783 For #6758 - Part 6: Add top site view 2020-01-24 15:18:25 -08:00
Michael Comella 847056b332 Issue #7423: remove redundant bottom_bar ConstraintLayout. 2020-01-22 11:20:47 -08:00
Michael Comella 91a557dc0a For #7423: remove unnecessary CoordinatorLayout in fragment_home.
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
2020-01-22 11:20:47 -08:00
Michael Comella d7fd8e763a For #7423: remove unnecessary wordmark_spacer view.
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
2020-01-22 11:20:47 -08:00
Josh Vocal 2372ee6b15 For #4212: Control text not translated 2020-01-22 10:27:46 -08:00
Kaaira Gupta 08cce8cf58 for #7421 :removed collection from clear browsing history 2020-01-21 19:00:59 -08:00
Michael Comella ffc441f12a For perf-frontend-issues#50: instrument imperfect reportFullyDrawn.
We don't capture the second RV draw yet. Unfortunately, I don't know if
it's the best use of my time to capture that as well.
2020-01-21 18:34:38 -08:00
Chenxia Liu e5164e3670 For #6980 - Pre-land string changes to onboarding cards. 2020-01-21 16:28:36 -08:00
Kaaira Gupta e291c6905c For #3813 - Create a save button for bookmark editing 2020-01-21 16:03:33 -08:00
Severin Rudie 2dc5b397b6
For #7506: show highlight on home 3-dot button (#7665) 2020-01-21 13:02:14 -08:00
mcarare 8274ff6f2b For #7714: Align engine name to viewStart to support RTL layouts 2020-01-21 12:27:19 -08:00
Michael Comella ffb2e72b97 For #7423: remove unnecessary CoordinatorLayout in fragment_home.
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
2020-01-17 16:59:03 -08:00
Michael Comella a1cbbba4ea For #7423: remove unnecessary wordmark_spacer view.
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
2020-01-17 16:59:03 -08:00
Jonathan Almeida d29701d992 For #ac-5597: Fix unneeded dark theming in migration UI 2020-01-16 13:46:01 -05:00
Jonathan Almeida b89afe7b7c For #7092: Add initial Migration UI 2020-01-15 21:41:01 -08:00
ekager 0777fb3bbe For #5545 For #5542 Closes #6696 Integrate logins API, adds Settings for Autofilling/Saving Logins 2020-01-15 12:14:08 -08:00
Marcin Wiącek 159644579e Doesn't allow for hint in URL bar on main page in two lines 2020-01-14 09:36:39 -08:00
daphliu 7034ad4be6 Modified onboarding card colors according to design 2020-01-14 09:18:45 -08:00
Colin Lee 7baf54f566
For #5182: Loading experiments on startup is slow, remove Fretboard (#7510)
This removes Fretboard. The goal is to reduce cold startup costs associated with loading the experiments on the main thread. We currently have two experiments frameworks in use and should only require one.
2020-01-13 12:38:32 -06:00
mcarare e9053fec57 For #7583 Align text in language title and subtitle to viewStart 2020-01-10 15:36:31 -08:00
Josh Vocal 9f30a7e6eb Replace fixed dp with defined dp dimension 2020-01-08 20:17:22 -08:00
Josh Vocal 9449cb4437 Fix truncated tracking protection info text
* Allow tracking protection titles to wrap instead of being cut off
* Refactor view ids to match the layout
2020-01-08 20:17:22 -08:00
Mihai Adrian 95d4de416d For #5722 Set adjustViewBounds to true to maintain original icon aspect (#7518) 2020-01-08 14:03:48 -08:00
mcarare 3ff7d4af4d For #7313 Set actionBar background color according to mocks. 2020-01-08 12:12:30 -07:00
Emily Kager 7d613b72ae For #7181 - Adjust ETP onboarding for toolbar positions 2020-01-08 11:06:38 -07:00
mcarare 8aa04c048e For #6851 Update text copy of option to add custom search engine 2020-01-06 14:32:02 +02:00
Mihai Branescu ea2411a88b Feature/#220 language menu (#7070)
* For #220
- Added advanced header + locale settings item in the settings fragment

* For #220
- Added locale selection page with lib state + handling of locale changes

* For #220
- Removed registering for locale changes in the manifest, allow system
to restart activity in that scenario

* For #220
- Added unit tests for locale settings page

* For #220: fixed an outdated unit test
ga-a

Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
2020-01-03 18:15:35 -08:00
Sawyer Blatz 4fd3eb53d1 For #6666: Adds back button to search screen 2019-12-23 10:07:02 -08:00
Mihai Adrian 33ac75d166 For #3574 Allow all screen readers to read onboarding items one-by one (#7292) 2019-12-19 09:53:53 -05:00
Emily Kager 5ac79f59a3 For #7219 - Polish Download Notification Dialog. (#7224)
* For #7219 - Use accent color for downloads dialog positive button

* For #7219 - Fixes gap beneath download notification dialog

* switch to setimageresource
2019-12-18 12:26:41 -05:00
David Walsh b4e10965b7 Use localized strings in the quick settings panel (#7249) 2019-12-17 10:47:21 -08:00
David Walsh e727ae5d7e Fix 5366 - Use VectorDrawableCompat for all imagery (#7221)
* Fix 5366 - Use VectorDrawableCompat for all imagery

* Fix detekt lint issues

* Restore previous comment contents
2019-12-16 20:35:36 -08:00
Patrick Martin 71880705df For #5711 - Onboarding colours have contrast issues 2019-12-13 17:52:55 -08:00
ValentinTimisica c6c827f693 For #4776: Redesign and refactor the About Page
Added new items to be displayed.
2019-12-12 11:34:10 +02:00
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
Jeff Boek 4fb26a0601 For #4664 - Updates search_with string. (#6909) 2019-12-06 10:36:19 -08:00
kglazko 300d8317e1
Issue 5366 Vector Drawable Compat (#6904) 2019-12-05 19:54:32 -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
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 c5f18e0f96 For #6629 Align Private Browsing mode to UX specs 2019-11-27 11:13:20 -08:00
cesar 9127505cc9 For #6769 - EditText moved to be above the gradient view 2019-11-27 10:48:38 -08: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
David Walsh bc56ae194a Fix 6048 - Improve alignment in Edit Bookmark screen 2019-11-22 10:14:00 -08:00
Matt McKenna d1f70e908e Add a simple gradient to collection creation 2019-11-21 15:27:50 -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
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
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
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
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
Emily Kager d9615108ee For #6354 - Removes ETP Experiment, Removes Feature Flags, Sets Strict Default 2019-11-08 08:37:15 -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
ekager 18c0525ff6 Use new API for ETP Exceptions 2019-11-05 12:45:58 -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
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
Mihai Branescu 9d91108f4e For #6179 - Changed positioning of private mode icons in tab he… (#6189) 2019-10-25 08:09:38 -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
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
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
Sebastian Kaspari 9543f38978 Use new toolbar API of AC 18.0.0. 2019-10-24 08:57:30 -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
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
Sören Hentzschel 9995199caa fixed alignment of open tabs header for RTL languages (#6138) 2019-10-21 09:53:21 -07: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
mcarare b1dcc69e52 For #5709: Align ETP Settings Screen implementation with original mocks 2019-10-14 15:59:43 +03: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
Mihai Adrian 18a130b38e For #5798: Fix info icon pixelation (#5841) 2019-10-08 09:30:32 -04: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
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 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 2f0d8d8243 For #5712: Updates text color for fill link from clipboard 2019-10-01 16:29:39 -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
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
mcarare bfe8bf4663 For #1383 Added tab title to close button content description 2019-09-25 10:34:02 +03: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
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 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
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
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
Sawyer Blatz 93ba506722 No issue: Slightly changes margin on play/pause button 2019-09-12 13:37:49 -07:00