Conversation
|
Looks like you modified This file contains deprecated workarounds for limitations of Drop a note in #expensify-open-source to discuss with the team how to proceed. |
| // https://github.com/react-navigation/react-navigation/blob/94ab791cae5061455f036cd3f6bc7fa63167e7c7/packages/routers/src/DrawerRouter.tsx#L142 | ||
| const hasDrawerhistory = _.find(state.history || [], h => h.type === 'drawer'); | ||
| if (!hasDrawerhistory || currentState.type !== 'drawer') { | ||
| const drawerHistoryItem = _.find(state.history || [], h => h.type === 'drawer'); |
There was a problem hiding this comment.
More context about the changes in DeprecatedCustomActions.js this thread
yuwenmemon
left a comment
There was a problem hiding this comment.
LGTM and tests well! We have some conflicts though. Also, one thing I noticed is that the banner will show up again upon page refresh - wonder if we would want to have it only reappear after say, 1 week or something? I will bring it up in the issue (NAB for getting this PR out the door anyway)
|
Updated! Conflicts resolved :) |
|
Triggered auto assignment to @cead22 ( |
|
@yuwenmemon looks like this was merged without passing tests. Please add a note explaining why this was done and remove the |
|
Incorrect @MelvinBot |
|
✋ 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 @yuwenmemon in version: 1.2.11-0 🚀
|
|
Tested on staging and it's a pass 🎉 |
|
🚀 Deployed to production by @AndrewGable in version: 1.2.11-4 🚀
|
Render banner in Concierge chat
|
FYI, I believe this PR caused this bug: #13452 |
| { | ||
| props.shouldRenderHTML | ||
| ? <RenderHTML html={props.text} /> | ||
| : <Text style={[...props.textStyles]} onPress={props.onPress}>{props.text}</Text> |
There was a problem hiding this comment.
Hey, just noting that we should have used flexWrap to prevent text overflow on native.
Details
Adds a banner to the Concierge chat to direct managed users to their account manager chat.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/227162
Tests
./script/clitools.sh generator:domainxbutton and verify that the banner is closedPR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
The Contributor+ will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)QA Steps
Screenshots
Web
web.mov
Mobile Web - Chrome
Mobile Web - Safari
mweb.mov
Desktop
desktop.mov
iOS
ios.mov
Android
android.mov