-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
added check to make sure workspace chat report belongs to user #9213
Conversation
Will add the videos and update PR checklist in a while. Thanks |
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.
LGTM!
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.
Changes look good and tests well! Holding on checklist items and videos!
@luacmartins This is interesting while testing this on Android and IOS though they are invited members to a workspace FAB shows a workspace option. Is it normal or something is going wrong. Also when the user logged in the workspace chat in the App didn't open. 3.New.Expensify.mp4 |
I don't think neither of those are expected. Users that are invited should not see the |
Ok, so I looked into the issue and figured out that things are happening exactly the way they should happen but the only blocker is it is not redirecting to the workspace chat. About showing the workspace option in the FAB menu it is as per the logic here. I am not able to figure out why it is not redirecting to the workspace chat? In the logs, we can see that it is logging redirecting to workspace chat(Report id 238). To confirm this further I created a new account and logged into it and it didn't redirect to Concierge chat. Also don't know if we have to show the |
This is weird and the only thing that I can think of is some bug with
Hmm @trjExpensify can you confirm if first time users invited to a Workspace should see the |
@luacmartins If you have any free time can you please look into the navigation part is it the same for you? |
I tried to test this again, but did not experience navigation issues. I'll go ahead and merge this and we can look again if the problem is not solved. |
@luacmartins looks like this was merged without passing tests. Please add a note explaining why this was done and remove the |
Tests were passing. Not an emergency. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Sorry for the delay, I've been OoO! I don't recall that getting locked down in N6 tbh. |
🚀 Deployed to staging by @luacmartins in version: 1.1.72-0 🚀
|
🚀 Deployed to production by @yuwenmemon in version: 1.1.73-2 🚀
|
Details
When an admin creates a new workspace and invites a member when the member logs in the workspace chats are not shown to the user.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/211216
Tests
Manage Members > Invite
.PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
displayName
propertythis
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followed/** comment above it */
displayName
propertythis
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)QA Steps
Manage Members > Invite
.Screenshots
Web
1.New.Expensify.mp4
Mobile Web
Desktop
iOS
Android