-
Notifications
You must be signed in to change notification settings - Fork 3.5k
feat: add view parameter to search query grammar
#80541
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
feat: add view parameter to search query grammar
#80541
Conversation
|
@Krishna2323 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] |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@puneetlath adding you for a review here. |
|
🚧 @puneetlath has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
@mateuuszzzzz please also resolve the conflicts. |
|
@Krishna2323 I addressed your comments |
|
🚧 @puneetlath has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
Seems like the ESLint stuff is unrelated to this PR: https://expensify.slack.com/archives/C01GTK53T8Q/p1769031221464039 |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid_native.mp4Android: mWeb Chromeandroid_chrome.mp4iOS: HybridAppios_native.mp4iOS: mWeb Safariios_safari.mp4MacOS: Chrome / Safariweb_chrome.mp4 |
Krishna2323
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.
LGTM and tests well! 🚀
@puneetlath lets wait for a moment before merging, I have one last question from @mateuuszzzzz and then it can be merge.
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #80533 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
Let's add that when the view mode actually changes what the user sees. For now, let's leave it as kind of a "hidden" feature. |
|
@puneetlath looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Merged because the ESLint failing test is unrelated to the changes in this PR. |
|
✋ 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/puneetlath in version: 9.3.11-0 🚀
|
Explanation of Change
PR updates Search grammar to support new
viewparameter.It doesn't make use of this new param, but rather creates foundation for second PR that will implement
SearchBarChartcomponent (and render it whenview === 'bar'). New parameter defaults totable.Fixed Issues
$ #80533
PROPOSAL:
Tests
Since this PR updates the search grammar but doesn’t use it yet, please just make sure the current search feature works as expected and try out different search queries.
Offline tests
QA Steps
Same as tests
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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari