-
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
Design clean-up and consistency across expense reports and requests #26503
Design clean-up and consistency across expense reports and requests #26503
Conversation
…/26138-design-clean-up-report-request
…/26138-design-clean-up-report-request
This reverts commit 5e66460.
…/26138-design-clean-up-report-request
Needs a clarification how to make money requests like whispers 🧐 |
@shawnborton @rushatgabhane 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] |
They should not be as whispers, only the Receipts are and they already are like that I think |
Continue working within another PR - #26603. |
Details
The app has several inaccuracies for previewing a description and merchant of expense reports and expense requests. Also, we are fixing the whisper effect on messages and removing right carets form all report and request previews.
NOTE: the initial proposal has more items to implement, but not all of them were decided to fix. Please read the "Tests" block below to check all fixed scenarios.
Fixed Issues
$ #26138
PROPOSAL: #26138 (comment)
Tests
1. We're showing right carets for all report and request previews, when instead right carets should be removed from all request and report previews.
2. Similarly,
IOU
reports are showing the merchant when they should instead be showing the description (becauseIOUs
always have the same merchant, which is **Request**).3. When a merchant name exists for an expense / request preview, we only show the merchant.
4. Normal "Cash" requests are missing the
X requests
logic.5. Cards are no visible when they are inside "Only visible for you" message.
Offline tests
Same as "Tests"
QA Steps
Same as "Tests"
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
1. We're showing right carets for all report and request previews, when instead right carets should be removed from all request and report previews.
2. Similarly,
IOU
reports are showing the merchant when they should instead be showing the description (becauseIOUs
always have the same merchant, which is **Request**).3. When a merchant name exists for an expense / request preview, we only show the merchant.
4. Normal "Cash" requests are missing the
X requests
logic.5. Cards are no visible when they are inside "Only visible for you" message.
Mobile Web - Chrome
1. We're showing right carets for all report and request previews, when instead right carets should be removed from all request and report previews.
2. Similarly,
IOU
reports are showing the merchant when they should instead be showing the description (becauseIOUs
always have the same merchant, which is **Request**).3. When a merchant name exists for an expense / request preview, we only show the merchant.
4. Normal "Cash" requests are missing the
X requests
logic.5. Cards are no visible when they are inside "Only visible for you" message.
Mobile Web - Safari
1. We're showing right carets for all report and request previews, when instead right carets should be removed from all request and report previews.
2. Similarly,
IOU
reports are showing the merchant when they should instead be showing the description (becauseIOUs
always have the same merchant, which is **Request**).3. When a merchant name exists for an expense / request preview, we only show the merchant.
4. Normal "Cash" requests are missing the
X requests
logic.5. Cards are no visible when they are inside "Only visible for you" message.
Desktop
1. We're showing right carets for all report and request previews, when instead right carets should be removed from all request and report previews.
2. Similarly,
IOU
reports are showing the merchant when they should instead be showing the description (becauseIOUs
always have the same merchant, which is **Request**).3. When a merchant name exists for an expense / request preview, we only show the merchant.
4. Normal "Cash" requests are missing the
X requests
logic.5. Cards are no visible when they are inside "Only visible for you" message.
iOS
1. We're showing right carets for all report and request previews, when instead right carets should be removed from all request and report previews.
2. Similarly,
IOU
reports are showing the merchant when they should instead be showing the description (becauseIOUs
always have the same merchant, which is **Request**).3. When a merchant name exists for an expense / request preview, we only show the merchant.
4. Normal "Cash" requests are missing the
X requests
logic.5. Cards are no visible when they are inside "Only visible for you" message.
Android
1. We're showing right carets for all report and request previews, when instead right carets should be removed from all request and report previews.
2. Similarly,
IOU
reports are showing the merchant when they should instead be showing the description (becauseIOUs
always have the same merchant, which is **Request**).3. When a merchant name exists for an expense / request preview, we only show the merchant.
4. Normal "Cash" requests are missing the
X requests
logic.5. Cards are no visible when they are inside "Only visible for you" message.