Commit graph

78 commits

Author SHA1 Message Date
mcarare
063c553913 Bug 1849833 - Replace deprecated compileSdkVersion.
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00
Matthew Tighe
45ca0bcb7d Bug 1721904 - update thumbnail caching on app open 2023-09-06 22:38:21 +00:00
MatthewTighe
c87183c8b5 Bug 1843168 - Expose Mockito through test support component 2023-07-24 18:02:09 +00:00
Gabriel Luong
f8e7dcd258 Bug 1840210 - Rename mozac_ic_close_20 to mozac_ic_cross_20 2023-07-10 22:15:49 +00:00
Ryan VanderMeulen
4ca4af9657 Bug 1838903 - Fix AC formatting issues and update baseline 2023-06-26 17:59: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
cd1b348c9b Bug 1802817 - Rename DSL object from lintOptions to lint.
DSL object for configuring lint options lintOptions is deprecated.
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
Christian Sadilek
4091b14a33 Fix android lint in composite builds 2022-11-21 13:40:53 -05:00
Jonathan Almeida
61a134090e Bug 1795105 - Don't store thumbnails in BrowserState
Co-authored-by: ohall-m <93344309+ohall-m@users.noreply.github.com>
Co-authored-by: kycn <35106533+kycn@users.noreply.github.com>
2022-11-08 02:44:05 +00:00
Jonathan Almeida
7c764c6501 Revert "Bug 1795105 - Don't store thumbnails in BrowserState"
This reverts commit d9028ef2b230a03459fe20ab56bdce0acdce3aea.
2022-11-04 14:24:55 -04:00
Jonathan Almeida
bcc34f349e Bug 1795105 - Don't store thumbnails in BrowserState
Co-authored-by: ohall-m <93344309+ohall-m@users.noreply.github.com>
Co-authored-by: kycn <35106533+kycn@users.noreply.github.com>
2022-11-04 04:58:11 +00: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
mike a
27886a5d35 [components] Closes https://github.com/mozilla-mobile/android-components/issues/12460: update icons to the latest figma version, update not full screen tabs to use a smaller icon 2022-07-18 03:31:00 +00:00
mcarare
30e5a6f476 [components] For https://github.com/mozilla-mobile/android-components/issues/12402: Run Robolectric with SDK 32. 2022-06-29 16:31:33 +00:00
mcarare
2a1c468edc [components] For https://github.com/mozilla-mobile/android-components/issues/12376: Run Robolectric with SDK 31.
Current Robolectric version does not support SDK 32.
2022-06-28 13:42:14 +00:00
Arturo Mejia
bd618653a6 [components] Closes https://github.com/mozilla-mobile/android-components/issues/12129: Add updateSelectedTabIndicator to TabViewHolder 2022-05-18 12:28:20 +00:00
mcarare
2275e49731 [components] For https://github.com/mozilla-mobile/android-components/issues/9684: Run tests on sdk 30. 2022-04-28 08:33:29 +00:00
Roger Yang
fdd23e4a5f [components] Close https://github.com/mozilla-mobile/android-components/issues/11383: Add tabstray support for search term tab grouping logic with middleware 2022-01-12 15:27:26 +00:00
Jonathan Almeida
b3eb879f94 [components] Close https://github.com/mozilla-mobile/android-components/issues/11234: Re-introduce close support in TabsFeature 2021-11-08 20:40:26 +00:00
Jonathan Almeida
8c76be9d8c [components] Issue https://github.com/mozilla-mobile/android-components/issues/11012: Use TabSessionState directly in feature-tabs
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2021-10-25 13:19:32 +00:00
Jonathan Almeida
d53a5a0971 [components] Close https://github.com/mozilla-mobile/android-components/issues/11108: Remove internal DiffUtil from TabsTray 2021-10-08 01:51:05 +00:00
Sebastian Kaspari
ce323400dd [components] Run ktlintFormat to fix new ktlint errors. 2021-07-28 12:03:23 +00:00
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