Commit graph

93 commits

Author SHA1 Message Date
sarah541
d57d64ae55 Bug 1870938 - Add display/edit toolbar separator and update url bar background 2024-03-11 19:37:37 +00:00
iorgamgabriel
dc871e8063 Bug 1875817 - Translations Integration Toolbar Showing 2024-02-26 12:38:04 +00:00
mike a
2cbd968ba9 Bug 1873260 - Move Behavior classes to ui-widget component 2024-01-31 21:46:09 +00:00
Harrison Oglesby
dcc827eaf2 Bug 1864760 - Added actions to Toolbar and MenuButton to hide and show the menu button 2024-01-29 23:44:43 +00:00
t-p-white
01f1578630 Bug 1874861 - Removed redundant LongParameterList suppression's 2024-01-18 18:37:49 +00:00
mike a
4880cb0c81 Bug 1869664 - Add more toolbar telemetry 2024-01-09 08:28:30 +00:00
mcarare
063c553913 Bug 1849833 - Replace deprecated compileSdkVersion.
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00
MatthewTighe
c87183c8b5 Bug 1843168 - Expose Mockito through test support component 2023-07-24 18:02:09 +00:00
Geoff Brown
6561b2de2b Bug 1825116 - Resolve many black, isort, and file-whitespace lint issues 2023-04-12 14:04:29 +00:00
Ryan VanderMeulen
0e5e70291c Bug 1820233 - Remove unneeded kotlin_stdlib inclusions and re-enable Werror in detekt build.gradle 2023-03-07 00:12:18 +00:00
mcarare
1f589a2e0b Bug 1802817 - Set namespace via DSL in gradle build files.
See https://developer.android.com/studio/build/configure-app-module#set-namespace
and https://issuetracker.google.com/issues/172361895
2023-03-02 17:13:09 +00:00
mcarare
922b5f6643 Bug 1802817 - Rename AC Dependencies to ComponentsDependencies.
This change is needed in order to avoid clashes with Dependencies class introduced
in Gradle from 7.6 version.
2023-03-02 17:13:09 +00:00
Mugurell
2d2404905d Bug 1800268 - Add support for refreshing autocomplete when providers change 2023-01-31 11:15:37 +00:00
Mugurell
29325133df Bug 1800268 - Refactor ToolbarAutocompleteFeature to allow easily changing providers
This class drives the autocomplete feature and previously only allowed for
adding a history or domains autocomplete provider.
With the new changes it will support adding and removing any autocomplete
provider individually or in bulk.
2023-01-31 11:15:37 +00:00
Alexandru2909
7fe7868531 Bug 1804260 - Add method to specify the cursor placement when switching to URL editing mode 2022-12-16 08:35:35 +00:00
Christian Sadilek
4091b14a33 Fix android lint in composite builds 2022-11-21 13:40:53 -05:00
mcarare
ef3c3593c1 [components] No issue: Update AndroidX Annotation to the latest version.
Update imports for annotations moved to Companion Object.
2022-10-25 19:19:29 +00:00
Gabriel Luong
d9d783b698 [components] Issue https://github.com/mozilla-mobile/android-components/issues/12939: Address all ktlint issues 2022-10-17 17:07:40 -04:00
Roger Yang
bd452c3d99 [components] Close https://github.com/mozilla-mobile/android-components/issues/12109: Support removing edit action end in edit toolbar 2022-05-05 18:17:09 +00:00
Roger Yang
a51595e683 [components] Close https://github.com/mozilla-mobile/android-components/issues/12008: Support auto hiding edit action end in browser toolbar 2022-04-22 14:57:19 +00:00
Gabriel Luong
7c3dc51b44 [components] Issue https://github.com/mozilla-mobile/android-components/issues/11890: Add a new action container in the EditToolbar 2022-03-24 20:27:23 +00:00
Ionut Cristian Bedregeanu
a3340a5764 [components] For https://github.com/mozilla-mobile/android-components/issues/11279 - Add a method to remove navigation actions from toolbar
Add a new method(removeNavigationAction) in Toolbar interface to be able to remove a navigation action
as we have at this moment for browser/page actions(removeBrowserAction, removePageAction)
2021-11-17 13:22:48 +00:00
Mugurell
e277dd03f0 [components] For https://github.com/mozilla-mobile/android-components/issues/10803 - Force expanding the toolbar if requested by GeckoView 2021-08-16 07:46:15 +00:00
Steven Knipe
ea9cb18430 [components] Add longClickListener documentation, fix style problems
move TwoStateButton background to match argument order
2021-08-02 12:24:51 +00:00
Steven Knipe
2339f9b1d8 [components] Add longClickListener to Toolbar's ActionButton and BrowserToolbar's Button 2021-08-02 12:24:51 +00:00
Arturo Mejia
e4d539f111 [components] Closes https://github.com/mozilla-mobile/android-components/issues/10448 show toolbar permissions indicator when permissions change from their default. 2021-07-27 17:25:23 +00:00
Sebastian Kaspari
4863bc3b15 [components] Issue https://github.com/mozilla-mobile/android-components/issues/10335: Use Java 11. 2021-07-15 14:57:23 +00:00
mcarare
055e0f160f [components] For https://github.com/mozilla-mobile/android-components/issues/10571: Add optional icon tint for Toolbar Button. 2021-07-12 07:44:59 +00:00
Christian Sadilek
c9d791c53b [components] Adjust detekt TooManyFunctions threshold 2021-03-18 15:25:40 +00:00
Mugurell
ec35e97135 [components] For https://github.com/mozilla-mobile/android-components/issues/9770 - Don't animate the dynamic toolbar while tab is loading
Toolbar will not be animated while the tab is loading irrespective of the
intrinsic checks made in the BrowserToolbarBehavior - whether the touch is a
vertical scroll and it was handled by GeckoView.
2021-03-01 17:00:22 +00:00
Roger Yang
dcd57ecc3c [components] Closes https://github.com/mozilla-mobile/android-components/issues/9528: Exposes BrowserMenu dismiss through BrowserToolbarMenu 2021-01-28 10:14:24 +00:00
Arturo Mejia
53add50756 [components] Closes https://github.com/mozilla-mobile/android-components/issues/9378: Add dot notification to the toolbar 2021-01-18 16:19:32 +00:00
Arturo Mejia
c89fa9273f [components] Closes https://github.com/mozilla-mobile/android-components/issues/9131: Add site permission indicators
in the toolbar.
2020-12-10 10:46:28 +00:00
Emilio Cobos Álvarez
41d375b7d9 [components] ktlint: Add missing newlines.
Running ./gradlew ktlint locally reports a lot of stuff like:

/home/emilio/src/moz/android-components/components/support/migration/src/test/java/mozilla/components/support/migration/MigrationIntentProcessorTest.kt:1:1: File must end with a newline (\n)

This fixes it with:

    for f in $(cat files | cut -d : -f 1); do echo "" >> $f; done

Making ./gradlew ktlint pass.
2020-12-03 17:24:44 +00: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
Christian Sadilek
3b1c7e2d1d [components] Closes https://github.com/mozilla-mobile/android-components/issues/1912: Call speculativeConnect from toolbar and awesomebar 2020-03-02 16:13:30 -05:00
Tiger Oakes
69badea76d [components] Update androidx.core to 1.2 2020-02-05 13:57:17 -08: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
Christian Sadilek
e5065b9271 [components] Closes https://github.com/mozilla-mobile/android-components/issues/5588: WebExtensionToolbarFeature may display stale actions 2020-01-16 13:12:24 -05:00
Sebastian Kaspari
95febb2731 [components] Issue https://github.com/mozilla-mobile/android-components/issues/1514: Refactor BrowserToolbar to use ConstraintLayout for display and edit toolbars. 2019-10-22 11:47:36 -04:00
Arturo Mejia
b64e1891d0 [components] Closes https://github.com/mozilla-mobile/android-components/issues/4469: Add API for supporting WebExtension browserActions 2019-10-11 17:01:52 +02: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
Maurya Talisetti
b786a535cc [components] Closes https://github.com/mozilla-mobile/android-components/issues/3033: Close toolbar menu on app exit
Currently, on exiting the app, the toolbar menu (if already open), remains open after reopening the app. This fix ensures that the menu gets closed on app exit.
2019-08-20 20:28:28 +05:30
Arturo Mejia
afcd7e659e [components] Closes https://github.com/mozilla-mobile/android-components/issues/3824: Adding the site tracking protection icon on the toolbar. 2019-08-06 20:31:10 -04:00
Denys M
1f8fc3fa5b [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Enable unit test binary resources globally.
Excluded few modules.
2019-06-13 09:29:52 +02:00
Denys M
976e2670b5 [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Use androidx runner in concept-toolbar. 2019-06-11 12:24:22 +02:00
Denys M
440c6ce145 [components] For https://github.com/mozilla-mobile/android-components/issues/2346. Enable kotlin warningsAsErrors for concept-toolbar module. 2019-05-22 08:10:12 -04:00
Sebastian Kaspari
5c54ec453d [components] Closes https://github.com/mozilla-mobile/android-components/issues/842: Migrate from support libraries to AndroidX. 2019-05-02 16:08:55 +02:00
Sawyer Blatz
a42211890e [components] Closes https://github.com/mozilla-mobile/android-components/issues/2615: Adds titleView to DisplayToolbar 2019-04-12 11:08:55 -04:00