-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Internal QA] Update Company Cards logic to show domain cards #61706
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
[Internal QA] Update Company Cards logic to show domain cards #61706
Conversation
…mpitable-corporate-cards
…mpitable-corporate-cards # Conflicts: # src/pages/workspace/WorkspaceInitialPage.tsx
@DylanDylann 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] |
Start on reviewing today |
@DylanDylann can you review this today? |
Reviewer Checklist
Screenshots/VideosScreen.Recording.2025-05-15.at.14.53.51.mov |
I see there are some places where we still use workspaceAccountID only. Should we update all these places to use getDomainOrWorkspaceAccountID Screen.Recording.2025-05-14.at.16.08.40.mov |
src/pages/workspace/companyCards/WorkspaceCompanyCardFeedSelectorPage.tsx
Outdated
Show resolved
Hide resolved
@puneetlath for safety, could you please trigger the ad-hoc build and invite the internal QA to test this PR? |
…mpitable-corporate-cards
🚧 @puneetlath has triggered a test app build. You can view the workflow run here. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
We have an issue with third party cards that is blocking me from testing it. Will hopefully be able to test them soon. |
@DylanDylann do you need anything else from me in order to 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.
LGTM
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.
Just one small comment from me @VickyStash
import useOnyx from './useOnyx'; | ||
import useWorkspaceAccountID from './useWorkspaceAccountID'; | ||
|
||
const useCardsList = (policyID: string | undefined, selectedFeed: CompanyCardFeed | undefined): [CardList | undefined, ResultMetadata<CardList>] => { |
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.
Could we add a comment explaining what this hook is for.
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.
Added small comment: f3f646e
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Performance Comparison Report 📊 (1/4)Significant Changes To Duration
Show details
|
Performance Comparison Report 📊 (2/4)Meaningless Changes To Duration (1/3)Show entries
Show details
|
Performance Comparison Report 📊 (3/4)Meaningless Changes To Duration (2/3)Show entries
Show details
|
Performance Comparison Report 📊 (4/4)Meaningless Changes To Duration (3/3)Show entries
Show details
|
@Expensify/mobile-deployers 📣 Please look into this performance regression as it's a deploy blocker. |
@VickyStash could you please look into those ^? |
@puneetlath I don't think this PR could affect the app start time. Also, the same was reported in other PRs:
|
@VickyStash This PR might have introduced this bug, can you look into it? |
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.46-12 🚀
|
Explanation of Change
Fixed Issues
$ #60978
PROPOSAL: N/A
Tests
Part 1:
Please test the steps on both the domain and workspace feeds.
Part 2:
Offline tests
N/A
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same, as in the Tests section.
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
MacOS: Chrome / Safari
Part 1:
web_test.mp4
web_test2.mp4
Part 2: