-
Notifications
You must be signed in to change notification settings - Fork 3k
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
New Feature: Create the UI for Actionable Mention Whispers #33665
New Feature: Create the UI for Actionable Mention Whispers #33665
Conversation
@rushatgabhane Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
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.
Thanks so much for getting this up! Just did a first pass review and everything looks pretty good other than some minor changes.
Thanks for your time reviewing changes, I'll resolve in few hours 🫡 |
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.
Thanks for taking a look! Just a few other things that I think we should fix that I didn't catch earlier.
…paul777/App into new-feat/actionable-whispers
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.
All yours @rushatgabhane, thanks!
@ishpaul777 lint failures:
|
@rushatgabhane friendly bump on this review |
Reviewer Checklist
Screenshots/VideosiOS: NativeScreen.Recording.2024-01-08.at.19.23.31.movMacOS: Chrome / SafariScreen.Recording.2024-01-08.at.18.59.09.movScreen.Recording.2024-01-08.at.18.56.02.mov |
Bug: the whisper of another user is shown, and it can't be dismissed. Steps:
Expected: whispers of user B aren't shown to user A. Screen.Recording.2024-01-08.at.19.27.05.mov |
@rushatgabhane strange, that seems like a back-end issue. I'm looking into it. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
I'm unable to load the App on Android/iOS locally, and it seems our workflows for AdHoc builds are currently broken. @rushatgabhane Is there any chance you could insert some logs for userA in your testing steps to see what the reportAction looks like? Also, let me know the time stamps when you're running the tests so I can look into logs. Thanks! |
Yeah sure! gimme a moment |
Timestamp - Logging reportAction for userA that is passed to {
"reportAction": {
"actionName": "ACTIONABLEMENTIONWHISPER",
"actorAccountID": 8392101,
"automatic": false,
"avatar": "https://d1wpcgnaa73g0y.cloudfront.net/894b50e60056c966d12216005fbcacec8ce5a2c0.png",
"created": "2024-01-08 13:29:02.318",
"isAttachment": false,
"lastModified": "2024-01-08 13:29:02.318",
"message": [
{
"html": "Heads up, <mention-user accountID=10199254></mention-user> isn't a member of this room.",
"isDeletedParentAction": false,
"isEdited": false,
"text": "Heads up, isn't a member of this room.",
"type": "COMMENT",
"whisperedTo": [
10199263
]
}
],
"originalMessage": {
"inviteeAccountIDs": [
10199254
],
"inviteeEmails": [
"[email protected]"
],
"lastModified": "2024-01-08 13:29:02.318",
"reportID": 1049615772452361,
"whisperedTo": [
10199263
]
},
"person": [
{
"style": "strong",
"text": "[email protected]",
"type": "TEXT"
}
],
"previousReportActionID": "5717327559065192094",
"reportActionID": "2037044882738399089",
"reportActionTimestamp": 1704720542318,
"shouldShow": true,
"timestamp": 1704720542,
"whisperedToAccountIDs": [
10199263
]
}
} |
Interesting, it looks like the accountID of userA is Regardless, it doesn't seem like we should block this PR on that, since it isn't related to the changes. Logs of the report action being sent out for posterity |
@rushatgabhane @ishpaul777 I'm CPing a fix to staging that should solve that issue that was pointed out here, we can retest once it's been deployed, I'll let you know. |
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.
@jasperhuangg LGTM!
bug #33665 (comment) not reproducible anymore
What's the next step on this; who is it waiting on, and when will it happen? |
we are awaiting for final review from @jasperhuangg |
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.
woohoo!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 1.4.25-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.25-10 🚀
|
@ishpaul777 I think I missed this when testing, but the actionable mention whispers are still displaying even after being resolved. I see that the Onyx data is correct, can we update the front-end to filter out resolved actionable mention whispers? Sorry I missed this before! |
Sure, I fixed the case in #34560 can you review changes, i didn't realize this was a requirement else i should have fixed in this PR, Sorry! |
Details
Fixed Issues
$ #32741
PROPOSAL: #32741 (comment)
Tests
be sent to userA (see mockup below).
Offline tests
QA Steps
be sent to userA (see mockup below).
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-01-02.at.3.18.44.PM.mov
Android: mWeb Chrome
Screen.Recording.2024-01-02.at.2.08.26.PM.mov
iOS: Native
Screen.Recording.2024-01-02.at.1.12.15.PM.mov
iOS: mWeb Safari
Screen.Recording.2024-01-02.at.1.17.47.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2023-12-21.at.4.30.35.AM-1.mov
MacOS: Desktop