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

Update compose dependencies #331

Merged
merged 6 commits into from
Sep 26, 2024
Merged

Update compose dependencies #331

merged 6 commits into from
Sep 26, 2024

Conversation

AdamGrzybkowski
Copy link
Contributor

@AdamGrzybkowski AdamGrzybkowski commented Sep 25, 2024

Description

This PR updates the compose bom to 2024.09.02 - it includes an update of the material3 library to the latest stable 1.3.0 version with some fixes to the bottom sheet. If we are to force a given version I would rather have the one with fewer bugs.

Additionally, I've updated the compose navigation to a stable version.

Testing Steps

Smoke test QE

@AdamGrzybkowski AdamGrzybkowski added the dependencies Pull requests that update a dependency file label Sep 25, 2024
@AdamGrzybkowski AdamGrzybkowski added this to the 2.0.0 milestone Sep 25, 2024
@AdamGrzybkowski AdamGrzybkowski requested review from hamorillo, maxledoux and maxme and removed request for maxledoux September 25, 2024 11:43
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Sep 25, 2024

📲 You can test the changes from this Pull Request in Gravatar Demo by scanning the QR code below to install the corresponding build.
App Name Gravatar Demo
Commit09add8e
Direct Downloadgravatar-demo-prototype-build-pr331-09add8e.apk

@AdamGrzybkowski
Copy link
Contributor Author

It looks like there are some small changes to rendering the rounded components so I had to update the baseline.

@AdamGrzybkowski
Copy link
Contributor Author

🙃

@AdamGrzybkowski AdamGrzybkowski force-pushed the adam/update_compose branch 2 times, most recently from edd3daa to 8e97075 Compare September 26, 2024 09:16
@@ -43,6 +43,7 @@ abstract class RoborazziTest {
roborazziOptions = RoborazziOptions(
compareOptions = RoborazziOptions.CompareOptions(
imageComparator = SimpleImageComparator(maxDistance = 0.007F, hShift = 1),
changeThreshold = 0.01f,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not happy about that, but it's getting quite annoying to have tests fail on CI because of system differences. I made some changes some time ago that fixed the majority of issues, but now there's one test that fails AvatarPickerListLoaded - the dark version passes...

I think this will work for now and when time allows we should modify the CI flow to generate the baseline as per this.

Copy link
Contributor

@hamorillo hamorillo Sep 26, 2024

Choose a reason for hiding this comment

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

Yeah, I know the feeling. It's quite annoying. ->

The differ result :ComparisonResult(pixelDifferences=3, pixelCount=1404000, width=1080, height=1300) changed:true 

Can we create a ticket to deal with this when possible?

I think this will work for now and when time allows we should modify the CI flow to generate the baseline as per this.

I wonder if you used the wrong link 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Comment on lines +24 to +30
composeBom = "2024.09.02"
materialAdaptive = "1.0.0"
browser = "1.8.0"
constraintlayout = "2.1.4"
activity = "1.9.0"
androidXLifecycle = "2.8.3"
navigationCompose = "2.8.0-beta05"
navigationCompose = "2.8.1"
Copy link
Contributor

Choose a reason for hiding this comment

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

We have two more dependencies somehow related with compose that we can update:

activityCompose = "1.9.2"
composeUiTest = "1.7.2"

@@ -43,6 +43,7 @@ abstract class RoborazziTest {
roborazziOptions = RoborazziOptions(
compareOptions = RoborazziOptions.CompareOptions(
imageComparator = SimpleImageComparator(maxDistance = 0.007F, hShift = 1),
changeThreshold = 0.01f,
Copy link
Contributor

@hamorillo hamorillo Sep 26, 2024

Choose a reason for hiding this comment

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

Yeah, I know the feeling. It's quite annoying. ->

The differ result :ComparisonResult(pixelDifferences=3, pixelCount=1404000, width=1080, height=1300) changed:true 

Can we create a ticket to deal with this when possible?

I think this will work for now and when time allows we should modify the CI flow to generate the baseline as per this.

I wonder if you used the wrong link 🤔

@AdamGrzybkowski AdamGrzybkowski merged commit c1d0ead into trunk Sep 26, 2024
16 checks passed
@AdamGrzybkowski AdamGrzybkowski deleted the adam/update_compose branch September 26, 2024 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants