Commit Graph

1831 Commits

Author SHA1 Message Date
Mugurell
172977f698
For #14980 - Effectively disable tabs tray STATE_HALF_EXPANDED (#16052)
STATE_HALF_EXPANDED cannot be disabled while also keeping fitToContents = true
based on which the tabs tray layout is currently set.
To work around this we'll set a a minuscule height for the tab tray when in
this state and then immediately advance to STATE_HIDDEN so to make it
imperceptible to the users.
Since I couldn't write unit tests because of InflateExceptions in Robolectric
I've written UI tests to protect against regressions.
2020-11-04 11:22:46 +02:00
Mozilla L10n Automation Bot
e61e5b80dd Import l10n. 2020-11-02 19:44:47 -08:00
Gabriel Luong
2bd2a5651d
For #14636 - Update preference section headers to use correct color, spacing and rulers (#16332) 2020-11-02 19:56:41 -05:00
Mozilla L10n Automation Bot
bf69519dc9 Import l10n. 2020-11-02 00:12:21 -05:00
Mugurell
a6092c34cc For #15963 - Increase touch target for the close button in the tabs tray grid layout
We need to ensure it has at least 48dp while also not appearing too big.
2020-10-30 18:13:50 -04:00
Mugurell
83bd80c873 For #15757 - Avoid the double spacing issues for grid items in tabs tray
Items should have a 16dp all around padding.
Have them have a 8dp padding that will add to 16 when placed together.
Have the parent have another 8dp that will add to 16 for when items are placed
to the edge of the available screen.
2020-10-30 18:13:50 -04:00
Mugurell
0324baef03 For #15968 - Show a border for the selected tab in the grid based tabs tray
The border for the grid item will now be updated in the same method that
updates the background for the list item.
2020-10-30 18:13:50 -04:00
Mugurell
482739ba8c For #15756 - Add a play/pause button in the tabs tray grid layout
Moved the previous layout in a new, bigger FrameLayout that would serve as a
buffer space for the play/pause button to be translated to the exterior.
Otherwise the button would be clipped.
2020-10-30 18:13:50 -04:00
Gabriel Luong
66210469c0
For #9548 - Ability to rename top sites (#16285)
* Ability to rename top sites, closes #9548

* Highlight the "Remove" top site action as destructive

With more menu items in the top site contextual menu, it makes sense to differentiate

* Added test for the top site renaming action

* Fixed lint check (wildcard imports, blank spaces)

* Applied suggestions from code review

* Apply suggestions from code review

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>

* Implemented dialog click listener with manual dismiss/cancel

Co-authored-by: Lorenzo Stanco <lorenzo.stanco@gmail.com>
2020-10-30 15:08:04 -04:00
mozilla-l10n-automation-bot
d1ec6cac86
Import l10n. (#16274) 2020-10-29 21:40:40 -04:00
ekager
4246293a93 For #16161 - Fixes Saved Login toolbar layout 2020-10-29 16:10:06 -07:00
mozilla-l10n-automation-bot
e21c81a0dd
Import l10n. (#16240) 2020-10-29 10:42:14 -04:00
Mihai Adrian Carare
0ee7e1c28d
For # 15929: Remove the search widget discoverability experiment. (#16081)
* For #15929: Remove SearchWidgetCFR telemetry.

* For #15929: Remove SearchWidgetCFR and search widget experiment.

* For #15929: Remove unit tests references to search widget experiment.
2020-10-28 13:46:02 -07:00
Mozilla L10n Automation Bot
5739140ff3 Import l10n. 2020-10-28 10:54:41 +01:00
mozilla-l10n-automation-bot
b8d6dbd426
Import l10n. (#16198) 2020-10-26 20:28:45 -04:00
Lorenzo Stanco
90220678cf
For #16122 - Add a dark theme color for the top sites pin icon (#16180) 2020-10-26 18:50:41 -04:00
mozilla-l10n-automation-bot
7d59a58134
Import l10n. (#16163) 2020-10-26 12:07:02 -04:00
mozilla-l10n-automation-bot
6353e9979e
Import l10n. (#16154) 2020-10-23 22:18:34 -04:00
ekager
e15f50712a For #6313 - Set session ClearColor through Engine DefaultSettings 2020-10-22 20:36:04 -07:00
mozilla-l10n-automation-bot
4acf3c601d
Import l10n. (#16138) 2020-10-22 23:12:05 -04:00
Jocelyne Abi Haidar
f514f6099a
For #15508: Show error when trying to save empty or invalid bookmark URL (#15674) 2020-10-22 17:22:37 -04:00
mozilla-l10n-automation-bot
c40b93715f
Import l10n. (#16108) 2020-10-21 21:01:50 -04:00
ekager
6b8f2001df
For #16084 - Match elevation of Tab in Collection to header (#16100) 2020-10-21 15:47:25 -04:00
ekager
d5cb9c599c
For #15910 - Adds back automatic toggle, disables slider when enabled (#16070) 2020-10-21 12:20:04 -04:00
mcarare
1a10215caf For #14619: Show half a tab top offset when scrolling to selected tab. 2020-10-21 13:31:59 +03:00
mozilla-l10n-automation-bot
20df97ad57
Import l10n. (#16074) 2020-10-20 20:41:54 -04:00
Elise Richards
7e3c26914c
For #15080: Handle default search engine when editing or removing (#15768) 2020-10-20 16:00:00 -07:00
Mozilla L10n Automation Bot
ae74edecdb Import l10n. 2020-10-19 17:37:17 -07:00
Sebastian Kaspari
2da24cd91d
Update Android Components, Kotlin, Gradle plugin (#16021)
* Closes #13262: Update AGP to 4

* Update to Mozilla Android Components 63.0.20201019090011.

* Update Kotlin to 1.4.10 and Coroutines to 1.3.9.

* Fix new compiler warnings.

* Fix compilation of lint rules module.

* Pin JNA version.

* Fix new lint errors.

Co-authored-by: Tiger Oakes <toakes@mozilla.com>
2020-10-19 14:07:47 -04:00
mozilla-l10n-automation-bot
46ff7a182a
Import l10n. (#16014) 2020-10-18 23:26:52 -04:00
mozilla-l10n-automation-bot
c941bd99b0
Import l10n. (#16001) 2020-10-17 21:54:08 -04:00
mozilla-l10n-automation-bot
1d91f1f087
Import l10n. (#15986) 2020-10-17 09:41:31 -04:00
Gabriel Luong
87ec7a77ae
For #15937 - Remove topFrecentSite feature flag (#15967)
* For #15937 - Remove the topFrecentSite feature flag

* For #15937 - Hide the "Pull to refresh" preference since its visibility is managed by a feature flag
2020-10-16 18:37:27 -07:00
ekager
d208ffe002
For #7345 - Update new shield icons, remove lottie (#15909) 2020-10-16 16:01:38 -07:00
amkcpu
7ba5e130ba For #10683: Show longer tab titles
Also update tab tray item layout according to specs posted in the issue.
2020-10-16 15:50:29 +03:00
mozilla-l10n-automation-bot
a2a4284a1a
Import l10n. (#15945) 2020-10-15 17:29:04 -07:00
Gabriel Luong
b79df0ba8f For #14922: Use padding instead of margin to use the full screen width for the "Add search engine" button 2020-10-15 16:09:13 -04:00
mcarare
9f14007a98 For #14922: Adjust margins for add search engine preference. 2020-10-15 16:09:13 -04:00
mcarare
ba0c005ae9 For #14922: Add divider above address bar preferences. 2020-10-15 16:09:13 -04:00
mcarare
7510b1609f For #15898: Add dividers above subheadings in tabs screen. 2020-10-15 13:13:52 -04:00
mcarare
e50cb21fd0 For #15898: Add dividers above subheadings in customise screen. 2020-10-15 13:13:52 -04:00
ekager
4d348dd26a Fixes existing lint errors 2020-10-15 09:53:13 -07:00
Mozilla L10n Automation Bot
ce99cc9ccf Import l10n. 2020-10-14 17:49:27 -07:00
Michael Comella
c6b83b10e0 For #15280: suppress new lint rule in migration code. 2020-10-14 15:20:28 -07:00
ekager
cbe293d3e4 For #12062 - Launch back to browser if we previoulsy had tabs 2020-10-14 15:05:20 -07:00
Mozilla L10n Automation Bot
399c9c57fb Import l10n. 2020-10-13 20:54:10 -04:00
Mozilla L10n Automation Bot
2751da0372 Import l10n. 2020-10-12 17:50:57 -07:00
Gabriel Luong
ee5f678442 For #15777 - [Grid View] Set the height of the title to 30dp 2020-10-12 10:38:54 -07:00
Gabriel Luong
463f83a79a For #15758 ⁃ [Grid View] Add a divider between the tab item's title and thumbnail 2020-10-12 10:38:54 -07:00
Mozilla L10n Automation Bot
83b5bae65e Import l10n. 2020-10-11 22:55:02 -04:00
Mozilla L10n Automation Bot
25c9706cfd Import l10n. 2020-10-11 10:04:34 -04:00
Mozilla L10n Automation Bot
d5bef99834 Import l10n. 2020-10-09 20:42:16 -04:00
mcarare
6516eff5c8 For #13831: Adjust buttons dimensions to improve a11y.
Margins were also adjusted to maintain relative placements.
2020-10-09 15:39:31 -07:00
mcarare
e89b9756ee For #13831: Add ripple for the copy password button. 2020-10-09 15:39:31 -07:00
ekager
881e3d6ccd For #14923 - Removes auto size preference toggle 2020-10-09 15:04:57 -07:00
Mozilla L10n Automation Bot
0fbb28296e Import l10n. 2020-10-08 21:20:56 -04:00
Arturo Mejia
de521192e0 Add support for local storage permission 2020-10-08 19:37:56 -04:00
Gabriel Luong
2dd019c05f For #15115 - Part 8: Add a feature flag for showing the grid view in the tabs setting 2020-10-08 12:50:43 -04:00
Gabriel Luong
6c77cdab41 For #15115 - Part 3: Implement a grid view layout for the tabs
Co-authored-by: Abhijit Valluri avalluri2@bloomberg.net
2020-10-08 12:50:43 -04:00
Gabriel Luong
2117dfb524 For #15115 - Part 2: Remove unused xmlns:mozac in component_tabstray.xml 2020-10-08 12:50:43 -04:00
Gabriel Luong
ed3986662f For #15115 - Part 1: Convert the CloseTabsSettingsFragment to a general TabsSettingsFragment
- Renames CloseTabsSettingsFragment.kt to TabsSettingsFragment.kt
- Renames close_tabs_preferences.xml to tabs_preferences.xml
- Adds preference options for the switching between the Grid and List tab views
2020-10-08 12:50:43 -04:00
Mozilla L10n Automation Bot
a72b5b0dd6 Import l10n. 2020-10-07 21:56:24 -07:00
mozilla-l10n-automation-bot
0ac7feacb4
Import l10n. (#15738) 2020-10-06 18:19:11 -07:00
mozilla-l10n-automation-bot
5fed37cf45
Import l10n. (#15712) 2020-10-05 18:08:06 -07:00
Mozilla L10n Automation Bot
ad2b99f9f9 Import l10n. 2020-10-05 12:19:48 +02:00
Mozilla L10n Automation Bot
ee4a5283a4 Import l10n. 2020-10-01 17:46:57 -07:00
Jocelyne
0154c81f81
For #10107: Show Today and Yesterday labels in History (#15415) 2020-10-01 16:42:50 -07:00
Mozilla L10n Automation Bot
97adee3bd9 Import l10n. 2020-10-01 20:13:40 +02:00
mcarare
67310061a3 For #15559: Allow tabs to stretch in landscape mode for tablets.
This overrides the default tabMaxWidth of 264dp to allow for tabGravity="fill".
2020-09-30 14:46:22 -07:00
Sören Hentzschel
01fdb4ac3f For #11561 - changed inactive heading and menu icon color in dark mode 2020-09-28 20:24:12 -07:00
Mozilla L10n Automation Bot
863b135723 Import l10n. 2020-09-28 20:18:50 -07:00
Christian Sadilek
d4ab728cff For #14034: Add debug preference to override AMO collection in Nightly 2020-09-28 17:25:52 -04:00
Mozilla L10n Automation Bot
d287e6e9e0 Import l10n. 2020-09-28 17:16:11 +02:00
ekager
7d5c199e51 For #12383 #15407 #12860 - Switch to using shared view model for session to delete on home 2020-09-25 16:54:54 -07:00
Mozilla L10n Automation Bot
f32d2011df Import l10n. 2020-09-24 18:03:47 -07:00
Elise Richards
1adf467248
For #14280, #14743: Remove old search fragment (#15169)
* Remove search fragment

* Use new folder to search dialog

* Rebase and lint

* Update tests with search dialog nav directions

* Rename interactor to match naming convention. Remove old controller and point everything to the dialog controller.
2020-09-24 15:46:42 -05:00
Mozilla L10n Automation Bot
4fad099b23 Import l10n. 2020-09-23 21:16:24 -07:00
Sawyer Blatz
0fa2509bef
For #14243: Pre-land visuals for Close Tabs CFR (#15171) 2020-09-23 14:57:52 -07:00
Jocelyne
d45e482373
For #11800: Hide reveal and clear password icons if the password is empty when editing a saved login (#15244)
Co-authored-by: Jocelyne Abi Haidar <jocelyne.abihaidar@gotocme.com>
2020-09-23 12:10:49 -07:00
mcarare
c1bf66618e #274-android-l10n: Update create account string to avoid partial translations. 2020-09-23 08:49:23 -07:00
person808
baccb153b7 For #15219 - Fix tab tray handle size.
Also use dimens for the tab history handle.
2020-09-22 15:24:22 -07:00
aprabhakara
657ce60f8d For #15262: Updated margins 2020-09-22 14:57:53 -07:00
ekager
24983af94e For #15291 - Limit current CFRs to show max one every 3 days 2020-09-22 10:43:14 -07:00
ekager
b5f1e772bd For #15112 - Still show recently closed when history empty 2020-09-21 18:35:08 -07:00
Mozilla L10n Automation Bot
c326be9fd3 Import l10n. 2020-09-21 18:17:38 -07:00
ekager
9a2103a9a7 For #13934 - Make TabHistory work on PWA/Custom Tabs 2020-09-21 16:07:56 -07:00
Mozilla L10n Automation Bot
7cad83f64b Import l10n. 2020-09-20 20:19:09 -07:00
Mozilla L10n Automation Bot
1f6a22a340 Import l10n. 2020-09-19 21:33:21 -07:00
Grisha Kruglov
958474f9fb For #13157: Filter out folder being edited from 'select folder' dialog 2020-09-18 20:13:45 -07:00
Grisha Kruglov
fe288edb5d Rename 'visitedAddBookmark' arg to a less confusing name 2020-09-18 20:13:45 -07:00
Grisha Kruglov
24de85f805 Remove unused nav arg from 'select folder' 2020-09-18 20:13:45 -07:00
Mozilla L10n Automation Bot
af03b88f1e Import l10n. 2020-09-18 19:01:38 -07:00
Tiger Oakes
b563576335
Closes #14131: Move constants to dimens.xml (#14135)
Co-authored-by: Elise Richards <erichards@mozilla.com>
2020-09-18 16:13:57 -07:00
Tom Klein
dc9bc534db For #13300 - Adjust the 'Sharing a Collection' layout to prevent overlapping of the close icon and 'Share' label in RTL
Note that the "Share" title is still constrained to start at the end of the
close button - I don't know why the previous extra constraint was causing the
differing behavior in LTR and RTL, but this seems to fix it.
2020-09-18 14:04:03 -07:00
Elise Richards
a4ff782565
For #13812: add ETP category for redirect trackers (#15139)
* Feature flag for ETP cookie purging

* Strings for new ETP description

* Remove icons from ETP info screeen and add category for redirect trackers

* ETP policy factory tests

* Remove icons from ETP panel and add cross tracking allowed field.

* Remove icons on ETP panel. Add blocked category for redirect trackers to panel.

* Add margins to tracking protection settings
2020-09-18 14:03:51 -05:00
mcarare
5b33044999 For #12829: Add create account option on the the sign in screen. 2020-09-18 09:04:54 -07:00
Mozilla L10n Automation Bot
80a573a62c Import l10n. 2020-09-18 10:26:22 +03:00
mcarare
f793c3a5f9 For #14727: Add content description to resync tabs button. 2020-09-17 16:44:36 -07:00
Tiger Oakes
3059a57747 Change separator to use its own view holder 2020-09-17 15:59:42 -07:00
Elise Richards
9afe9679d8
For #15079: handle QR permissions when changed in Android settings (#15097)
* Define intent data for activity

* Search dialog shows permissions for allow and deny camera

* Check camera permissions for fxa pairing

* Check camera permissions for old search

* Tests for pairing sync interactor and controller.

* Cleanup

* Use bool pref for setting. Use interfaces and default implementations for the sync interactor and controller.

* Lint
2020-09-17 16:41:28 -05:00