-
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
[VIP-Travel] Trip room summary #41659
Conversation
@shubham1206agra 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] |
import type {Reservation, ReservationTimeDetails} from '@src/types/onyx/Transaction'; | ||
|
||
// TODO: to be removed once backend is ready | ||
const testReservationsList: Reservation[] = [ |
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 you expand this test to cover all modes, i.e, car, rail, misc?
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.
@rushatgabhane Can you confirm me whether you are working on this or not?
The first image is from figma so it looks good 😄
@shawnborton thank you! Let me fix it to match figma |
@rushatgabhane Bump here. |
@shubham1206agra waiting on newDot to receive backend data - https://expensify.enterprise.slack.com/archives/C05S5EV2JTX/p1715299637326109?thread_ts=1714773700.569819&cid=C05S5EV2JTX |
It's still not quite right. We are using 4px gaps between the three lines. The top line should be 16px tall since our label font uses a 16px line height. The middle line should be 20px tall since our regular font uses a 20px line height. And the bottom line should be 14px tall since our micro font size uses a 14px line height. |
@stitesExpensify all done! Ready for a review again. |
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! @shubham1206agra can we get another review here and the checklist please?
color used for icon is @shubham1206agra verified it here - #38808 (comment) |
@rushatgabhane @shubham1206agra Yup—the container around the icon should use our |
@dannymcclain i just merged latest |
80cd508
@shawnborton mind taking a look and making sure you like the UI here? :) |
Yup all good on my end, we can do another pass at design review in the other PR that is outstanding. |
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!
✋ 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 production by https://github.com/luacmartins in version: 1.4.81-11 🚀
|
const styles = useThemeStyles(); | ||
const {translate} = useLocalize(); | ||
|
||
const tripTransactions = ReportUtils.getTripTransactions(tripRoomReportID); |
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.
Just noticed this, but I think this will not trigger a re-render of the component if the transaction gets updated.
We forgot to handle the name of ReportPreview in this room. More details #45344 |
Details
Fixed Issues
$ #37825
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.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
Backend having some performance issues, so im not getting pusher updates.
MacOS: Chrome / Safari
MacOS: Desktop