-
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
Implement Search ListItems and table header #41347
Conversation
@rayane-djouah are you able to build IOS without error |
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.
changes LGTM, have we created issues for all the follow ups?
Coming from here should we sort by date descending to begin with? The transactions feel randomly organized right now |
let columnWidth; | ||
switch (columnName) { | ||
case CONST.SEARCH_TABLE_COLUMNS.DATE: | ||
columnWidth = getWidthStyle(variables.w44); |
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 these variables are typically named by their use, so like variables.dateColumnWidth
Yes, I'm able to. I merged Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-05-03.at.11.18.10.mp4 |
Gonna merge this one to get the feature out and then create a follow up to address the remaining issues. Thanks for the reviews everyone! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@shawnborton I don't see that, which version are you using? Could you try this adhoc build? #40293 (comment) |
Yup I am using that adhoc build and noticed this. |
Hmm I didn't test it with a mouse but I also just see the scrollbar below the header Screen.Recording.2024-05-03.at.2.40.02.PM.mov |
@shawnborton do you see an additional right padding on the header? I see this padding, which makes the alignment correct |
Try testing it with a mouse though - I think the mouse creates that fixed scrollbar that is pushing the table to be over to the left a bit. |
Sounds good! |
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.71-6 🚀
|
Details
Introduces the TransactionListItem and SearchTableHeader to show list items in the search page
Fixed Issues
$ #39876
$ #39877
Tests
Profile > Troubleshoot > New Search Page
Offline 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 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./** 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
)Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop