Closed nazarenegena closed 1 year ago
It would be helpful for users if the matching parts of their search is highlighted in the results. This would give visual feedback about what part of their query matched.
Thank you for the feedback. should I go ahead and implement the highlighting and the performance check?
Regarding the highlighting, we have two options: we can open an issue for further follow-up and merge this pull request as it is, or you can address it directly here. The choice is yours. As for performance, what specific checks were you considering? It would be beneficial to gauge the code's performance on several thousand releases before deploying to production. However, if testing proves too cumbersome, we might consider deploying it to production directly and observing its performance there. If the speed is insufficient, we can always revert. We shouldn't prematurely optimize the code without identifying an issue. Should we encounter problems, there are various solutions to explore. For instance, we could think about debouncing the search. This approach would delay the search function execution until the user pauses typing for a brief moment, like 300ms, rather than executing on every keypress.
Yes, you can go ahead and merge this request create a new issue for the highlights and assign it to me.
OK I created #3007 as a follow-up to this issue.
Fixes issue #1146
Allows partial filtering of releases when a search value such as "fire 60" is entered.