-
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] 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can this be null/falsy?
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.
That is the way how we are getting reportActions through the whole application to prevent issues
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.
Hmmm you are right. I wonder why...
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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 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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari