-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Fix available workspace logic #60872
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
Conversation
@rayane-d I'll add videos tomorrow. Please start reviewing though |
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
@rayane-d updated! let's continue review |
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.
The test is passing as expected 👍
recording.mov
@luacmartins I encountered an issue, possibly not related to the changes in this PR, in step 8: the "changed the workspace to..." report action appears in both the workspace chat and the expense report: ![]() ![]() |
hmm that's weird. Let me take a look |
I fixed that issue, but I see a failing test now and I also saw another issue where the wrong report preview gets updated, so I'll look at that next. |
@rayane-d the other issue I spotted above seems to be a BE issue and I'll address that separately. Please continue reviewing this one. |
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 and tests well 👍
@rushatgabhane feel free to continue reviewing it as well |
@rayane-d does it still need my review? I read the code and done some tests. But it looks like you've completed the checklist so should I further invest my time here? |
Chatted with @rushatgabhane 1:1 and he'll get the next review. Thanks for the effort everyone! |
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.
Code LGTM
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.1.42-0 🚀
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.1.43-5 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.1.44-8 🚀
|
Explanation of Change
Simplifies the logic for the
Change workspace
action and update tests.Fixed Issues
$ #59876
Tests
Pre-conditions:
Add approvals
and approver set to approver accountChange workspace
optionChange workspace
optionChange workspace
optionChange workspace
optionChange workspace
optionChange workspace
optionChange workspace
optionChange workspace
optionOffline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectioncanBeMissing
param foruseOnyx
toggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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
MacOS: Chrome / Safari
MacOS: Desktop