-
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
[HOLD for payment 2023-05-16] [$1000] Make LHN Preview for Archived chats consistent #17386
Comments
Triggered auto assignment to @sophiepintoraetz ( |
Bug0 Triage Checklist (Main S/O)
|
Hello, Ana from Callstack here, I can pick this up! |
Job added to Upwork: https://www.upwork.com/jobs/~01c1f0e5d8fc4290e0 |
Current assignee @sophiepintoraetz is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Current assignee @mountiny is eligible for the External assigner, not assigning anyone new. |
📣 @BeeMargarida You have been assigned to this job by @mountiny! |
This is on hold for #17363 as now the archived chats dont show 😢 |
@BeeMargarida This is off hold now, the archived chats should be accessible in the LHN |
Will tackle it next! |
ProposalPlease re-state the problem that we are trying to solve in this issue.No consistency between archived rooms preview, archived rooms and policy expense chats show different things. What is the root cause of that problem?There is different logic for when a report is a policy expense chat: Line 284 in c144663
When it's a policy expense chat, it shows the archived reason, even if there is a last message. What changes do you think we should make in order to solve the problem?Change the check mentioned above so that it only checks if a room is archived and there is no last message. From Also, it will be necessary to change the check below that changes the preview text to From The first change can be applied in What alternative solutions did you explore? (Optional)-- |
Seems fine to me, any concern @rushatgabhane? |
Thank you very much, I have left a review |
@BeeMargarida, @rushatgabhane, @mountiny, @sophiepintoraetz Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Update: Currently being tested internally by QA |
RETESTS SUMMARY This fix is verified on Branch PR Draft *BeeMargarida:fix/17386-consistent_lhn_preview_for_archived_chats Tests are conducted on the following devices: *As the fix does not meet Solution requirements it is returned to the developer for further investigation |
📣 @m4rtag! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
Udpate: PR is ready for review |
Unassigning because @parasharrajat is reviewing the PR |
📣 @parasharrajat You have been assigned to this job by @mountiny! |
Getting closer with the PR |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.12-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-05-16. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This is a feature request. [@parasharrajat] The PR that introduced the bug has been identified. Link to the PR: NA [@parasharrajat] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again. |
All right - I think the only payment due here, should no regressions arise, are $1000 to @parasharrajat - correct? (No timeline bonus applied where callstack are assigned as the contributor) |
I think thats correct, thanks! |
All right - contract has been sent! Job is here https://www.upwork.com/jobs/~011fbafcc7f6b88173?frkscc=YaCOyt4kvnp5. (N.B. I am at a conference, Rajat so it may take a little longer to approve payment - only by a day or so!) |
No worries. Accepted the offer @sophiepintoraetz. |
Coming from here
### Problem
Currently the preview of archived chats contains the last message sent, except if the chat is a policy expense chat. If it’s a policy expense chat, it will show the reason for the archive reason, ex: This workspace chat is no longer active because is no longer an active workspace.. This causes difference in behavior for no apparent reason, since both types of chats can have content.
In the images below there’s the before and after the workspace deletion, where all chats had content. Note that only the non policy expense chat contain the last message preview.
### Solution
Use the same behaviour for all chats, so that it is consistent.
This workspace has been archived because XYZ
But this message will be trimmed in the preview.Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: