-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix bug to show the secondary avatar when the repost is is a policy expense chat #30068
Conversation
@cubuspl42 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
@wlegolas Ping me when you finish the checklist |
Sure @cubuspl42, I'm trying to run the mobile app but I've been having problems running the IOS and Android apps. Do you know how I can have access to Stackoverflow for example this URL here https://stackoverflow.com/c/expensify/questions/13283/13284#13284? |
@wlegolas Typically, external contributors don't access Expensify's StackOverflow Teams. If you're having technical issues, you can start a thread on Slack. You can mention me in that thread. |
Hi @cubuspl42 I requested access to Slack, when I get the access I'll start a thread. Thank you Just another question, about doing a test with a “high traffic” account, I requested to change my account and did the same steps to validate my fix, and worked. Is there a specific test scenario that I have to do with the high traffic? |
@wlegolas Don't bother too much with the high-traffic tests here. There are some issues where this is important, but it nearly certainly won't affect us here. The last checkbox of the checklist is quite tricky...
Sometimes, the checkboxes don't apply to a given PR. It's always better to be biased toward the interpretation that they do, but if it's clear that they don't, well, then they don't. Let's focus on testing all the supported platforms (with videos). |
Hi @cubuspl42 thank you for clarifying and for all context. I've been having problems running the app on Android, in the README there is the step below, but this link is related to Expensify's StackOverflow Teams.
I requested access to Slack but I haven't received my invite yet. I'm waiting for this access to finish this last test. If you have any information that helps me with this, I'll be happy to know. |
Have you tried running After you do, go for a walk or pick up some other work, as it takes an eternity (especially if you don't own high-end hardware). |
I ran I'll follow your suggestion to go for a walk because this process is taking a while. Thank you. |
I finished the tests on all devices and updated the PR with the videos, and I finished my checklist, thank you for your help on it. One question, when I tried to run the application for IOS, I needed to configure my environment, I followed the section "Running the iOS app 📱" in the README file, but to solve the problem with file permission I used this article How to solve FilePermissionError after installing rbenv on Mac. Could I update the README file by adding this article? If you disagree, don't worry, I'm just sharing this because it helped me a lot to solve my problem. |
About updating README, you can share your experience on Slack when you have access and see what others think. |
Makes more sense. I'm done, if you have any questions or suggestions, please let me know. Thank you for your support. |
You should make clear what's the expected behavior in the testing steps. You can check how testing steps look in other PRs, this is my PR I had at hand. |
Thank you for your feedback @cubuspl42. I thought that the last step was the expected behavior that we wanted, so I changed it to have the expected behavior as a checkbox item. |
We have a primary (large) and secondary (small) avatar, we should make clear which is which. I think that "split bill avatar" is a ambiguous |
-> Press the "Split" button beside the workspace name, press "Add to split" and confirm the split summary |
I changed it to be more clear using your suggestion, would you validate if is more clear to you, please? |
It's better
You're saying what "does" happen, while we should phrase it as "Ensure that..." |
NETWORK: 'network', | ||
}; | ||
|
||
describe('ReportActionItemSingle', () => { |
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.
@techievivek I approved this, but I'd like to double-check if you think the added tests are well-formed and fit well into Expensify conventions. This is the first big unit test I've received as a C+.
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.
Yeah, it looks good to me —great job @wlegolas, for adding the tests.
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.
Hi @techievivek thank you.
@cubuspl42 thank you so much for all your suggestions. |
This is my job 🙃 |
The step "CLA Assistant / CLA (pull_request_target)" failed but I've done the process to agree with the CLA. Should I need to do something else? |
9a90825
to
b1a5399
Compare
…policy expense chat Signed-off-by: Weslley Alves <[email protected]>
…ort is a policy expense chat Signed-off-by: Weslley Alves <[email protected]>
Signed-off-by: Weslley Alves <[email protected]>
Signed-off-by: Weslley Alves <[email protected]>
…account from the parameters Signed-off-by: Weslley Alves <[email protected]>
Signed-off-by: Weslley Alves <[email protected]>
Signed-off-by: Weslley Alves <[email protected]>
b1a5399
to
df0bc88
Compare
@techievivek I fixed the Prettier issues, you can see the changes in the commit df0bc8861 Also, I had configured my Thank you for informing this @techievivek |
Hi @cubuspl42 and @techievivek I finished all suggestions and settings. Looks like now the only required step is the PR approval. Is this PR ok for you to give me approval? |
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.
Looks good, thanks for the changes and tests. 🙇
Going to merge it since @cubuspl42 already approved it earlier. |
✋ 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 https://github.com/techievivek in version: 1.3.91-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.91-8 🚀
|
Details
When I user requests money and splits it into a workspace, in workspace chat the split bill avatar displays the default profile sub avatar and on hovering on it, it displays the same user tooltip.
Fixed Issues
$ #29614
PROPOSAL: #29614 (comment)
Tests
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
Android: Native
bug-evidence-issue-29614-Android-native.mov
Android: mWeb Chrome
bug-evidence-issue-29614-android-mWeb-Chrome.mp4
iOS: Native
bug-evidence-issue-29614-iOS-native.mov
iOS: mWeb Safari
bug-evidence-issue-29614-iOS-mWeb-Safari.mov
MacOS: Chrome / Safari
bug-evidence-issue-29614.mp4
Added tests to validate this issue
![image](https://private-user-images.githubusercontent.com/698363/276892807-36002e03-08f3-48bd-82e4-459b5791da1e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MjcyMDcsIm5iZiI6MTczOTUyNjkwNywicGF0aCI6Ii82OTgzNjMvMjc2ODkyODA3LTM2MDAyZTAzLTA4ZjMtNDhiZC04MmU0LTQ1OWI1NzkxZGExZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQwOTU1MDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xNDk4MTY3OTAzN2Q1NjI0NGE2MzRiZjZhMzUwMzFmOWE5ODVhMzYzOGZmZWU5Y2QxNTBkMjU0YmE2M2FmODVkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.4a5a4K1d2mJkhUvOaYSF6-nOoNLtwDrypIj2SmqivLk)
MacOS: Desktop
bug-evidence-issue-29614-desktop-app.mov