https://bugs.kde.org/show_bug.cgi?id=513139

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/discover/-/commit/9ec868
                   |                            |3c094acced024a3e1b71be2814f
                   |                            |674fda3
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Akseli Lahtinen <[email protected]> ---
Git commit 9ec8683c094acced024a3e1b71be2814f674fda3 by Akseli Lahtinen.
Committed on 10/02/2026 at 12:28.
Pushed by akselmo into branch 'master'.

ReviewStats, Rating: Expose starCounts from rating and use it for ReviewStats

ReviewStats was calculating the rating progressBars from
reviews only, not from all the total reviews. This
was confusing, since the actual rating value was calculated
from the total ratings.

This exposes the star counts in Rating class and changes
ReviewStats to utilize that instead, so we get accurate
progressbars per rating.

Also changes the sorting button name of "Rating" to "Popularity"

M  +1    -1    discover/qml/ApplicationDelegate.qml
M  +1    -1    discover/qml/ApplicationPage.qml
M  +1    -1    discover/qml/ApplicationsListPage.qml
M  +5    -5    discover/qml/ReviewsStats.qml
M  +7    -1    libdiscover/ReviewsBackend/Rating.cpp
M  +11   -0    libdiscover/ReviewsBackend/Rating.h
M  +0    -67   libdiscover/ReviewsBackend/ReviewsModel.cpp
M  +0    -29   libdiscover/ReviewsBackend/ReviewsModel.h

https://invent.kde.org/plasma/discover/-/commit/9ec8683c094acced024a3e1b71be2814f674fda3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to