Open IuliiaHerets opened 4 days ago
Triggered auto assignment to @MariaHCD (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
Triggered auto assignment to @kadiealexander (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
💬 A slack conversation has been started in #expensify-open-source
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Looks like this can be a follow up improvement as part of the Search project. This doesn't need to block the deploy.
cc: @luacmartins
The input shows report ID instead of report name.
The input displays the current query which has the report ID.
If we choose the contextual search item, I think we also should call onSearchSubmit
instead of changing the text input. To do that we can remove this code
If we want to display the text input after selecting this option, we should separate the text input value and the query.
Here we should add another field that is the input query name that will have the format type:chat in:reportName
https://github.com/Expensify/App/blob/780e09e10fbd33f9806e5e1b30a22bd3703de742/src/components/Search/SearchRouter/SearchRouterList.tsx#L123
Then here if we select this option we will pass both query and query name here
SearchRouter
, we will create another state is the query
and update text input is the query name and query
state is the query. If the user type in the input the query and text input will be the same.query
state instead of text input value state
https://github.com/Expensify/App/blob/780e09e10fbd33f9806e5e1b30a22bd3703de742/src/components/Search/SearchRouter/SearchRouter.tsx#L180This is intentional https://github.com/Expensify/App/pull/49457#discussion_r1783115049
It's not that easy to implement this, this feature would require us to have some sort of autocomplete which is the main thing we will be working on in Search 2.5. I suggest taking off the bug label and adding it to Search 2.5 issue list. WDYT @luacmartins @lakchote
Agree that this is intentional and is being tracked here. That being said, I'll remove it from the list in https://github.com/Expensify/App/issues/50250 and use this standalone issue to track it instead.
Current assignee @kadiealexander is eligible for the NewFeature assigner, not assigning anyone new.
@luacmartins please assign me instead of Jakub to this Issue, we shuffled around.
We will start the "autocomplete" part of v2.5 with this task, because the in
(and/or reportID
) autocomplete is the only one that is much more complex than the rest.
The main reason is that for for:
and to:
filters we are able to find:
accountID
accountID
by user's emailSo we can easily switch from the version of StringQuery with id
, and the "human readable" version of query with emails.
This is impossible with reports and chats, because they can have the same name in different policies, and also change names when they are edited. We will have to keep the version of query with id (to be able to send it to api) while displaying to the user modified query with the nice, human readable values.
Done!
@Kicu, @luacmartins, @kadiealexander, @rayane-djouah Whoops! This issue is 2 days overdue. Let's get this updated quick!
This is on hold for autocomplete
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.50-0 Reproducible in staging?: Y Reproducible in production?: N/A - new feature, doesn't exist in prod Email or phone of affected tester (no customers): applausetester+kh1310018@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The input will show the report name instead of report ID.
Actual Result:
The input shows report ID instead of report name.
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/c9aee22b-7d17-4d7c-aed2-5f8285b6a67e
View all open jobs on GitHub