-
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
[Wave8] Create a Workspace Card #32339
[Wave8] Create a Workspace Card #32339
Conversation
@aimane-chnaif 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] |
Slack discussion: https://swmansion.slack.com/archives/C036QM0SLJK/p1701684433873469 |
Conclusions from slack discussion: For now two variants are OK - so |
Spanish translations slack thread: https://expensify.slack.com/archives/C01GTK53T8Q/p1701709855624649 |
@dannymcclain @shawnborton ready for your design check |
@dannymcclain @dubielzyk-expensify does the space between the headline and the text look right to you? I think I was imagining those would be closer. Here is what we had in Figma: |
I think that means we want a "normal" sized button in that card too, which is 40px tall |
Looks good to me! |
@shawnborton thanks, I adjusted and double checked everything you mentioned. Result: |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.mov |
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.
thanks, seems like @shawnborton has agreed with the design here too so just one question
import PropTypes from 'prop-types'; | ||
import React from 'react'; | ||
import {View} from 'react-native'; | ||
import Icon from '@components/Icon'; | ||
import useThemeStyles from '@hooks/useThemeStyles'; |
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.
Does this have some dependency which is not migrated to TS or can we make this in TS now?
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.
Maybe at the time of Section/index.js (originally Section.js) migration
✋ 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/mountiny in version: 1.4.15-0 🚀
|
@MaciejSWM could you help with QA steps?
We don't have access to Figma designs. Also which plus icon to click? |
@kavimuru you can chrck it off we will qa this in future prs once used |
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.15-5 🚀
|
icon: PropTypes.icon, | ||
IconComponent: PropTypes.IconComponent, | ||
iconContainerStyles: PropTypes.iconContainerStyles, |
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.
@MaciejSWM would you mind working on #25024?
As these are wrong prop types, we have console warning. TS migration should fix it.
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.
Bumped that issue
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 fixed that here @aimane-chnaif, funny enough you where chosen for C+ review 😸
Details
This PR introduces new Ideal Nav component:
WorkspaceCardCreateAWorkspace.tsx
.It's just the component for further use in Ideal Nav project. To render it somewhere, add the code below to
SidebarLinks.js
:Fixed Issues
$ #31766
PROPOSAL:
Tests
Plus
icon and theGet Started
button should have Touchable effects on them. On press behaviour is not part of this PR though - clicking them won't do anything so far.Offline tests
Tests
QA Steps
Plus
icon and theGet Started
buttons - validate that Touchable effects are visible.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)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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop