-
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
Updated storybook to use new theme #17700
Updated storybook to use new theme #17700
Conversation
@roryabraham @fedirjh One of you needs to 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] |
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
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.
Looks good
.storybook/theme.js
Outdated
appContentBg: colors.greenAppBackground, | ||
textColor: colors.white, | ||
barTextColor: colors.white, | ||
barSelectedColor: colors.blueLink, |
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.
barSelectedColor: colors.blueLink, | |
barSelectedColor: colors.green, |
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.
.storybook/theme.js
Outdated
fontBase: 'ExpensifyNeue-Regular', | ||
fontCode: 'monospace', | ||
textInverseColor: colors.black, | ||
appBg: colors.greenAppBackground, |
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.
appBg: colors.greenAppBackground, | |
appBg: colors.greenHighlightBackground, |
.storybook/theme.js
Outdated
textColor: colors.white, | ||
barTextColor: colors.white, | ||
barSelectedColor: colors.blueLink, | ||
barBg: colors.greenHighlightBackground, |
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.
barBg: colors.greenHighlightBackground, | |
barBg: colors.greenAppBackground, |
cc @shawnborton , do have any feedback ? |
@fedirjh Applied your suggestions |
@alitoshmatov Could you please fix this : Screen.Recording.2023-04-20.at.6.53.28.PM.mov |
@fedirjh Updated, forgot to set dark mode. Styling dropdown is very limited and only texts could be styled. That is why black-ish background is here |
Reviewer Checklist
Screenshots/VideosMobile Web - ChromeN/AMobile Web - SafariN/ADesktopN/AiOSN/AAndroidN/A |
@shawnborton updated selected row color in sidebar |
Awesome, thanks! |
That sounds good to me |
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.
Little bump @roryabraham |
barSelectedColor: colors.blue, | ||
base: 'light', | ||
brandTitle: 'Expensify UI Docs', | ||
brandTitle: 'New Expensify UI Docs', |
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.
NAB Would be nice to alphabetize this
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.
Overall this code looks fine and tests well though, so I'm not going to delay merging on alphabetization of the style object.
✋ 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/roryabraham in version: 1.3.6-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.6-0 🚀
|
Details
This pr contains changes to update story book ui with new expensify theme
Fixed Issues
$ #16752
PROPOSAL: #16752 (comment)
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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 Web - Chrome
Mobile Web - Safari
Desktop
N/AiOS
N/AAndroid
N/A