Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dependency Updates] Update androidxRecyclerviewVersion to 1.3.0 #18330

Conversation

ParaskP7
Copy link
Contributor

@ParaskP7 ParaskP7 commented Apr 27, 2023

Parent #17563
Batch Branch: deps/main-batch-androidx-compose-kotlin

This PR updates androidxRecyclerviewVersion to 1.3.0.


Fix List: Remove manual jetpack compose interop config for recyclerview

FYI: @ovitrif please take a close look at this commit as it reverts the manual Jetpack Compose interop configuration for RecyclerView (52b264e). You can read the commit's description for more details.

For more info see: #17563 (comment)


PS: @ovitrif I added you as the main reviewer, but not so randomly (context), since I just wanted someone from the WordPress team to be aware of and sign-off on that change for WPAndroid. I also added the @wordpress-mobile/apps-infrastructure team, but this in done only for monitoring purposes, as such, I am not expecting any active review from that team. Thus, feel free to merge this PR if you deem so.


To test:

  1. See the dependency tree diff result and verify correctness.
  2. Thoroughly smoke test any RecyclerView related screens (aka lists), on both, the WordPress and Jetpack apps, and see if everything is working as expected.
  3. In addition to the above smoke test, you can expand the below and follow the inner and more explicitly test steps within, which is mainly related to this fix commit:
Site Creation Domain View [SiteCreationDomainViewHolder.kt]

ℹ️ This test applies to the Jetpack app.

  • Go to Debug Settings and enable the SiteCreationDomainPurchasingFeatureConfig feature flag.
  • Go to Site Picker -> Click the + button -> Chose Create WordPress.com site -> Click the SKIP button -> And again, click the SKIP button.
  • Enter any search query in the input (eg. 'awesome').
  • Verify the list of domain suggestions is presented (the item UI is compose)
  • Verify that the Site Creation Domain view and its list is shown and functioning as expected.

Merge instructions


Regression Notes

  1. Potential unintended areas of impact

    • Potential breakage or misbehaviour on any or RecyclerView list related app functionalities (aka lists), like list of posts/pages, reader and reader details, media, site picker and creation, list of plugins, etc.
    • Some of the transitive dependencies added might be causing some kind of misbehaviour.
    • The Site Creation Domain view and its list might not be performing as expected.
  2. What I did to test those areas of impact (or what existing automated tests I relied on)

    • See To test section.
  3. What automated tests I added (or what prevented me from doing so)

    • N/A

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

UI Changes testing checklist:

  • Portrait and landscape orientations.
  • Light and dark modes.
  • Fonts: Larger, smaller and bold text.
  • High contrast.
  • Talkback.
  • Languages with large words or with letters/accents not frequently used in English.
  • Right-to-left languages. (Even if translation isn’t complete, formatting should still respect the right-to-left layout)
  • Large and small screen sizes. (Tablet and smaller phones)
  • Multi-tasking: Split screen and Pop-up view. (Android 10 or higher)

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Apr 27, 2023

WordPress📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress WordPress
FlavorJalapeno
Build TypeDebug
Versionpr18330-bce8e5a
Commitbce8e5a
Direct Downloadwordpress-prototype-build-pr18330-bce8e5a.apk
Note: Google Login is not supported on these builds.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Apr 27, 2023

Jetpack📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack Jetpack
FlavorJalapeno
Build TypeDebug
Versionpr18330-bce8e5a
Commitbce8e5a
Direct Downloadjetpack-prototype-build-pr18330-bce8e5a.apk
Note: Google Login is not supported on these builds.

Base automatically changed from deps/update-coil-to-2.2.2 to deps/main-batch-androidx-compose-kotlin May 2, 2023 12:15
ParaskP7 added 2 commits May 2, 2023 15:30
This change effectively reverts the temporary changes introduced in this
236d18f and this
ab46b8f commits to ensure optimal
performance.

Updating to 'Jetpack Compose' version '1.2.0-beta02' and above, which is
already done (currently on 1.3.3), provides a better out-of-the-box
performing solution.

For more info see: https://github.com/wordpress-mobile/
WordPress-Android/issues/17563#issuecomment-1439830915
@ParaskP7 ParaskP7 force-pushed the deps/update-androidx-recyclerview-to-1.3.0 branch from 52b264e to bce8e5a Compare May 2, 2023 12:35
@ParaskP7
Copy link
Contributor Author

ParaskP7 commented May 2, 2023

👋 @ovitrif and FYI that the PR and merge instructions have been just updated (rebase + force push), this PR is ready to be merged upon successful review and testing.

@wpmobilebot
Copy link
Contributor

Found 1 violations:

The PR caused the following dependency changes:

 +--- project :libs:analytics
 |    \--- androidx.preference:preference:1.2.0
-|         \--- androidx.recyclerview:recyclerview:1.0.0 -> 1.2.1
-|              +--- androidx.annotation:annotation:1.1.0 -> 1.5.0 (*)
-|              +--- androidx.core:core:1.3.2 -> 1.8.0 (*)
-|              +--- androidx.customview:customview:1.0.0 -> 1.1.0 (*)
-|              \--- androidx.collection:collection:1.0.0 -> 1.2.0 (*)
+|         \--- androidx.recyclerview:recyclerview:1.0.0 -> 1.3.0
+|              +--- androidx.annotation:annotation:1.1.0 -> 1.5.0 (*)
+|              +--- androidx.collection:collection:1.0.0 -> 1.2.0 (*)
+|              +--- androidx.core:core:1.7.0 -> 1.8.0 (*)
+|              +--- androidx.customview:customview:1.0.0 -> 1.1.0 (*)
+|              \--- androidx.customview:customview-poolingcontainer:1.0.0
+|                   +--- androidx.core:core-ktx:1.5.0 -> 1.8.0 (*)
+|                   \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.21 -> 1.7.20 (*)
 +--- project :libs:image-editor
-|    +--- androidx.recyclerview:recyclerview:1.2.1 (*)
+|    +--- androidx.recyclerview:recyclerview:1.3.0 (*)
 |    +--- androidx.viewpager2:viewpager2:1.0.0
-|    |    \--- androidx.recyclerview:recyclerview:1.1.0 -> 1.2.1 (*)
+|    |    \--- androidx.recyclerview:recyclerview:1.1.0 -> 1.3.0 (*)
 |    \--- com.google.android.material:material:1.2.1 -> 1.6.0-alpha01
-|         \--- androidx.recyclerview:recyclerview:1.0.0 -> 1.2.1 (*)
+|         \--- androidx.recyclerview:recyclerview:1.0.0 -> 1.3.0 (*)
 +--- project :libs:editor
 |    \--- org.wordpress-mobile.gutenberg-mobile:react-native-gutenberg-bridge:v1.94.0
 |         +--- com.github.wordpress-mobile:react-native-video:5.2.0-wp-5
 |         |    \--- com.google.android.exoplayer:exoplayer:2.13.3
 |         |         \--- com.google.android.exoplayer:exoplayer-ui:2.13.3
-|         |              \--- androidx.recyclerview:recyclerview:1.1.0 -> 1.2.1 (*)
+|         |              \--- androidx.recyclerview:recyclerview:1.1.0 -> 1.3.0 (*)
 |         \--- org.wordpress-mobile.gutenberg-mobile:react-native-aztec:v1.94.0
-|              \--- androidx.recyclerview:recyclerview:1.1.0 -> 1.2.1 (*)
+|              \--- androidx.recyclerview:recyclerview:1.1.0 -> 1.3.0 (*)
 +--- org.wordpress:fluxc:{strictly 2.26.0} -> 2.26.0
 |    +--- androidx.paging:paging-runtime:2.1.2
-|    |    \--- androidx.recyclerview:recyclerview:1.0.0 -> 1.2.1 (*)
+|    |    \--- androidx.recyclerview:recyclerview:1.0.0 -> 1.3.0 (*)
-|    \--- androidx.recyclerview:recyclerview:1.0.0 -> 1.2.1 (*)
+|    \--- androidx.recyclerview:recyclerview:1.0.0 -> 1.3.0 (*)
 +--- org.wordpress:utils:{strictly 3.6.1} -> 3.6.1
-|    \--- androidx.recyclerview:recyclerview:1.0.0 -> 1.2.1 (*)
+|    \--- androidx.recyclerview:recyclerview:1.0.0 -> 1.3.0 (*)
 +--- com.automattic:about:1.1.0
 |    \--- androidx.compose.ui:ui:1.0.5 -> 1.3.3
-|         \--- androidx.customview:customview-poolingcontainer:1.0.0
-|              +--- androidx.core:core-ktx:1.5.0 -> 1.8.0 (*)
-|              \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.21 -> 1.7.20 (*)
+|         \--- androidx.customview:customview-poolingcontainer:1.0.0 (*)
 +--- com.automattic:stories:2.1.0
-|    \--- androidx.recyclerview:recyclerview:1.1.0 -> 1.2.1 (*)
+|    \--- androidx.recyclerview:recyclerview:1.1.0 -> 1.3.0 (*)
-+--- androidx.recyclerview:recyclerview:1.2.1 (*)
++--- androidx.recyclerview:recyclerview:1.3.0 (*)
 \--- com.zendesk:support:5.1.1
      +--- com.zendesk:guide:1.0.9
-     |    \--- androidx.recyclerview:recyclerview -> 1.2.1 (*)
+     |    \--- androidx.recyclerview:recyclerview -> 1.3.0 (*)
-     \--- androidx.recyclerview:recyclerview -> 1.2.1 (*)
+     \--- androidx.recyclerview:recyclerview -> 1.3.0 (*)

Please review and act accordingly

Copy link
Contributor

@ovitrif ovitrif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for properly handling this update @ParaskP7

Everything works and looks great 🥇 :shipit:

@ovitrif ovitrif merged commit 2ec7fa0 into deps/main-batch-androidx-compose-kotlin May 2, 2023
@ovitrif ovitrif deleted the deps/update-androidx-recyclerview-to-1.3.0 branch May 2, 2023 14:37
@ParaskP7
Copy link
Contributor Author

ParaskP7 commented May 3, 2023

Awesome @ovitrif , thanks so much for reviewing, testing and merging this, you rock! 🪨 ❤️ 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants