Migrate search page to chat finder page#40129
Conversation
1777e80 to
46b6a09
Compare
luacmartins
left a comment
There was a problem hiding this comment.
Looking good. Left a few minor comments and asked for marketing input.
| const tests: Tests = { | ||
| [E2EConfig.TEST_NAMES.AppStartTime]: require('./tests/appStartTimeTest.e2e').default, | ||
| [E2EConfig.TEST_NAMES.OpenSearchPage]: require('./tests/openSearchPageTest.e2e').default, | ||
| // ASK: Should we also update this name? |
There was a problem hiding this comment.
Yes, I think we can update this one since it's just a require``
| const test = () => { | ||
| // check for login (if already logged in the action will simply resolve) | ||
| console.debug('[E2E] Logging in for search'); | ||
| console.debug('[E2E] Logging in for chat finding'); |
There was a problem hiding this comment.
| console.debug('[E2E] Logging in for chat finding'); | |
| console.debug('[E2E] Logging in for chat finder'); |
| } | ||
|
|
||
| console.debug('[E2E] Logged in, getting search metrics and submitting them…'); | ||
| console.debug('[E2E] Logged in, getting chat finding metrics and submitting them…'); |
There was a problem hiding this comment.
| console.debug('[E2E] Logged in, getting chat finding metrics and submitting them…'); | |
| console.debug('[E2E] Logged in, getting chat finder metrics and submitting them…'); |
| // ASK: Should we also update this name? | ||
| CHAT_FINDER_RENDER: 'chat_finder', |
There was a problem hiding this comment.
Hmm it seems like we save this metric to Firebase and Grafana. So Maybe we should just rename the key, but leave the value as is.
| // ASK: Should we also update this name? | |
| CHAT_FINDER_RENDER: 'chat_finder', | |
| CHAT_FINDER_RENDER: 'search_render', |
| // ASK: Should we also update this name? | ||
| Timing.end(CONST.TIMING.CHAT_FINDER_RENDER); | ||
| Performance.markEnd(CONST.TIMING.CHAT_FINDER_RENDER); |
There was a problem hiding this comment.
Yea, I think we should update the key, but leave the value of the key as is.
| // ASK: Should we also update this name? | |
| Timing.end(CONST.TIMING.CHAT_FINDER_RENDER); | |
| Performance.markEnd(CONST.TIMING.CHAT_FINDER_RENDER); | |
| Timing.end(CONST.TIMING.CHAT_FINDER_RENDER); | |
| Performance.markEnd(CONST.TIMING.CHAT_FINDER_RENDER); |
| // ASK: Should we also update this name? | ||
| Timing.start(CONST.TIMING.CHAT_FINDER_RENDER); | ||
| Performance.markStart(CONST.TIMING.CHAT_FINDER_RENDER); |
There was a problem hiding this comment.
| // ASK: Should we also update this name? | |
| Timing.start(CONST.TIMING.CHAT_FINDER_RENDER); | |
| Performance.markStart(CONST.TIMING.CHAT_FINDER_RENDER); | |
| Timing.start(CONST.TIMING.CHAT_FINDER_RENDER); | |
| Performance.markStart(CONST.TIMING.CHAT_FINDER_RENDER); |
| navigation={navigation} | ||
| > | ||
| <HeaderWithBackButton | ||
| // ASK: What text do we want to use for the title? |
There was a problem hiding this comment.
Once we resolve that, I'll record videos for this PR :)
There was a problem hiding this comment.
@luacmartins can you actually bring this question out into #marketing? This seems like a slightly larger change that we should discuss and align on first in Slack. Thanks!
| // ASK: Should we also update this name? | ||
| OpenChatFinderPage: 'Open chat finder page TTI', |
There was a problem hiding this comment.
Yea, we should. I don't think this value is being saved anywhere (at least I couldn't find that in code)
|
@alitoshmatov 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] |
luacmartins
left a comment
There was a problem hiding this comment.
LGTM! I won't block on the copy for the search page title as that's an easy thing to update as a follow up.
|
@alitoshmatov could you start the review on this one please? |
|
There is an issue when typing, typing stops and input is losing focus unexpectedly. Screen.Recording.2024-04-17.at.12.28.32.AM.mov |
This issue isn't caused by this PR, it also occurs on the main branch. The PR with a fix for that issue is currently in review :) |
Reviewer Checklist
Screenshots/VideosAndroid: Nativehttps://github.com/Expensify/App/assets/59907218/e36d18f4-8478-4898-81b7-0157e728d8f7Android: mWeb ChromeiOS: Nativefind-ios.mp4iOS: mWeb Safarifind-safari.mp4 |
|
Gonna merge this one to get things going with the Search page. I'll bump marketing on the new title for the Finder page. |
|
✋ 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/luacmartins in version: 1.4.63-0 🚀
|
|
It looks like the e2e performance tests have been consistently failing since this PR was merged. See failed e2e test here for this PR that happened once this change hit main. I found this out by looking at the list of builds for |
|
@adamgrzybowski @WojtekBoman could you take a look? |
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.63-21 🚀
|



Details
This PR request renames the current search page to ChatFinder.
Fixed Issues
$ #39885
PROPOSAL:
Tests
Offline tests
QA Steps
First test
/chat-finderand see if the right page is openedSecond test
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
web.mov
MacOS: Desktop
desktop.mov