-
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
Invite user to workspace via invite link #37525
Invite user to workspace via invite link #37525
Conversation
# Conflicts: # src/types/onyx/Policy.ts
# Conflicts: # src/types/onyx/Policy.ts
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.
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.
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.
We need to hide the buttons once a user chooses either accept or decline
I think when API fill be working - this buttons will automatically be hidden - because it will remove 'ACTIONABLEJOINREQUEST' - from action type of the message |
Requested access to design doc. Will begin reviewing today :) |
# Conflicts: # src/libs/actions/Policy.ts
Something strange with GH - send 2 commits - and they did not appeared, and also already merged main to branch and resolve conflicts - but GH is not view that |
github is having sync issues. |
@rushatgabhane I shared the doc with you |
# Conflicts: # src/pages/home/report/ReportActionItem.tsx
@luacmartins @narefyev91 small bug ^ Again, I think this is because the backend send empty onyxData. |
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.
@luacmartins LGTM! tested after resolving the tiny conflict.
Checklist - #37525 (comment)
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! We're still investigating the crash on Decline, but that is a backend issue
@luacmartins looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
shhh melvin. all tests pass |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
What's up with this tests not passing stuff. I'm seeing that a lot lately, but all tests were passing when I merged. |
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.4.49-0 🚀
|
@luacmartins is it possible that the tests pass on this branch but not after merging it into |
I think we have some issue with GH secrets not being available when we run the action after merging the PR from a contributor's fork. We're working on it |
🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.50-5 🚀
|
rowStyles={hovered && styles.hoveredComponentBG} | ||
layoutWidth={isSmallScreenWidth ? CONST.LAYOUT_WIDTH.NARROW : CONST.LAYOUT_WIDTH.WIDE} | ||
layoutWidth={isLessThanMediumScreen ? CONST.LAYOUT_WIDTH.NARROW : CONST.LAYOUT_WIDTH.WIDE} |
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.
Coming from #38058
Small bug. The back button shows in medium screen also
} | ||
const isPolicyMember = PolicyUtils.isPolicyMember(policyID, policies as Record<string, Policy>); | ||
if (isPolicyMember) { | ||
Navigation.goBack(undefined, false, true); |
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.
import type * as OnyxCommon from './OnyxCommon'; | ||
|
||
type PolicyJoinMember = { | ||
/** Role of the user in the policy */ |
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.
Hmm "Role of the user" is stored in policyID
? Should this be updated?
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.
Yes, it should. Thanks for noticing this! #41462
Details
Implement the invite flow from the Simplified Collect: Profile, Members, Categories design doc
Fixed Issues
$ #36946
PROPOSAL: #36946
Tests
Preconditions:
For user:
For Admin:
Offline tests
For user:
For admin:
QA Steps
Preconditions:
For user:
For Admin:
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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
ios-web-user.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop