-
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
[NO QA] Send logins in openReport API command #20547
[NO QA] Send logins in openReport API command #20547
Conversation
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 |
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.
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 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)/** comment above it */
this
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)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
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android