Commit Graph

53 Commits

Author SHA1 Message Date
Christian Sadilek
c9d791c53b [components] Adjust detekt TooManyFunctions threshold 2021-03-18 15:25:40 +00:00
Mugurell
33fbf4e99d [components] For https://github.com/mozilla-mobile/android-components/issues/8893 - Support temporary hiding if a tab is selected
Clients interested in this should:
- use partial bindings with PAYLOAD_(DONT_)HIGHLIGHT_SELECTED_ITEM
- override TabsAdapter#isTabSelected for new item bindings
- override TabViewHolder#updateSelectedTabIndicator
2020-12-08 14:30:18 +00:00
Jonathan Almeida
ac73bae091 [components] Close https://github.com/mozilla-mobile/android-components/issues/8040: Move ImageLoader to support-base
The `ImageLoader` API is public and we should have it in a better place.
2020-10-06 14:39:58 +00:00
Jonathan Almeida
697d44dd9b [components] Close https://github.com/mozilla-mobile/android-components/issues/7822: Remove deprecated BrowserTabsTray 2020-09-11 10:32:15 -04:00
Jonathan Almeida
96b8e4047f [components] Close https://github.com/mozilla-mobile/android-components/issues/8115: Add onTabsUpdated to TabsTray.Observer 2020-08-18 18:54:38 -04:00
Jonathan Almeida
62f325d2ca [components] Close https://github.com/mozilla-mobile/android-components/issues/7079: Decouple BrowserTabsTray from TabsAdapter
Deprecates the `BrowserTabsTray` as well, using a `RecyclerView`
directly is now recommended.
2020-07-23 13:47:38 -04:00
Kainalu Hagiwara
411a76ffd1 [components] Closes https://github.com/mozilla-mobile/android-components/issues/7533 - Allow loading a thumbnail at maximum size. 2020-07-14 16:40:11 -07:00
Gabriel Luong
4423fc8ba8 [components] Issue https://github.com/mozilla-mobile/android-components/issues/7138: Add ImageRequest to ImageLoader to allow consumers to specify the preferred image size 2020-06-25 20:08:36 -04:00
Jonathan Almeida
9a50e9b6f7 [components] Close https://github.com/mozilla-mobile/android-components/issues/7313: Use storage/loader to get thumbnails
We were seeing odd bugs and performance issues from trying to map the
disk cache into the TabsTrayPresenter.

A better solution, would be to load the thumbnails straight from the
cache, and incremental updates via the store.
2020-06-12 12:30:10 -04:00
Jonathan Almeida
7a78cef958 [components] Close https://github.com/mozilla-mobile/android-components/issues/7352: Always set scaleFactor on TabThumbnailView 2020-06-12 12:14:01 -04:00
Jeff Boek
e0e2e6d491 [components] For https://github.com/mozilla-mobile/android-components/issues/7080 - Makes TabsAdapter open to subclassing 2020-05-22 11:25:10 -07:00
Jeff Boek
60a594d35b [components] For https://github.com/mozilla-mobile/android-components/issues/6907 - Adds Media.State to concept-tabstray
- Maps MediaState from BrowserState when creating the Tabs list
2020-05-12 09:00:18 -07:00
MozLando
e1e54635a2 [components] Merge https://github.com/mozilla-mobile/android-components/pull/6880
6880: Revert to previous tabs tray layout r=psymoon a=jonalmeida



Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2020-05-12 15:02:35 +00:00
mcarare
24cda06163 [components] For https://github.com/mozilla-mobile/android-components/issues/6895: Add unit test for browser tab tray item decoration. 2020-05-07 18:52:25 +03:00
mcarare
fc47965469 [components] For https://github.com/mozilla-mobile/android-components/issues/6895: Add optional itemDecoration in browser tabs tray. 2020-05-07 18:52:25 +03:00
Jonathan Almeida
8c0efdf319 [components] Revert to previous tabs tray layout 2020-05-05 17:14:36 -04:00
Jeff Boek
5441f7d482 [components] For https://github.com/mozilla-mobile/android-components/issues/6867 - Adds a ViewHolderProvider to provide a custom ViewHolder in the TabsAdapter 2020-05-04 13:36:55 -07: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
David Walsh
7568b4df45 [components] For https://github.com/mozilla-mobile/android-components/issues/6731 - Provide styling for URL text in the tabs tray 2020-04-21 17:09:09 -05:00
David Walsh
6b7995ffad [components] For https://github.com/mozilla-mobile/android-components/issues/6610 - Don't assume iconView within the tabs tray 2020-04-13 11:44:25 -05:00
MozLando
ee495b9631 [components] Merge https://github.com/mozilla-mobile/android-components/pull/6566
6566: For https://github.com/mozilla-mobile/android-components/issues/6564 - Only display URL hostname for tabstray r=jonalmeida a=darkwing

Fixes https://github.com/mozilla-mobile/android-components/issues/6564. We don't want the entire URL, just the hostname, per @topotropic's direction.



Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2020-04-09 02:58:22 +00:00
David Walsh
422e3f242f [components] For https://github.com/mozilla-mobile/android-components/issues/6564 - Only display URL hostname for tabstray 2020-04-08 09:13:58 -05:00
David Walsh
0615ba2b3f [components] For https://github.com/mozilla-mobile/android-components/issues/6545 - Don't assume CardView for tabstray 2020-04-07 12:34:07 -05:00
Gabriel Luong
fbfe276a85 [components] Issue https://github.com/mozilla-mobile/android-components/issues/6514: Part 2 - Add urlView to the TabViewHolder to show the url 2020-04-05 01:17:40 -04:00
Gabriel Luong
6df8ec5c50 [components] Issue https://github.com/mozilla-mobile/android-components/issues/6514: Part 1 - Rename urlView to titleView in TabViewHolder 2020-04-05 01:02:58 -04:00
David Walsh
063b4bff30 [components] For 6510 - Allow a different LayoutManager for TabsTray 2020-04-03 16:10:59 -05:00
Gabriel Luong
cc6e6b907c [components] Issue https://github.com/mozilla-mobile/android-components/issues/6513: Allow consumer to control layout of the TabViewHolder 2020-04-03 14:33:41 -04: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
Sebastian Kaspari
4dc2b68f89 [components] Closes https://github.com/mozilla-mobile/android-components/issues/5965: Migrate concept-tabstray, browser-tabstray and feature-tabs to use browser-state. 2020-02-24 09:52:41 +01: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
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
5d7c65f2a0 [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Use androidx runner in browser-tabstray. 2019-06-11 12:36:11 +02:00
Sebastian Kaspari
53d5f37e93 [components] Show website icon in browser-tabstray. 2019-05-06 08:47:27 -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
Jonathan Almeida
49a4f36066 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2816: Add TabTouchCallback for swipe support 2019-04-22 15:04:50 -04:00
Jonathan Almeida
949562c2e7 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2821: Show full top of thumbnail in TabsTray 2019-04-22 14:23:05 -04:00
Sebastian Kaspari
1a971da296 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1681 - Add ClipboardSuggestionProvider for providing URL suggestions from clipboard. 2019-01-15 18:52:17 +01:00
Mitchell Hentges
8fd19cdf3a [components] Moves description to be part of project.ext 2019-01-11 10:08:32 +01:00
Mitchell Hentges
3ee4d96a84 [components] Reads componentsVersion from .buildconfig.yml 2019-01-11 10:08:32 +01:00
Sebastian Kaspari
d47d553dcc [components] Closes https://github.com/mozilla-mobile/android-components/issues/1520: Allow styling of browser-tabstray component and display title if available. 2018-11-30 16:55:07 +01:00
ali-abdullah
89f3263d12 [components] included buildSrc in ktlint and detekt checks 2018-11-16 12:40:04 +01:00
Sebastian Kaspari
53b3d1a71f [components] Update repository information in README files. 2018-10-25 15:37:46 +02:00
Sebastian Kaspari
9e17b84339 [components] Simplify build configuration. 2018-10-24 10:21:12 +02:00
Johan Lorenzo
0ca864a1bf [components] Stop Bintray. Update {group,artifact}Ids. Remove massage task 2018-10-22 14:35:51 +02:00
Wajahat Karim
ed0729232c [components] Closes https://github.com/mozilla-mobile/android-components/issues/922: Update READMEs to point to maven.mozilla.org and use new artifact names. 2018-10-03 09:20:43 +02: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
Sebastian Kaspari
946410ca86 [components] Configure dependencies from buildSrc Kotlin code. 2018-08-21 11:16:21 -04:00
Sebastian Kaspari
21909c425a [components] Issue https://github.com/mozilla-mobile/android-components/issues/482: Introduce support-base component to host building blocks of components. 2018-08-01 16:18:26 +02:00
Kswiss73
9d440c40bc [components] Issue https://github.com/mozilla-mobile/android-components/issues/437: Update TabsAdapterTest.kt 2018-07-25 10:21:57 +02:00
Sebastian Kaspari
bc5ab03303 [components] Issue https://github.com/mozilla-mobile/android-components/issues/406: Pass Session object and new value to Session.Observer. 2018-07-13 16:16:02 -04:00