Skip to content
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

Rework presentation of search results #1153

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

wutschel
Copy link
Collaborator

@wutschel wutschel commented Sep 29, 2024

Description

Closes #733.

This PR reworks the presentation of search results and delivers two main improvements and a small one.

  1. The search result list in Global Search does now show the section headers with the item type, e.g. movie or artists. This way it easy to recognize what type of item is shown in the list.
  2. All search results are now sorted by ascending label (for Global Search by "Type" within a section). This improves the user experience where Kodi does not provide sorted lists or the lists are sorted by something else, e.g. playcount for the "Top 100 Songs".
  3. Support searching the "year" key in the data, which allows to search for release years of movies, TV Shows, music videos, albums, and songs.

Screenshots (in each pair: left = old, right = new):
Bildschirmfoto-2024-09-29-um-17-26-20

Summary for release notes

Improvement: Show sections with item type for search results in Global Search
Improvement: Sort search results by ascending label
Improvement: Scroll back to top when search ended
Feature: Support searching year via the search field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimization: differentiate item types global search
1 participant