Closed quinthar closed 8 months ago
Job added to Upwork: https://www.upwork.com/jobs/~0143d329144a3feb35
Triggered auto assignment to @sonialiap (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Platforms
in OP are ✅)Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (External
)
This will be fixed here https://github.com/Expensify/App/pull/33490.
@sonialiap, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick!
@sonialiap, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick!
Done!
Actually reopening -- something seems weird about threads on system messages in the #admins room. Specifically, do all the original steps, and then check the new step at the end:
@cathy@croissants.com
Members
It seems like the thread from the #admins room is somehow inheriting the invite restrictions of #admins. Please remove this restriction and allow members of the thread to add/remove people at will, both via @mentions
and the Add/Remove button in the Members list.
Actually it looks like this restriction is on all threads of system messages: for some reason you can't add people to the thread after created, either by mention or the Members page.
Ok, so ya things are really screwed up with threading on system messages. There are multiple issues, I'll try to list them here.
1) Consider this #expensify-test-room, created by @nathanmetcalf:
2) Note how at the bottom it says invited @nathan.d.metcalf@gmail.com
:
3) When Nathan clicks into it, he sees this:
3) There are multiple problems. First, note how the header (and LHN) just says invited
-- it should show show invited @nathan.d.metcalf@gmail.com
, just like the original comment:
4) But when I click into it, I see this:
5) This has all the problems Nathan saw, but more. Check how the first message in the chat, which shows the parent that is being threaded from, shows some kind of phantom 6-reply thread (it should not be showing any replies there):
6) Needless to say, when I try to click into the phantom replies, it breaks:
7) Finally, it's not letting me invite/remove members from this thread:
Something seriously screwed up is happening, that is causing:
invited
for both of us, rather than invited @nathan.d.metcalf@gmail.com
invited @nathan.d.metcalf@gmail.com
, but mine shows invited @hidden
. @puneetlath This is likely due to some kind of isKnown issue, can you investigate this?Let's get some proposals for cleaning all this up.
His parent chat correctly shows invited @nathan.d.metcalf@gmail.com, but mine shows invited @hidden. @puneetlath This is likely due to some kind of isKnown issue, can you investigate this?
Agreed, it seems like this is because you don't "know" the user he invited. Though, hmm this is a worksapce room. So you should "know" all other room members. So it's more likely that it's that we aren't returning the personalDetails of the mentioned user when returning the reportAction.
I've posted this issue in expensify-bugs and in callstack
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
Hi, I'm Nicolay from Callstack - expert contributor group - and I will try to help here.
📣 @aimane-chnaif 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!
Thanks Nicolay! I'm going to assign you to the issue so that we can keep track who's working on this and to keep melvin-bot happy
@quinthar @puneetlath @aimane-chnaif Hey guys! Just some updates from my side: Seems we need to have some work with BE team.
invited
and to
. And just the same happened when we will invite 2 persons as well:Will write some FE logic to build correct naming for channels and threads as well
For the case of @hidden instead of real user name - seems that it's expected - because we show hidden if mentioned user is not logged in inside the system (you can see on the first image - that one user is @hidden and one already has previously logged in the app and admin already had some interaction with that user). @puneetlath were right that admin does not know "who you invited" - because we store information inside "personalDetails" - for the current user (in example just to @nathanmetcalf). That's why in example "@nathanmetcalf" sees correct name instead of @hidden, but admin does not know that user.
For the rest of the issues - seems most of the points were fixed before - i could not reproduce problem with ghost replies - neither in code no in the app. And also i can invite any new member either with @ or inside right panel in settings
Let me know if any of those points makes sense!
Hi there, thanks for that! I'm not 100% if you are waiting on answers. If so, can you please ask the specific questions in a numbered list, and tag who you are asking the question to? Thanks!
Also, can you give an ETA for completion? Can it be done by Monday? Thanks!
Hey @quinthar ! Yup i think we will be good to go here before Monday for sure.
Can you give a new ETA? Can we get this merged today?
Can you give a new ETA? Can we get this merged today?
Hey! It's mostly depends when @aimane-chnaif will take a review - PR opened since last friday
@aimane-chnaif What's your ETA? Can we finish the review and merge today?
started review. will complete today
Did you complete yesterday? What's the update?
Triggered auto assignment to @blimpich, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
review completed with some NAB comments
Ok, so what's next? It's sat for 12 hours with no blockers, what is stopping us from merging it?
@quinthar after Aimane reviews the PR it passes on to the Contributor Manager Engineer (who is me in this case) for final review. Aimane finished their review in the wee hours of the morning PST time, so it sat there for 12 hours because I didn't get to it till this morning. Here is my review. I left some comments, so we are now waiting for those to be addressed, and then we can merge.
Merged ✅
Woohoooo!!!!!
⚠️ Looks like this issue was linked to a Deploy Blocker here
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.4.31-7 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-02-01. :confetti_ball:
For reference, here are some details about the assignees on this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
This is not bug but feature.
Problem: Our chat-centric design is to allow you to chat on basically anything. However, right now you can't thread up a response to a system message, for no clear reason. One specific place this is a limitation is when there is a system message in the #admins room -- such as when someone adds an outsider to a room. By not allowing threading, we disrupt the most natural place to discuss this with the employee.
Solution: Enable threading on all system messages from a user, exactly as if they had manually posted that same message as a comment. This means:
So far as I know this should be doable entirely on the client side without any back-end work. However, if you determine that's not true (and if you need some back end help) please just let us know.
Test: Verify:
Alice's Apples
#bagel-lovers
that Alice is not in#bagel-lovers
Alice's Apples
saying:Bob invited Cathy to #bagel-lovers
Upwork Automation - Do Not Edit