Skip to content

feat: update conversation name when updating meeting [WPB-27617] - #5172

Open
saleniuk wants to merge 5 commits into
developfrom
feat/update-conversation-name-when-updating-meeting
Open

feat: update conversation name when updating meeting [WPB-27617]#5172
saleniuk wants to merge 5 commits into
developfrom
feat/update-conversation-name-when-updating-meeting

Conversation

@saleniuk

@saleniuk saleniuk commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

https://wearezeta.atlassian.net/browse/WPB-27617


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?

Issues
Currently, when the meeting title is being updated, it's underlying meeting type conversation still keeps the original name so when the call starts, it can show the old name.

Solutions
Update the conversation name when meeting is updated. When it fails, we intentionally execute the persist action so that meeting is updated locally, but pass the error to the UI to be displayed to the user and then retried - it's not breaking issue if the names are out of sync, we want to keep all other meeting parameters up to date and give user option to retry.
In this PR this new type of error is handled by showing alert to the user with an option to retry- but retry only edits the conversation name.

Dependencies (Optional)

Needs releases with:

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

How to Test

Create a meeting, edit the title of the meeting, start a meeting call and check the name.


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.

@saleniuk saleniuk changed the title Feat/update conversation name when updating meeting feat: update conversation name when updating meeting [WPB-27617] Aug 13, 2026
@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Test Results

2 247 tests  +4   2 247 ✅ +4   1m 46s ⏱️ -12s
  245 suites ±0       0 💤 ±0 
  245 files   ±0       0 ❌ ±0 

Results for commit c9ab46c. ± Comparison against base commit 262a2c4.

♻️ This comment has been updated with latest results.

@codecov

codecov Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.11765% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 52.77%. Comparing base (262a2c4) to head (c9ab46c).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
.../feature/meetings/ui/create/NewMeetingViewModel.kt 94.11% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5172      +/-   ##
===========================================
+ Coverage    52.74%   52.77%   +0.02%     
===========================================
  Files          659      659              
  Lines        23618    23633      +15     
  Branches      3886     3888       +2     
===========================================
+ Hits         12458    12472      +14     
- Misses       10010    10011       +1     
  Partials      1150     1150              
Files with missing lines Coverage Δ
.../feature/meetings/ui/create/NewMeetingViewModel.kt 84.06% <94.11%> (+0.83%) ⬆️

Continue to review full report in Codecov by Harness.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

Copy link
Copy Markdown
Contributor

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

Comment on lines +306 to +309
state = state.copy(isSubmitting = false, continueButtonEnabled = true)
when (it) {
is RenamingResult.Failure ->
state = state.copy(submitError = NewMeetingState.SubmitError.UpdateConversationNameFailure(conversationId))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In case of failure, continueButtonEnabled is set to true. Is that expected?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants