Skip to content

Conversation

@FuzzyGamesOn
Copy link
Collaborator

From these feature suggestions:
https://discord.com/channels/1097532591650910289/1121577176886677506
https://discord.com/channels/1097532591650910289/1267280387877507154

This PR adds a search box to the Manual tab's view. When the contents of that search box change, the lists are immediately filtered to only results that have a match in the location or item name. Search only searches location/item names, and does not search categories or anything else. (Also, if you're wondering why showing/hiding is the way it is, it's because Kivy is unusable garbage and this was the easiest way to do it.)

This PR also opens the door for more filtering controls or similar, since any other controls can be added alongside the search layout.


Screenshot of Manual client after connecting, with no search term:

manual-client-search-empty

Screenshot of Manual client results after entering a search term:
(This screenshot shows the categories expanded so it can be seen that the term matches. The categories are not auto-expanded when a search is performed.)

manual-client-search-text

@FuzzyGamesOn FuzzyGamesOn changed the title Add search box to Manual client Add search box to the client Nov 22, 2024
silasary
silasary previously approved these changes Dec 2, 2024
Copy link
Collaborator

@silasary silasary left a comment

Choose a reason for hiding this comment

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

Merge Conflicts, but I'm otherwise happy with it

@FuzzyGamesOn FuzzyGamesOn requested a review from silasary December 2, 2024 17:06
@FuzzyGamesOn FuzzyGamesOn requested review from nicopop and removed request for axxroytovu December 6, 2024 02:28
@silasary silasary merged commit 4092075 into main Dec 7, 2024
@silasary silasary deleted the client-search-option branch December 7, 2024 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants