-
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
[Search v2.5] [Autocomplete] Highlight autocomplete key and selected value #50949
Comments
Hi! According design doc I think this issue should be on hold for Expensify/react-native-live-markdown#439 pr that will allow our parser to be passed as worklet to live markdown. |
Not overdue, on hold for Expensify/react-native-live-markdown#439. |
Still on hold for Expensify/react-native-live-markdown#439. |
Still on hold for Expensify/react-native-live-markdown#439. |
Still on hold for Expensify/react-native-live-markdown#439. |
Same. |
Issue updateQuick reminder: This should not be a very big change in the code, but as any change it might introduce some small bugs. I will try to push this forward as smoothly as possible, but we will require some help with testing. Next steps :
We will also need to bump I will open a draft PR soon for tracking the progress. CC @luacmartins @lakchote @JmillsExpensify @tomekzaw @289Adam289 @SzymczakJ |
I created the issue earlier today, would you mind assigning me? @lakchote |
@shawnborton but the top option to pick from in Search is exactly the same query - just like on slack. Do you mean you would like for every single autocomplete item to contain the whole query? |
Hmm yeah that's a fair point... though we could potentially right-align those long strings. Either way, I don't feel too strongly, let's see if others have any strong feelings otherwise we can just go with what you have planned already. |
I don't think I feel too strongly about that one 🤔 We could always go with the current plan and see how it feels first. |
Yeah, going with the current plan and adjusting feels right to me given it's hard to predict this one |
In response to the first @dannymcclain comment, the styles currently used by SearchRouter are the same as those used by Composer input. Adding border radius to the background is a bigger problem that is currently worked on in Expensify. Regarding the issue of highlighting only when there's a legitimate query match, I think it would be safest to handle that as a follow-up. This PR is already complex, and adding further complications could increase the chance of missing regressions. |
RE: highlighting a mention only when it actually mentions a real login. We will make this work in Search input once the above task is completed. We will also make sure that the logic and look of highlights in Search and Composer is the same. |
Thanks for the explanation—I'm fine handling that stuff as a follow up since it sounds like this PR is already pretty intense. |
Yup, that totally works for me too - thanks for clarifying things. |
@Kicu, @sonialiap, @lakchote, @luacmartins, @ikevin127, @289Adam289 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@Kicu, @sonialiap, @lakchote, @luacmartins, @ikevin127, @289Adam289 Eep! 4 days overdue now. Issues have feelings too... |
This is being actively worked on. While Adam focused on most of this task and logic of working, I need to do a bit more work related to LiveMarkdown input to fix the styling problems. We also have colleagues from live markdown helping with this. |
^ what he said |
All issues with LiveMarkdown's single-line on the web are resolved. |
Nice! Hopefully we can get that PR merged soon and continue work here. |
We are also waiting for this one: #55343 but I hope it can be merged soon. |
#55343 is merged! Let's keep up the momentum! |
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. |
I provided fix for the styling regression after my PR, so we don't have to revert anything. We are 90% there :) |
Nice! Thanks for working on a fix. Is this the live markdown bump PR we're waiting on? #55706 |
Oh I see, we also have this one |
See https://docs.google.com/document/d/1o-Hp-tK8Z_BAcE-KRiXQicPH04qNr525EIxlG8J4RxM/edit?tab=t.0#bookmark=id.hy4h27dpoz37
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @289Adam289The text was updated successfully, but these errors were encountered: