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

feat: epic typing indicator sender (WPB-4590) #2315

Merged
merged 21 commits into from Oct 11, 2023

Conversation

yamilmedina
Copy link
Contributor

@yamilmedina yamilmedina commented Oct 11, 2023

TaskWPB-4590 Sending conversation.typing events


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Send typing indicators events to conversation.

Needs releases with:

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

Attachments (Optional)

Screen.Recording.2023-10-11.at.14.04.42.mov

PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

Merging #2315 (5e741d2) into develop (016560c) will increase coverage by 0.23%.
The diff coverage is 63.15%.

@@              Coverage Diff              @@
##             develop    #2315      +/-   ##
=============================================
+ Coverage      41.04%   41.28%   +0.23%     
- Complexity      1048     1050       +2     
=============================================
  Files            328      328              
  Lines          11902    11918      +16     
  Branches        1586     1588       +2     
=============================================
+ Hits            4885     4920      +35     
+ Misses          6547     6530      -17     
+ Partials         470      468       -2     
Files Coverage Δ
.../ui/home/conversations/MessageComposerViewModel.kt 80.81% <100.00%> (+6.75%) ⬆️
...rsations/messages/ConversationMessagesViewModel.kt 62.04% <100.00%> (+0.93%) ⬆️
.../messagecomposer/state/MessageCompositionHolder.kt 32.42% <0.00%> (+3.78%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 016560c...5e741d2. Read the comment docs.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 11, 2023

Test Results

644 tests  +3   644 ✔️ +3   7m 42s ⏱️ - 1m 38s
  93 suites ±0       0 💤 ±0 
  93 files   ±0       0 ±0 

Results for commit 5e741d2. ± Comparison against base commit 016560c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 1241 failed.

@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 1242 succeeded.

The build produced the following APK's:

@yamilmedina yamilmedina requested review from a team and typfel and removed request for a team October 11, 2023 14:34
Copy link
Contributor

@gongracr gongracr left a comment

Choose a reason for hiding this comment

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

Real nice ✨ and extra bonus points for the nice tests 🧪 💪

Comment on lines 138 to 140
initialValue = -10f, targetValue = -2f,
animationSpec = infiniteRepeatable(
animation = tween(1_000, easing = FastOutSlowInEasing),
animation = tween(1_500, easing = FastOutSlowInEasing),
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to extract these values to some Dimens variable for easier concurrent modification?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea, I'll take a look on how we are doing for some animations,
I tried to look for dimensions that fit, but didn't find anything so far

initialValue = 0.1f,
targetValue = 1f,
animationSpec = infiniteRepeatable(
animation = tween(durationMillis = 1_500, easing = FastOutLinearInEasing),
Copy link
Contributor

Choose a reason for hiding this comment

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

same than above

@yamilmedina yamilmedina added this pull request to the merge queue Oct 11, 2023
@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

Merged via the queue into develop with commit e096a5b Oct 11, 2023
14 of 15 checks passed
@yamilmedina yamilmedina deleted the feat/epic-typing-indicator-sender branch October 11, 2023 23:01
@AndroidBob
Copy link
Collaborator

Build 1249 succeeded.

The build produced the following APK's:

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