-
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
[$250] Update Search page to always show search input and type tabs at the top #52317
Comments
@Kicu anyone from SWM interested in working on this one? |
@luacmartins hm, right now Im actually refactoring this code, so that the input has the autocomplete behavior similar to router, and so that the query always stays correct, if a user keeps editing it and resubmitting. The change described here would be affecting the (react) components flow in the header of the Search Results page, and I think it would be better if someone doing this waits for my PR. And yes, we would definitely like to work on this in SWM, I'll post this internally and someone will pick it up. For now perhaps assign me to this? |
here is the aforementioned PR: #52568 still a draft, but now we can link it |
I agree we should hold on your changes. Thanks for the linked PR and looking forward to getting someone from SWM assigned to the issue! |
Where does it show up now? Inside the search input where the filters button is? Anyhoo, I agree and I think what you're showing in that mock looks good and makes sense. 👍 |
Yeah it currently replaces the filter icon within the search bar, which feels a little strange. |
Agree with that. Definitely like what you posted much better. |
Not overdue, still working through this one. |
Still holding |
@shawnborton, @luacmartins Eep! 4 days overdue now. Issues have feelings too... |
Waiting on merge of: #52568 |
Not overdue, see comment above |
The linked PR has merged, so shall we take this issue off hold? I'm also going to move this now into #migrate, so we track it there as a key foundational issue to get in place for the rest of our recently discussed plans. Excited for it! |
We'll be working on a follow up to that PR to fully enable the features on the Search results page, so I don't think we should remove the hold quite yet |
Alright, sounds good! |
We can now update the HOLD to be on this issue: #53126 I estimate the PR should be ready in 1-2 days. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.89-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-02-04. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
As it turns out the Reports Page performance was a blocker for us. I suspect that adding SearchRouterInput to it(with the RouterList underneath) was just a critical point when the whole page became just too heavy.
WDYT about this plan @luacmartins? |
Sounds good! Thanks for working on this! |
@SzymczakJ #52317 (comment) sounds good to me! We had a report of somebody encountering a ♻ Edit:There's been some developments from @pac-guerreiro in the Slack conversation linked above, some findings on possible reason as to why the issue happens on their side, quote:
To test this and be able to reproduce (on the previous PRs My response in the Slack conversation was:
We should keep this in mind and test on accounts with cards added as well to make sure this won't happen again. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.92-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-02-07. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Update: |
Thanks @SzymczakJ. That sounds promising. |
Regarding BZ checklist #52317 (comment), I think no regression test is needed for this PR as it's a refactor |
📣 @rayane-d! 📣
|
Requested in NewDot (for #52317 (comment)) |
Update:
|
I kicked off a build and will ask QA to test it once ready.
That's unfortunate, but not surprising given the number of changes we're making to Search. The only PR I'm aware of that was merged recently is this one
I agree. I think we should make incremental changes here and tackle this with smaller PRs. |
Right now we face some inconsistent behavior with the Search page depending on if you use a LHN nav item or if you search via the router. The LHN has default navigational items that don't use search input across the top of the page, but we do indeed show a search input if you search for something via the router. Furthermore, the default Search experience does not show a type selector across the top, however we are planning to show one across the top if you searched for something via the router.
In order to clean up these consistencies, we're proposing these incremental updates to the search page:
That gives us something like this:
![image](https://private-user-images.githubusercontent.com/2319350/384978618-8ed0575e-aabf-4c3d-9d87-f9bfc1b0a467.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTU0ODEsIm5iZiI6MTczOTU1NTE4MSwicGF0aCI6Ii8yMzE5MzUwLzM4NDk3ODYxOC04ZWQwNTc1ZS1hYWJmLTRjM2QtOWQ4Ny1mOWJmYzFiMGE0NjcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMTc0NjIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NWE1MTE0NDJiMzllZTIxNmZlMzgwZjFkYjI1MzU5MGMwYWRjMTg1MjFkY2U3MmRhNGM0M2E5ZmU2Y2FkMzQ1NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.F_WTjjm4-C3zeGf8dUaG6L7oVqClAMcMjUVyy3R5aHs)
CleanShot.2024-11-11.at.16.52.54.mp4
On mobile, the idea is to use a UI like this where we use a full-page router experience that you can close in the top right corner after focusing:
CleanShot.2024-11-11.at.16.51.48.mp4
On the note of filters, the idea is to move Status into the list of filters in the RHP:
![image](https://private-user-images.githubusercontent.com/2319350/384985392-05a306ec-43b7-4b9c-bb6c-cfd24b166544.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTU0ODEsIm5iZiI6MTczOTU1NTE4MSwicGF0aCI6Ii8yMzE5MzUwLzM4NDk4NTM5Mi0wNWEzMDZlYy00M2I3LTRiOWMtYmI2Yy1jZmQyNGIxNjY1NDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMTc0NjIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NThiZTgwNDg5YjA1MDY4MjE3NDdlZWJjNmRiZDMwNGNhOTEyOTI5N2ZhMTliMTUzYjM3MjdlOTQxNzYwZWQ0MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.kaD9JjArXNotDux0-ywUiQ6di0TmN3MOtuH6MDJeA04)
One small update though is we'd like to make it so you can select multiple statuses as once, which more closely matches OldDot's behavior for expense/report status selection:
![image](https://private-user-images.githubusercontent.com/2319350/384985586-3679b0ea-e93e-4bc1-9cee-a009ef5dafd1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTU0ODEsIm5iZiI6MTczOTU1NTE4MSwicGF0aCI6Ii8yMzE5MzUwLzM4NDk4NTU4Ni0zNjc5YjBlYS1lOTNlLTRiYzEtOWNlZS1hMDA5ZWY1ZGFmZDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMTc0NjIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTg0MjYxZTQ3YzM5NTZiYmFkNjQxZmRlZjZjMTMxZjYwMTZiMmVjOWIyNDJjMWQzMDRiZDg1MWJjODI0ZmNlYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.7Jt3SYlTjMZQLXolzovtDpBsWTn5vNQ68Zt0eUm_IW0)
cc @luacmartins @JmillsExpensify @trjExpensify @Expensify/design
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @anmuraliThe text was updated successfully, but these errors were encountered: