-
Notifications
You must be signed in to change notification settings - Fork 987
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
[15128] Introduce muting for a specific duration #15253
Conversation
Jenkins BuildsClick to see older builds (134)
|
[{:keys [db]} chat-id muted?] | ||
(let [method (if muted? "wakuext_muteChat" "wakuext_unmuteChat")] | ||
[{:keys [db]} chat-id muted? mute-type] | ||
(let [method (if muted? "wakuext_muteChatV2" "wakuext_unmuteChat") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gonna have to go with a V2 naming to not break desktop muting functionality
c2a4851
to
5f4bbb7
Compare
Hey @ibrkhalil ! Could you please rebase the PR and resolve conflicts? If it is ready for testing feel free to move it to E2E column. Thanx. |
003d67c
to
d8cb727
Compare
0% of end-end tests have passed
Not executed tests (22)Failed tests (7)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestActivityMultipleDevicePR:
|
38ce888
to
f6ec489
Compare
40% of end-end tests have passed
Not executed tests (4)Failed tests (15)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityMultipleDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestActivityMultipleDevicePR:
Passed tests (10)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestActivityMultipleDevicePR:
|
I agree! We didn't design it specifically, but what you are suggesting makes sense to me. |
@xAlisher when the chat is muted, should an unread indicator and an unread counter appear just for the chat preview, or also it should cause appearing of old unread messages in the activity center as well? As for me, it is better not to show them in AC (for not to annoy the user). And now it is implemented so. So, if the muted chat is unmuted, then the unread indicator or unread counter will appear in the chat preview and in the chat tab icon (on the screen) if some unread messages were sent when the chat was muted. |
79% of end-end tests have passed
Failed tests (6)Click to expandClass TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMerged:
Class TestCommunityOneDeviceMerged:
Passed tests (23)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityMultipleDevicePR:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityOneDeviceMerged:
Class TestActivityCenterContactRequestMultipleDevicePR:
|
After unmuting badge appears only on the list. (Not notifying in a bottom bar, but not marked as read) |
In the screenshot, the bottom bar doesn't show a counter of unread messages for chats who are never muted. |
90% of end-end tests have passed
Failed tests (3)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestActivityCenterContactRequestMultipleDevicePR:
Passed tests (26)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityMultipleDevicePR:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityOneDeviceMerged:
|
Hi @ibrkhalil Thank you for your work. PR is ready to be merged |
Hey @ibrkhalil ! Could you please elaborate, what is current muting time for chats (1-1, group chat) in develop? I suppose it is till unmute? |
I thought we were going to do the same for chats I added it here actually |
1 similar comment
I thought we were going to do the same for chats I added it here actually |
Oh, cool, thank you. I didn't notice it because I thought that this PR is related to channels only. |
It is, But I though it wouldn't make sense to have a feature in one part and to have it missing in a really similar part. |
If the user has not been in this muted chat and has not seen the messages in the viewing window, an icon should appear after unmuting. |
|
fixes #15128
Summary
This PR Introduces muting a chat for a specific amount of time
QA notes: Kindly try to mute a chat from the home screen, It should be muted for one minute and then unmuted automatically .. We won't allow users to mute for a minute ofc but this is just to help QA team in testing
This is a PR to introduce the functionality that'll be used here
status: ready