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

WIP and low priority: upgrade konfetti to 2.0.2 #5079

Merged
merged 4 commits into from
Apr 6, 2022

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented Jan 27, 2022

Update Konfetti to the latest version

Compilation warning is now fixed, probably due to the update of library Jitsi.

The rendering is not strictly equivalent, but still acceptable to me.

Before After
confetti_before confetti_after

We are using the "rain" party, but we could choose a different configuration, from the sample app:

image

Also reporting that on the celebration screen (after account creation), the confetti are displayed below the other views, which is a bit strange to me, and not equivalent to what we have in the timeline. This PR does not change that.

@github-actions
Copy link

github-actions bot commented Jan 27, 2022

Unit Test Results

110 files  ±0  110 suites  ±0   1m 17s ⏱️ +8s
195 tests ±0  195 ✔️ ±0  0 💤 ±0  0 ±0 
650 runs  ±0  650 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 930ce06. ± Comparison against base commit 3b8ffcf.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jan 27, 2022

Matrix SDK

Integration Tests Results:

  • [org.matrix.android.sdk.session]
    passed=
  • [org.matrix.android.sdk.account]
    passed=
  • [org.matrix.android.sdk.internal]
    passed=
  • [org.matrix.android.sdk.ordering]
    passed=
  • [org.matrix.android.sdk.PermalinkParserTest]
    passed=

vector/build.gradle Outdated Show resolved Hide resolved
@bmarty bmarty changed the title WIP and low priority: upgrade konfetti to 2.0.1 WIP and low priority: upgrade konfetti to 2.0.2 Feb 22, 2022
bmarty and others added 2 commits April 4, 2022 15:19
@bmarty bmarty force-pushed the feature/bma/konfetti2 branch from 5f490b8 to a089947 Compare April 4, 2022 13:26
@bmarty bmarty requested a review from ouchadam April 4, 2022 14:30
@bmarty bmarty marked this pull request as ready for review April 4, 2022 14:30
timeToLive = 2000L,
position = Position.Relative(0.0, 0.0).between(Position.Relative(1.0, 0.0)),
)
reset()
Copy link
Member Author

Choose a reason for hiding this comment

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

calling reset() fixes the issue when displaying the confetti several times (in the timeline)

@ouchadam
Copy link
Contributor

ouchadam commented Apr 4, 2022

onboarding confetti still works and looks better IMO! 👍

after-onboarding-confetti

I now see what you mean about the confetti falling behind the text/icon

@bmarty
Copy link
Member Author

bmarty commented Apr 6, 2022

(I have added a changelog, no need for a full CI build)

@bmarty bmarty merged commit c849cc5 into develop Apr 6, 2022
@bmarty bmarty deleted the feature/bma/konfetti2 branch April 6, 2022 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants