ekager
ae22a6efda
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7961 - Hide keyboard on menu button clicks
2020-08-03 16:13:35 -04:00
Mozilla L10n Automation Bot
d4277f291c
[components] Import l10n.
2020-08-02 00:08:29 +00:00
Tiger Oakes
4aa626125c
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7840 : Menu is only long clickable if listener is set
2020-07-30 15:51:45 -07:00
Mozilla L10n Automation Bot
9b56156ef4
[components] Import l10n.
2020-07-29 00:06:03 +00:00
Mozilla L10n Automation Bot
072f295c1a
[components] Import l10n.
2020-07-28 00:24:01 +00:00
Mozilla L10n Automation Bot
3a2564dca8
[components] Import l10n.
2020-07-27 00:10:28 +00:00
Tiger Oakes
e83cf8b1d2
[components] Create new menu2 component
...
browser-menu v2: A new browser menu designed to work with lib-state.
This introduces a new API using immutable data classes to represent
options. Stateful functionality like the two-state button is replaced
with swapping out data classes and submitting a new list of options.
Internally this uses a recycler view and the view holders intentionally
do not map 1:1 to data classes. This way we can use different views
based on properties instead of introducing all new classes for every
combination of properties.
2020-07-24 09:31:23 -07:00
Mozilla L10n Automation Bot
9934e0a9b2
[components] Import l10n.
2020-07-23 00:14:08 +00:00
Kainalu Hagiwara
26274f933f
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7644 : Add long click listener to BrowserMenuItemToolbar items.
2020-07-10 12:47:52 -07:00
Simon Chae
454f30737d
[components] For https://github.com/mozilla-mobile/fenix/issues/11679 : submenu items order depends on appendExtensionSubMenuAtStart
2020-06-25 10:54:27 -04:00
MozLando
220765f7fa
[components] Merge https://github.com/mozilla-mobile/android-components/pull/7467
...
7467: Add NestedMenuCandidate concept item r=psymoon a=NotWoods
Broken out from the main menu2 PR. Adds a new concept menu type and corresponding view holder.
Co-authored-by: Tiger Oakes <toakes@mozilla.com >
2020-06-23 21:51:23 +00:00
Tiger Oakes
fffa85812d
[components] Add NestedMenuCandidate concept item
2020-06-23 14:35:01 -07:00
Tiger Oakes
bf2b8ac041
[components] Add asEffect helper to browser menu highlight
2020-06-23 09:51:22 -07:00
MozLando
22d5df2f1d
[components] Merge https://github.com/mozilla-mobile/android-components/pull/7355
...
7355: Fixes https://github.com/mozilla-mobile/android-components/issues/7354 : Changes the add-ons icon from toolbar menu r=Amejia481 a=ValentinTimisica
Co-authored-by: ValentinTimisica <valentin.timisica@softvision.ro >
2020-06-22 08:13:53 +00:00
Mugurell
b78ae6372a
[components] For https://github.com/mozilla-mobile/android-components/issues/7392 - Material design sanity checks for BrowserMenu min/max width
...
DynamicWidthRecyclerView will still be able to have a dynamic width between xml
set minWidth and maxWidth attributes but we'll now enforce the following:
- minimum width 112 dp
- maximum width - screen width minus a 48dp tappable “exit area”
2020-06-15 17:54:05 +03:00
ValentinTimisica
c949e6397a
[components] Fixes https://github.com/mozilla-mobile/android-components/issues/7354 : Changes the add-ons icon from toolbar menu
2020-06-12 12:16:56 +03:00
Simon Chae
c1301adcf3
[components] Set overflow item only visible for ParentBrowserMenuItem
2020-05-29 10:38:37 -04:00
MozLando
844104e5bc
[components] Merge https://github.com/mozilla-mobile/android-components/pull/7111
...
7111: For https://github.com/mozilla-mobile/android-components/issues/7110 : Dismiss menu popup window when anchor is detached from window. r=Amejia481,psymoon a=mcarare
Co-authored-by: mcarare <mihai.carare.dev@gmail.com >
2020-05-29 05:37:18 +00:00
Simon Chae
13f0da91a6
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7158 : Add right chevron arrow in ParentBrowserMenuItem
2020-05-28 11:04:39 -04:00
mcarare
4c3485d644
[components] For https://github.com/mozilla-mobile/android-components/issues/7110 : Add attached state listener for menu anchor.
...
Dismiss popup window when anchor is detached from window.
2020-05-28 08:26:48 +03:00
mcarare
448e7d09d7
[components] For https://github.com/mozilla-mobile/android-components/issues/7107 : Set buttons height to match parent in browser item toolbar.
2020-05-26 13:42:16 +03:00
Simon Chae
93a613ff5f
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7062 : Add nested menu UI for web extensions actions
2020-05-25 16:47:06 -04:00
Tiger Oakes
223af0811e
[components] For https://github.com/mozilla-mobile/android-components/issues/6261 - Move browser.menu2 to concept-menu2
...
Move the current dumb data classes into a concept component
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com >
2020-05-12 10:29:09 -07:00
Mugurell
e9fe72b5c5
[components] For https://github.com/mozilla-mobile/android-components/issues/6499 - Add min/max width support for BrowserMenu
...
BrowserMenu will now use a RecyclerView with dynamic width, automatically set
between
- `mozac_browser_menu_width_min`
- `mozac_browser_menu_width_max`
allowing for a better fit for all menu items.
By default `mozac_browser_menu_width_min` and `mozac_browser_menu_width_max`
have the same value ensuring the same previous behavior for all clients -
fixed width, the value of mozac_browser_menu_width.
`mozac_browser_menu_width_min` and `mozac_browser_menu_width_max` must have
different values for BrowserMenu to have dynamic width.
2020-05-07 10:43:20 +03:00
MozLando
dc21f352d2
[components] Merge https://github.com/mozilla-mobile/android-components/pull/6863 https://github.com/mozilla-mobile/android-components/pull/6869 https://github.com/mozilla-mobile/android-components/pull/6874 (part 1)
...
6863: For https://github.com/mozilla-mobile/android-components/issues/6825 : Implement a custom tooltip for SDK 26. r=Amejia481 a=mcarare
6869: Closes https://github.com/mozilla-mobile/android-components/issues/6832 : Ignore initial loads of about:blank for extension pages r=pocmo a=csadilek
We already have a workaround to ignore initial loads of about:blank. When switching to an extension page, there's a process switch involved, which triggers the same problem. This is pretty annoying, as we always see about:blank loads before loading the actual extension page e.g. the uBlock dashboard, or a reader view page.
GV can't fix this and advised to ignore all about:blank loads (https://bugzilla.mozilla.org/show_bug.cgi?id=1634428 ), which also doesn't seem right to me. So, here I am only ignoring the initial loads of about:blank when switching between regular and extension pages (after a process switch).
Not pretty, but does the trick and it's in line with our existing workaround at least. @pocmo can you take a look at this one?
6874: Docs update (20200505-120948) [ci skip] r=pocmo a=MickeyMoz
Co-authored-by: mcarare <mihai.carare.dev@gmail.com >
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com >
Co-authored-by: MickeyMoz <sebastian@mozilla.com >
2020-05-05 12:29:43 +00:00
mcarare
e10c7414c1
[components] For https://github.com/mozilla-mobile/android-components/issues/6825 : Implement a custom tooltip for SDK 26.
2020-05-05 09:32:38 +03:00
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