Make package reviews usefulness persistent

Make package reviews usefulness persistent.

The bug is due to ODRS API not allowing to re-submit a vote and returning a 400 when user tries to do that.
Proposed changes make usefulness votes persistent via KConfigGroup and disable the Yes/No buttons if the vote was submitted, discoverrc:

[ReviewVotes]
664232=2
675199=1
677028=1

Recordings: Part 1 Part 2
There's no guard against vote submission failing due to network connectivity issues, but it seems like an edge case and would require changing more code.

Depends on: !1377 (merged)

BUG: 521866

Edited by Taras Oleksyn

Merge request reports

Loading
Loading