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

refactor: readonly conversation indication #17369

Merged
merged 2 commits into from
May 7, 2024

Conversation

PatrykBuniX
Copy link
Contributor

Description

Applies changes already merged on dev branch - refactoring of readonly mls conversation indication + improved react localizer util. This is needed for handling new case of marking a conversation as readonly - migrating a conversation with a user that don't have any keys available.

Checklist

  • PR has been self reviewed by the author;
  • Hard-to-understand areas of the code have been commented;
  • If it is a core feature, unit tests have been added;

…#17273)

* feat: add literal string replacement support for react localizer util

* feat: support string literal inside the component

* refactor: improve naming

* doc: add a comment
"otherUserNotSupportMLSMsg": "You can't communicate with [bold]{{participantName}}[/bold] anymore, as you two now use different protocols. When [bold]{{participantName}}[/bold] gets an update, you can call and send messages and files again.",
"otherUserNotSupportMLSMsg": "You can't communicate with {{participantName}} anymore, as you two now use different protocols. When {{participantName}} gets an update, you can call and send messages and files again.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Question: Is localisation in German done for those? Might be worth it to cherrypick the localisation commit too if we want to avoid the [bold] tag to appear as a string

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When merged to dev, these changes were made automatically for German

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So I guess it will happen automatically here as well

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's see, it didn't work out that way on master last time :|
Let's worry about it when we get there 🤞

@PatrykBuniX PatrykBuniX merged commit 07a6289 into release/q1-2024 May 7, 2024
10 checks passed
@PatrykBuniX PatrykBuniX deleted the refactor/readonly-conversation branch May 7, 2024 09:47
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.

None yet

3 participants