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

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/discover/-/commit/c022ef
                   |                            |032bd47be3d48e649522b359844
                   |                            |c8c271c
             Status|ASSIGNED                    |RESOLVED
            Version|                            |6.8.0
  Fixed/Implemented|                            |
                 In|                            |

--- Comment #4 from Nate Graham <[email protected]> ---
Git commit c022ef032bd47be3d48e649522b359844c8c271c by Nate Graham, on behalf
of Taras Oleksyn.
Committed on 17/08/2026 at 13:30.
Pushed by ngraham into branch 'master'.

Make package reviews usefulness persistent

The ODRS API does not allow re-submitting a vote, and returns an error 400
when the user tries to do that.

To avoid this, save  a list of which reviews a user has voted on and disable
the `Yes/No` buttons if the vote was submitted.

Date like the following will be saved in the state data:

[ReviewVotes]
664232=2
675199=1
677028=1
FIXED-IN: 6.8.0

M  +2    -0    discover/qml/ReviewDelegate.qml
M  +32   -1    libdiscover/ReviewsBackend/ReviewsModel.cpp
M  +3    -0    libdiscover/ReviewsBackend/ReviewsModel.h

https://invent.kde.org/plasma/discover/-/commit/c022ef032bd47be3d48e649522b359844c8c271c

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

Reply via email to