-
Notifications
You must be signed in to change notification settings - Fork 3.5k
seprate subtitle from title #77914
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
base: main
Are you sure you want to change the base?
seprate subtitle from title #77914
Conversation
|
Will add the android and mweb screenshots shortly. |
|
@Pujan92 I was running into an issue with long subtitles wrapping into two lines.
|
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
joekaufmanexpensify
left a comment
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.
Change makes sense 👍
|
@dannymcclain can you plz help with comment |
|
On second thought maybe given the long emails and potentially long Workspace names it makes more sense two truncate after two lines |
|
Sorry, this got delayed due to the holidays. I’ll update today. |
|
@Pujan92 I have updated the code according to the design. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
Can we get some screenshots with a short and long versions? |
|
Would love to see some updated screenshots but agree with all of Jon's feedback (font sizes/colors & truncating after two lines) 👍 |
|
Both of those looks fine to me! @dubielzyk-expensify do you have a preference for one vs two lines? |
|
Looks good to me. I think we should allow for two lines when it has too many characters and let it be one line when it's shorter. LGTM 👍 |
|
Thanks @dannymcclain and @dubielzyk-expensify. @Nodebrute Plz revert the number of lines change as we need to keep 2 lines for longer text. |
|
@Pujan92 pr is ready for review. |







Explanation of Change
Fixed Issues
$ #76669
PROPOSAL: #76669 (comment)
Tests
Offline tests
Same as above
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
editable version

Android: mWeb Chrome
iOS: Native
non-editable version

editable version

iOS: mWeb Safari
non-editable version

editable version

MacOS: Chrome / Safari
editable version