[NO QA] Feat: Pending state with no feed#48489
Conversation
|
What's the size of the illustration in the card? It looks a bit small on mobile especially |
|
Agree, it does feel small. I see it as 233x162 in Figma. |
|
🖥️ 🐜 |
Reviewer Checklist
Screenshots/VideosMacOS: Desktop |
src/pages/workspace/companyCards/WorkspaceCompanyCardsFeedNoFeedPendingPage.tsx
Outdated
Show resolved
Hide resolved
|
@Pujan92 Only the first one from the bullet points Im not doing, because we will generate the default name in the creation flow when APi will be available |
@waterim We need to make this change to update the size of illustration based on figma. |
|
And just to confirm, are the latest screenshots in the orignal post above? They look good to me besides these card image updates we need to do. |
|
Can we see some updated screenshots? Then I think this will be good to merge. Thanks! |
|
Were all of the card images updated? I think we updated everything to use the upper right area of the card image for the brand's respective logo. |
|
@shawnborton oh get it, updated |
|
Much better, thanks! Going to approve this from a design perspective. @iwiznia anything else needed? |
|
Ah yes, seems like there's an ESLint error. @waterim can you fix it please? |
|
@iwiznia Updated here this deprecated lint error |
| key: ONYXKEYS.COLLECTION.REPORT_ACTIONS, | ||
| waitForCollectionCallback: true, | ||
| callback: (actions) => { | ||
| if (!actions) { |
There was a problem hiding this comment.
How can this be null/falsy?
There was a problem hiding this comment.
That is the way how we are getting reportActions through the whole application to prevent issues
There was a problem hiding this comment.
Hmmm you are right. I wonder why...
There was a problem hiding this comment.
But agree that your statement makes sense here, maybe to prevent any issues when undefined can come, not a Record for some reason
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
| Policy.openPolicyCompanyCardsPage(policyID, workspaceAccountID); | ||
| }, [policyID, workspaceAccountID]); | ||
|
|
||
| useFocusEffect(fetchCompanyCards); |
There was a problem hiding this comment.
@waterim do we really need to call this api on focus, shouldn't it only call on the mount of the component? Bcoz I think other onyx data will be updated with the WRITE api responses.
|
🚀 Deployed to staging by https://github.com/iwiznia in version: 9.0.38-0 🚀
|
|
🚀 Deployed to production by https://github.com/grgia in version: 9.0.38-4 🚀
|










Details
Fixed Issues
$ #47376
PROPOSAL: N/A
Tests
Test with collect Plan:
Offline tests
Same as tests
QA Steps
None
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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari