-
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
[NO QA] Feat: company cards empty state #47782
[NO QA] Feat: company cards empty state #47782
Conversation
…cards-empty-state
Reviewer Checklist
Screenshots/VideosAndroid: Native |
@@ -32,6 +33,7 @@ function WorkspaceCompanyCardPage({route}: WorkspaceCompanyCardPageProps) { | |||
shouldShowOfflineIndicatorInWideScreen | |||
> | |||
<View style={[styles.mt3, shouldUseNarrowLayout ? styles.workspaceSectionMobile : styles.workspaceSection]} /> | |||
<WorkspaceCompanyCardPageEmptyState route={route} /> |
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.
Can we consider rendering this based on condition or will it be handled in the next PR's?
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.
I think we'll be handling this in the next related PR's 👍
src/pages/workspace/companyCards/WorkspaceCompanyCardPageEmptyState.tsx
Outdated
Show resolved
Hide resolved
src/pages/workspace/companyCards/WorkspaceCompanyCardPageEmptyState.tsx
Outdated
Show resolved
Hide resolved
assets/images/simple-illustrations/simple-illustration__magnifyingglass-money.svg
Outdated
Show resolved
Hide resolved
@Pujan92 @shawnborton fixed images |
Instead of needing to do that, can't we just give the top part a fixed height? |
How about these changes @waterim ? emptyStateCardIllustrationContainer: {
height: 220,
},
emptyStateCardIllustration: {
width: 164,
height: 190,
}, illustrationStyle={styles.emptyStateCardIllustration}
illustrationContainerStyle={[styles.emptyStateCardIllustrationContainer, styles.justifyContentStart]} |
We can do this way too, will update now! |
@Pujan92 Updated |
Hm, I think so, yes |
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!
…cards-empty-state
@iwiznia friendly bump here - we need to get this moving forward - because some other PRs relate on this one. Thanks! |
Ionatan is out of office this week, maybe @robertjchen can do the secondary review? |
Yep, taking a look! |
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.
thanks!
✋ 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/robertjchen in version: 9.0.27-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.27-1 🚀
|
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
Mobile