tournesol-app / tournesol-mobile

0 stars 0 forks source link

Rating video does not remove video from "rate-later list" #10

Closed lenhoanglnh closed 3 years ago

lenhoanglnh commented 3 years ago

All my rate-later videos have now received at least 3 ratings by me, but they're still in my "rate-later list" 😅

tchaumeny commented 3 years ago

As discussed on Discord, this should be implemented in the backend (and then removed from website front).

Maybe this could be implemented within the save method of the ExpertRatingsSerializerV2:

class ExpertRatingsSerializerV2(serializers.HyperlinkedModelSerializer):
    ...

    def save(self, **kwargs):
        super().save(**kwargs)
        # Remove self.validated_data['video_1'] and self.validated_data['video_2'] from rate later list
    ...
tchaumeny commented 3 years ago

See https://github.com/tournesol-app/tournesol/issues/74