-
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. |
Sorry for interrupting your discussion but here's my update 😄 :
PR for 1st part should be ready for swm review tomorrow |
Yea, that's totally fine. |
So @JmillsExpensify @trjExpensify what should we put in canned searches? For now I added All expenses( |
Given this, I think we'd do the following:
This question is still bothering me though for "Expenses to pay", as we'd not want to include an expense report that only contains non-reimbursable expenses:
|
What would be the icons for these @dannymcclain ?("Draft expenses", "Expenses to approve", "Expenses to pay") |
Oh I would be down to see something like that if you feel like exploring it! I don't feel strongly, but I like the idea. |
I did a little bit of exploring here, not a huge fan TBH haha. |
Hah yeah, I can see that. Kinda feels slightly forced maybe. So maybe we just go with the simple ones for now? |
Yeah I think this is the right move. So in summary, let's go with what Shawn posted here. |
Coming back to this issue, are we sure that we should do this right now? I'm nervous about implementing "suggested" searches before we've published an extensive design doc, especially with the HL "Search v3" design on the horizon. Additionally, this plan with I'm sorry, I know that when we first created this issue, things were different. So this goes back on why we started this issue in the first place. But the planning dynamics have changed quite a bit since then, so I think it's best that we put a HOLD back on this issue, probably until the more specific design doc for "suggested" searches goes out. Anyone else feeling similar? |
This task consists of two independent parts:
Unfortunately I've already created PR for part 1 😭, but I think we could put that part 1 PR on hold and I could start working on part 2. Or do you think we should put both parts on hold because the whole design will change @JmillsExpensify @trjExpensify @shawnborton |
Agreed.
Yep, exactly. Let's focus on the search input here for now, and then we can look to take the PR to move the type tabs and replace them with suggestions off hold later. |
Ok cool. I like working on part 2 now. That's effectively just a superficial "design" change that is consistent with the future. |
Then I'll start it right away. |
@shawnborton one small comment on the second mock. Wouldn't the saved searches use the bookmark icon? Or are we going to change that out for the magnifying glass. This is what saved searches look like in production. |
Great catch Jason. I do think we should use the bookmark icon for saved searches, especially since the user will tap on a bookmark icon button to get there. |
This comment was marked as outdated.
This comment was marked as outdated.
Why just mobile? I was thinking everywhere, for consistency's sake! |
OH! Yeah ok I just did a little doodle in Figma to see what it's like on desktop and I'm good with it! |
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:
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:
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:
cc @luacmartins @JmillsExpensify @trjExpensify @Expensify/design
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @SzymczakJThe text was updated successfully, but these errors were encountered: