Skip to content

Conversation

Dedelweiss
Copy link
Contributor

@Dedelweiss Dedelweiss commented Jul 24, 2023

In this pull request (PR), the aim was to improve the search functionality by introducing packet recognition. To achieve this, I take the package of the member in the page.description value.

I added a search.contains(".") to avoid problems with the abbreviations.

I have just one thing to correct and I also need some opinions about it. The search bar currently only displays the requested package. However, my new search bar displays all the different classes contained in the package. Is this an interesting feature or do you just want to see the package?
So if I keep this result, I should correct the fact that I see the package first and then the different classes underneath for greater logic.

Result:

Screenshot 2023-07-26 at 14 37 16
Screenshot 2023-07-26 at 14 37 29
Screenshot 2023-07-26 at 14 37 42
Screenshot 2023-07-26 at 14 37 54
Screenshot 2023-07-26 at 14 38 19
Screenshot 2023-07-26 at 14 38 26

Fixes: #18028
Fixes: #17957

@Dedelweiss Dedelweiss force-pushed the 17957-search-bar-package branch 4 times, most recently from 1efe7d9 to b896e73 Compare July 26, 2023 13:31
@Dedelweiss Dedelweiss force-pushed the 17957-search-bar-package branch from b896e73 to 389af75 Compare July 26, 2023 13:33
@Dedelweiss Dedelweiss changed the title Add package recognition when searching. Refactor: Add package recognition when searching. Jul 26, 2023
@Dedelweiss Dedelweiss marked this pull request as ready for review July 26, 2023 15:11
Copy link
Contributor

@Florian3k Florian3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't fix #18028 - searching for immutable.BitSet yields no results - we might want to do some kind of partial match

Also, sometimes the highlighted letters look a little weird:
image
Is it possible to improve that?

cc @szymon-rd, he might have some insight on this

@Dedelweiss
Copy link
Contributor Author

Dedelweiss commented Aug 3, 2023

Is it possible to improve that?

Hi Florian. Of course, thank you very much for the feedback, I'm going to set the PR to "WIP" and improve it!

@Dedelweiss Dedelweiss marked this pull request as draft August 3, 2023 11:21
@Dedelweiss Dedelweiss changed the title Refactor: Add package recognition when searching. WIP: Add package recognition when searching. Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants