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
7fe1b10694
[components] Update the sample tablet interface's Reload button
...
to use the new TwoStateButton and have the same
functionality as the phone's reload button
2021-08-02 12:24:51 +00:00
Sebastian Kaspari
ce323400dd
[components] Run ktlintFormat to fix new ktlint errors.
2021-07-28 12:03:23 +00:00
Sebastian Kaspari
f14b267388
[components] Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Update dependencies to support Jetpack Compose and add first prototype components.
...
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Upgrade to Gradle 7.
* Update Android Gradle Plugin to 7.0.0 Beta 2.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Generate BuildConfig with VERSION_CODE and VERSION_NAME fields in library modules (for Glean).
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Add first component using Jetpack Compose: compose-browser-toolbar.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Introduce Jetpack Compose bindings for lib-state.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Upstream Jetpack Compose toolbar prototype from Reference Browser.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Add TargetTab helper for observing specific tabs.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Add compose-engine component for adding Jetpack Compose bindings to a concept-engine implementation.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Add new sample app (samples-compose-browser) for prototyping browser UI using Jetpack Compose.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Update to Beta 3 of the Android Gradle plugin.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Allow usage of http when substituting maven repositories in CI.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Rename TabTarget helper to just Target.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Make BrowserToolbar follow target tab too.
* Add awesomebar prototype using Jetpack Compose.
* Update to Gradle 7.0.2.
2021-07-20 16:22:26 +00:00
Sebastian Kaspari
28a76101be
[components] Update Kotlin to 1.5.10 (and Coroutines to 1.5.0 and Room to 2.3.0).
2021-07-19 09:32:44 +00:00
mcarare
636adaf2a9
[components] For https://github.com/mozilla-mobile/android-components/issues/10404 : Remove deprecated kotlin-android-extensions plugin
...
(cherry picked from commit d99621583ceb11e7d91ebe284e40aec145793e48)
2021-06-15 08:32:26 +00:00
Christian Sadilek
4dfb6d92c1
[components] Revert "For https://github.com/mozilla-mobile/android-components/issues/10404 : Remove deprecated kotlin-android-extensions plugin"
...
This reverts commit d99621583ceb11e7d91ebe284e40aec145793e48.
2021-06-14 18:09:24 +00:00
mcarare
17c2336fde
[components] For https://github.com/mozilla-mobile/android-components/issues/10404 : Remove deprecated kotlin-android-extensions plugin
2021-06-14 10:05:57 +00:00
Christian Sadilek
c9d791c53b
[components] Adjust detekt TooManyFunctions threshold
2021-03-18 15:25:40 +00:00
Sebastian Kaspari
b067fd7e21
[components] Fix new lint errors after AndroidX update.
2020-12-02 12:17:31 +00:00
Tiger Oakes
a2dda76fac
[components] Add nested menu functionality
2020-07-24 09:32:40 -07: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
Kate Glazko
ff29354b85
[components] For https://github.com/mozilla-mobile/android-components/issues/6324 Allow customization of display url in toolbar
2020-03-19 15:18:40 -07: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
ekager
511ba588ee
[components] For https://github.com/mozilla-mobile/android-components/issues/6102 : Add lint checks for using app namespace instead of android for drawables
2020-03-02 09:16:14 -08:00
Sebastian Kaspari
1fa9f950a0
[components] Issue https://github.com/mozilla-mobile/android-components/issues/1514 : samples-toolbar: Remove unused resources.
2019-10-22 11:48:06 -04:00
Sebastian Kaspari
38a16d3211
[components] Issue https://github.com/mozilla-mobile/android-components/issues/1514 : BrowserToolbar: Fix long click handler.
2019-10-22 11:48:06 -04: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
Sebastian Kaspari
db088f641f
[components] Issue https://github.com/mozilla-mobile/android-components/issues/1514 : Update samples-toolbar to use new toolbar API and add Fenix toolbar samples.
2019-10-22 11:47:36 -04: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
Tiger Oakes
5eb00aea8e
[components] Issue https://github.com/mozilla-mobile/android-components/issues/3647 - Bring back siteSecurityColor
2019-08-12 12:31:34 -04:00
Tiger Oakes
0099bac510
[components] Turn on MagicNumber ignoreEnums rule
2019-07-15 11:41:43 -04:00
Tiger Oakes
e5b6e27420
[components] Fixes https://github.com/mozilla-mobile/android-components/issues/2605 - Replace pxToDp with dpToPx
2019-06-25 06:05:10 -07:00
Denys M
5c542c6adb
[components] Fixes https://github.com/mozilla-mobile/android-components/issues/2784 . Update android gradle plugin to 3.4.1.
2019-06-24 08:40:00 -07:00
Denys M
73ff84f06d
[components] For https://github.com/mozilla-mobile/android-components/issues/2346 . Enable kotlin warningsAsErrors for samples-toolbar module.
2019-05-28 09:27:40 -04:00
Tiger Oakes
2efff816d1
[components] Issue https://github.com/mozilla-mobile/android-components/issues/170 : Change to invalidate pattern
...
Updates samples to show usage of the toolbar.invalidateActions() pattern
2019-05-21 14:55:33 -04:00
Tiger Oakes
f980fdf3c1
[components] Closes https://github.com/mozilla-mobile/android-components/issues/169 , https://github.com/mozilla-mobile/android-components/issues/170 : Dynamically update items
...
Adds the ability to dynamically update BrowserMenuItemToolbar buttons
by updating an observer. Additionally makes the single state buttons'
disabled state controlled through a lambda, similar to the
TwoStateButton.
2019-05-21 14:55:33 -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
ekager
9cfc0c7732
[components] Close https://github.com/mozilla-mobile/android-components/issues/2201 - Adds TwoStateButton in BrowserMenuItemToolbar
2019-03-12 19:01:17 +01:00
Sawyer Blatz
d1a5af71d1
[components] Closes https://github.com/mozilla-mobile/android-components/issues/2316 : Adding textSize parameter to SimpleBrowserMenuItem.
2019-03-11 14:35:01 -07:00
Emily Kager
eac37b6338
[components] Closes https://github.com/mozilla-mobile/android-components/issues/2235 - Removes redundant BrowserMenuImageText contentDescription
2019-03-06 10:51:54 +01:00
Sebastian Kaspari
67a1814a26
[components] Closes https://github.com/mozilla-mobile/android-components/issues/2077 : Toolbar: Allow returning Boolean from "URL commit listener" to control switching to display mode.
2019-02-15 21:02:06 +01:00
Sebastian Kaspari
34ef5e14d4
[components] Issue https://github.com/mozilla-mobile/android-components/issues/2068 : Toolbar sample app: Add configuration using private mode.
2019-02-15 08:33:12 -05:00
Arturo Mejia
d9b55396d7
[components] Adding sample code for menu customization to Sample Toolbar app.
2019-01-18 11:35:16 -05:00
Mitchell Hentges
3ee4d96a84
[components] Reads componentsVersion from .buildconfig.yml
2019-01-11 10:08:32 +01:00
Sebastian Kaspari
4c18208bcd
[components] Closes https://github.com/mozilla-mobile/android-components/issues/1485 : browser-domains: Move new classes to "autocomplete" sub package.
2018-11-27 20:37:12 -05:00
Grisha Kruglov
dfe0ef5035
[components] Convert sample browser and toolbar sample to use toolbar autocomplete feature
2018-11-26 18:51:31 +01:00
ali-abdullah
81a46ea5a0
[components] introduced detekt checks in samples module
2018-11-16 13:59:54 +01:00
ali-abdullah
89f3263d12
[components] included buildSrc in ktlint and detekt checks
2018-11-16 12:40:04 +01:00
Christian Sadilek
e34c22f81b
[components] Closes https://github.com/mozilla-mobile/android-components/issues/1305 : Upgrade to Kotlin 1.3.0 and Coroutines 1.0.1
2018-11-09 09:26:47 +01:00
Grisha Kruglov
782980355f
[components] Stop using deprecated versions of async, launch, etc
...
This switching to using explicit CoroutineScopes and Dispatchers,
trying to inherit context when appropriate.
2018-11-07 13:04:17 -08:00
Jonathan Almeida
61b9c2a1ef
[components] Closes https://github.com/mozilla-mobile/android-components/issues/1127 : Expose ReloadPageButton through BrowserToolbar
...
This code already exists in our sample app, and was moved to make it
available to apps as well.
Renamed ReloadPageAction -> TwoStateButton.
Updates changelog doc with this and the parent issue.
2018-11-06 09:35:08 +01:00
Jonathan Almeida
dec05464d5
[components] Closes https://github.com/mozilla-mobile/android-components/issues/755 : Allow toolbar actions to provide drawables
2018-11-05 15:44:19 -05:00
Sebastian Kaspari
9ae076dfeb
[components] Update Kotlin to 1.2.71 and Coroutines to 0.30.2.
2018-10-24 15:58:06 +02:00
Arturo Mejia
8bd321b16e
[components] Closes https://github.com/mozilla-mobile/android-components/issues/980 : Add pressed state for unselected toggle buttons
2018-10-22 22:46:48 -04:00
ali-abdullah
1bf16a4dd0
[components] ktlint now runs on samples
2018-10-15 22:08:55 -04:00
Arturo Mejia
2d4411c5fa
[components] Adding suggestions from code review
...
*Increasing code coverage in EngineSession
*Fixing Format on DefaultComponents
* Removing line from ToolbarActivity
2018-09-20 12:51:00 -04:00
Arturo Mejia
5bc1ca7173
[components] Closes https://github.com/mozilla-mobile/android-components/issues/495 : Provide thumbnail of websites
...
* Adding captureThumbnail to EngineSession
* Updating TabViewHolder to add thumbnail
* Adding thumbnail to Session
* Adding a new product flavor for systemEngine
2018-09-20 12:51:00 -04:00
Subhrajyoti Sen
ebdd6e7711
[components] Resolve https://github.com/mozilla-mobile/android-components/issues/754 : refactor View.dp() as Resources.pxToDp
2018-09-17 13:40:31 -04:00
Sebastian Kaspari
8a12243bf7
[components] Use ImageOptim to shrink PNGs.
2018-08-28 18:42:09 -04:00