Commit Graph

110 Commits

Author SHA1 Message Date
ValentinTimisica
f77db70001 [components] For https://github.com/mozilla-mobile/android-components/issues/6558: Adds tests for the menu with simple highlightable items 2020-05-04 12:17:30 +03:00
ValentinTimisica
b1c23e94c2 [components] For https://github.com/mozilla-mobile/android-components/issues/6558: Adds a menu with simple highlightable items 2020-05-04 12:17:20 +03:00
Jonathan Almeida
b86fa6dfb5 [components] Close https://github.com/mozilla-mobile/android-components/issues/6601: Update targetSdkVersion to 29 2020-04-28 03:16:54 -04:00
Simon Chae
b28f7f286e [components] Closes https://github.com/mozilla-mobile/android-components/issues/6228: Expose allowedInPrivateBrowsing control 2020-04-20 15:55:40 -04:00
mcarare
dc9d3756e0 [components] For https://github.com/mozilla-mobile/android-components/issues/6593: Update content description when item has dot notification 2020-04-09 17:11:34 +03:00
Mihai Branescu
6bdc149aeb [components] For https://github.com/mozilla-mobile/android-components/issues/6308 - Added unit tests for all BrowserMenuItem.getHighlight scenarios 2020-03-20 14:05:26 +02:00
Mihai Branescu
c3f0515cc5 [components] For https://github.com/mozilla-mobile/android-components/issues/6308 - Added canPropagate param so that other components may opt out
of displaying it (ex: three-dot menu can now hide the notification dot
for some items)
2020-03-20 14:05:26 +02:00
mcarare
5fd60fd902 [components] For https://github.com/mozilla-mobile/android-components/issues/6137: Set BrowserMenuCategory padding same as other items in menu 2020-03-02 13:11:19 +02:00
MozLando
252c56a7a8 [components] Merge https://github.com/mozilla-mobile/android-components/pull/6103
6103: For https://github.com/mozilla-mobile/android-components/issues/6102 - Use app:srcCompat instead of android:src r=gabrielluong a=ekager



Co-authored-by: ekager <ekager@mozilla.com>
2020-02-27 23:32:41 +00:00
ekager
572b102758 [components] For https://github.com/mozilla-mobile/android-components/issues/6102 - Use app:srcCompat instead of android:src 2020-02-27 10:44:39 -08:00
Gabriel Luong
5ca4ae1b85 [components] Closes https://github.com/mozilla-mobile/android-components/issues/6033: Emit Facts for Web Extension Browser Menu 2020-02-26 13:54:38 -05:00
MozLando
3123137d99 [components] Merge https://github.com/mozilla-mobile/android-components/pull/6071
6071: Closes https://github.com/mozilla-mobile/android-components/issues/6070: Mark badgeView invisible if it's null r=Amejia481 a=psymoon



Co-authored-by: Simon Chae <chaesmn@gmail.com>
2020-02-26 02:34:50 +00:00
MozLando
2d2baccee3 [components] Merge https://github.com/mozilla-mobile/android-components/pull/6074
6074: Closes https://github.com/mozilla-mobile/android-components/issues/6073: Adds animation to showPopupWhereBestFits menu r=Amejia481 a=sblatz



Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
2020-02-25 22:16:39 +00:00
Sawyer Blatz
ab062468fb [components] Closes https://github.com/mozilla-mobile/android-components/issues/6073: Adds animation to showPopupWhereBestFits menu 2020-02-25 13:51:42 -08:00
Simon Chae
7c4ab1b7ee [components] Closes https://github.com/mozilla-mobile/android-components/issues/6070: Mark badgeView invisible if it's null 2020-02-25 11:28:34 -05:00
MozLando
e432f6f333 [components] Merge https://github.com/mozilla-mobile/android-components/pull/6055
6055: For https://github.com/mozilla-mobile/fenix/issues/8706: Add padding to web-ext menu item badge text r=Amejia481 a=psymoon

https://github.com/mozilla-mobile/fenix/issues/8706

Co-authored-by: Simon Chae <chaesmn@gmail.com>
2020-02-25 00:58:16 +00:00
MozLando
5c6fea154b [components] Merge https://github.com/mozilla-mobile/android-components/pull/6051
6051: For https://github.com/mozilla-mobile/fenix/issues/8524 - Use SwitchCompat for BrowserMenuImageSwitch r=psymoon a=ekager



Co-authored-by: ekager <ekager@mozilla.com>
2020-02-24 23:55:19 +00:00
Simon Chae
9f0cb6db89 [components] For https://github.com/mozilla-mobile/fenix/issues/8706: Add padding to web-ext menu item badge text 2020-02-24 18:53:16 -05:00
ekager
823b00f884 [components] For https://github.com/mozilla-mobile/fenix/issues/8524 - Use SwitchCompat for BrowserMenuImageSwitch 2020-02-24 13:33:32 -08:00
Arturo Mejia
808b7aa150 [components] Remove double background from mozac_browser_menu_web_extension 2020-02-24 15:57:15 -05:00
Simon Chae
e024da5bee [components] Closes https://github.com/mozilla-mobile/android-components/issues/6004: Show web ext badge in browser menu item 2020-02-20 11:17:24 -05:00
Christian Sadilek
cc1bbaaa99 [components] Closes https://github.com/mozilla-mobile/android-components/issues/5708: Browser/Page actions don't have stable ordering 2020-01-24 11:01:47 -05:00
Simon Chae
cd41fe6124 [components] Set web extension menu label clickable to false 2020-01-23 19:37:00 -05:00
Simon Chae
d4d7831a78 [components] For https://github.com/mozilla-mobile/android-components/issues/5572: Refactor web extension popup initialization 2020-01-23 19:36:58 -05:00
Tiger Oakes
4452fe5af8 [components] For https://github.com/mozilla-mobile/android-components/issues/5373 - Add menu candidate class 2020-01-22 19:50:04 -08:00
MozLando
66b907c26e [components] Merge https://github.com/mozilla-mobile/android-components/pull/5679 https://github.com/mozilla-mobile/android-components/pull/5683 https://github.com/mozilla-mobile/android-components/pull/5688 (part 3)
5679: Closes https://github.com/mozilla-mobile/android-components/issues/5677: Catch all known non-fatal push errors r=grigoryk a=jonalmeida

Previously, we wanted to throw on all unknown push errors so that we
were notified on them. Since this seems to be more common than
originally expected, we should just catch them and in a future version,
we should log them without crashing.

All of these push errors can be considered recoverable except
for InternalPanic.




5683: Closes https://github.com/mozilla-mobile/android-components/issues/5682: Remove failedToLaunch property from AppLinksUseCases r=NotWoods a=rocketsroger



5688: Closes https://github.com/mozilla-mobile/android-components/issues/5684: Intermittent failures in WebExtensionBrowserMenuItemTest r=Amejia481,psymoon a=csadilek



Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
Co-authored-by: Roger Yang <royang@mozilla.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2020-01-23 02:15:20 +00:00
Christian Sadilek
905f4f2641 [components] Closes https://github.com/mozilla-mobile/android-components/issues/5684: Intermittent failures in WebExtensionBrowserMenuItemTest 2020-01-22 17:26:06 -05:00
Arturo Mejia
f035568ade [components] Closes https://github.com/mozilla-mobile/android-components/issues/4470 Wire up UI for page action support. 2020-01-22 11:44:19 -05:00
MozLando
daa11d1481 [components] Merge https://github.com/mozilla-mobile/android-components/pull/5651
5651: Issue https://github.com/mozilla-mobile/android-components/issues/4470: Wire up API for page action support r=Amejia481 a=csadilek

Part 1: Bring in the engine and store API and wire it up.

Part 2 will be to add the action to our UIs (toolbar and browser menu) which we'll do separately.

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2020-01-20 22:53:46 +00:00
Christian Sadilek
70570d5ac2 [components] Issue https://github.com/mozilla-mobile/android-components/issues/4470: Wire up API for page action support
- This is basically just a copy of our browser action API, with some
refactoring to make some types and methods generic
2020-01-20 17:41:21 -05:00
Tiger Oakes
ee5372f81b [components] For https://github.com/mozilla-mobile/fenix/issues/7506 - Expose MenuButton 2020-01-16 17:44:49 -08:00
Simon Chae
215f44237e [components] For https://github.com/mozilla-mobile/fenix/pull/7517: Update menu container style to use 16dp padding
Also allow mozac_browser_menu_web_extension to use "@style/Mozac.Browser.Menu.Item.Container"
2020-01-16 14:37:51 -05:00
Simon Chae
d057441342 [components] Closes https://github.com/mozilla-mobile/android-components/issues/5355: Add web extension action browser-menu support 2020-01-16 10:50:50 -05:00
Eitan Isaacson
2f6b9f0331 [components] Provide full menu item count to accessibility services.
We need to count buttons inside of toolbar items, and ignore dividers.

This fixes https://github.com/mozilla-mobile/fenix/issues/2143
2020-01-09 16:02:38 -08:00
salvatorep
95b7cfdf88 [components] Added tooltips to browser toolbar images when long pressed 2019-12-31 10:05:18 +00:00
Tiger Oakes
fe50c6d630 [components] Add BrowserMenuHighlightableSwitch 2019-12-20 19:12:01 -08:00
Tiger Oakes
0fb42f90e2 [components] Add low priority menu highlight 2019-11-26 14:49:07 -08:00
mcarare
bfe614ecf1 [components] For https://github.com/mozilla-mobile/android-components/issues/3837 & https://github.com/mozilla-mobile/android-components/issues/3276: Vertically align elements in HighlightableMenuItem 2019-11-01 15:26:56 +02:00
MozLando
42ec8887ff [components] Merge https://github.com/mozilla-mobile/android-components/pull/4806
4806: For https://github.com/mozilla-mobile/android-components/issues/4804 Fix RTL issues r=Amejia481 a=mcarare



Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
2019-10-22 18:34:12 +00:00
MozLando
4bd0e28e75 [components] Merge https://github.com/mozilla-mobile/android-components/pull/4748
4748: For https://github.com/mozilla-mobile/android-components/issues/4747 Added menu animations for RTL layout direction r=Amejia481 a=mcarare



Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
2019-10-22 18:06:01 +00:00
Sebastian Kaspari
11c1e9cbdf [components] Issue https://github.com/mozilla-mobile/android-components/issues/1514: Update unit tests. 2019-10-22 11:47:36 -04:00
mcarare
4872e38421 [components] For https://github.com/mozilla-mobile/android-components/issues/4804 Improve menu items to support RTL 2019-10-21 17:32:19 +03:00
mcarare
6c211d23e4 [components] For https://github.com/mozilla-mobile/android-components/issues/4747 Added menu animations for RTL layout direction 2019-10-16 18:13:50 +03:00
mcarare
ec89853ae2 [components] For https://github.com/mozilla-mobile/android-components/issues/4560 Added BrowserMenuCategory menu item 2019-10-16 11:03:18 +03:00
ssaqua
69ea3c04e7 [components] For https://github.com/mozilla-mobile/android-components/issues/4672: Fix background ripple of Switch in BrowserMenuImageSwitch 2019-10-11 17:02:21 +02:00
Tiger Oakes
43728082d4 [components] Fix double-focus in browser menu 2019-10-04 21:35:52 -07:00
Tiger Oakes
08dc3db810 [components] Uplift Theme.resolveAttribute from Fenix 2019-09-26 07:40:39 -07:00
Denys M
b95c932f81 [components] For https://github.com/mozilla-mobile/android-components/issues/4460. Fix detekt warning about license in project files. 2019-09-24 01:01:03 +04:00
Mihai Adrian
813d7cba13 [components] Update mozac_browser_menu_item_image_switch.xml 2019-09-18 19:45:55 +03:00
mihai-adrian
dca01ea0ea [components] For https://github.com/mozilla-mobile/android-components/issues/3715 Support adding icon to a BrowserMenuSwitch
Added BrowserMenuImageSwitch, a BrowserMenuSwitch with added icon.
No paddingEnd for switch cause it would leave to much empty space.
Added changelog entry
2019-09-16 10:34:57 +03:00