-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[NO QA] Send logins in openReport API command #20547
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
[NO QA] Send logins in openReport API command #20547
Conversation
| userToInvite = createOption([fakeAccountID], optimisticDetails, null, reportActions, { | ||
| showChatPreviewLine, | ||
| }); | ||
| userToInvite.isOptimisticAccount = 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.
Not sure if this is needed anymore 🤔
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.
No usages really. Only for backend?
…App into beaman-handleOptimisticReportCreation
|
LGTM 👍 |
|
Lint failing |
|
@0xmiroslav thanks - fixed |
0xmiroslav
left a 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.
| userToInvite = createOption([fakeAccountID], optimisticDetails, null, reportActions, { | ||
| showChatPreviewLine, | ||
| }); | ||
| userToInvite.isOptimisticAccount = 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.
No usages really. Only for backend?
| /** | ||
| * Given a list of logins, find the associated personal detail and return related accountIDs. | ||
| * | ||
| * @param {Array<string>} logins Array of user logins |
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.
NAB:
| * @param {Array<string>} logins Array of user logins | |
| * @param {Array<String>} logins Array of user logins |
I see lots of String and string inconsistencies through the whole project
| /** | ||
| * Given a list of accountIDs, find the associated personal detail and return related logins. | ||
| * | ||
| * @param {Array<number>} accountIDs Array of user accountIDs |
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.
Same here:
| * @param {Array<number>} accountIDs Array of user accountIDs | |
| * @param {Array<Number>} accountIDs Array of user accountIDs |
|
Checklist (both Author and Reviewer) doesn't need to be filled? |
|
@0xmiroslav thanks so much for the review, I'll make those updates in the base branch - and correct checklist isn't needed for this PR, will definitely be needed for base branch PR |
|
🚀 Deployed to staging by https://github.com/Beamanator in version: 1.3.29-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.29-11 🚀
|

Details
Although we recently thought it would be best to send accountIDs in the OpenReport request, this would result in many backend changes (mainly because we create closed accounts for new chats w/ brand new accounts, and we have weird authToken logic to get emails from closed account IDs)
Fixed Issues
$ related to #19007
Tests
Minimal tests here needed b/c we'll do full tests in the base branch
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly 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)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android