tournesol-app / tournesol

Free and open source code of the https://tournesol.app platform. Meet the community on Discord https://discord.gg/WvcSG55Bf3
https://tournesol.app
Other
330 stars 48 forks source link

feat: Handle deletion and unavailable videos on Youtube #1070

Open lfaucon opened 2 years ago

lfaucon commented 2 years ago

It's not very clear yet all the parts of Tournesol that are impacted and should be impacted in the case of a video deleted by the content creator or removed from Youtube for any reason. This nevertheless gives bad user experience, especially if one such video comes up during the tutorial.

  1. Understand all the parts of Tournesol that may be impacted
  2. Decide what behaviour we want Tournesol to have
  3. Plan and execute implementation
aidanjungo commented 2 years ago

Should we detect that automatically or let user signal that?

lfaucon commented 2 years ago

Goal would be automated detection (for example at the same time that we currently refresh a video metadata). If that does not work, then as a last resort letting user signal it, but then we still need trusted moderators to verifies the signals.

lfaucon commented 2 years ago
GresilleSiffle commented 1 year ago

We are going to work with @OoIwazaruoO on the <EntityList> to make it display a folded entity card.

What is the expected behaviour after a click on expand? We display the Tournesol and YouTube metadata as usual? I think we may want to not display the video title, because maybe the video was deleted because of its polemic content and the title itself may be polemic too.

How about displaying everything, except the title? The title could be "This video is no accessible anymore".

amatissart commented 1 year ago

If the title is not displayed, and the thumbnail is not available either, is it worth displaying any other metadata at all? The user would not be able to recognize the video, even if they compared it in the past.

In this case, I would just keep a minimal collapsed video card without the possibility to expand it.

GresilleSiffle commented 1 year ago

If the title is not displayed, and the thumbnail is not available either, is it worth displaying any other metadata at all? The user would not be able to recognize the video, even if they compared it in the past.

In this case, I would just keep a minimal collapsed video card without the possibility to expand it.

I'm wondering if we have reasons to even display a collapsed entity card in the recommendations. Is it really useful to know there were an entity that was at this position in the ranking, but now it is not available on YT? We could simplify the recommendations by simply not recommending non available content.

The admin can still see the video in the back end, but not the front end users. We could still display this folded entity card elsewhere, like in the rate-later list, to inform them that what they were about to compare is not comparable anymore.

What do you think @amatissart @lfaucon @aidanjungo @OoIwazaruoO ?

proposition

  1. implement a method allowing the front end to detect when an entity is not available anymore.

  2. do not display non available entities in the public and individual recommendations.

  3. display a folded entity card in the rate-later list, in order to inform the user this video is not available anymore. The only possible action is to delete the video.

  4. display a folded entity card in the My compared items page?

  5. rework the video analysis page. todo: define what information should appear and not appear.

  6. rework the comparison page to prevent comparing non available entities?

GresilleSiffle commented 1 year ago

I took some screenshots to better visualize the recommendations.


capture2

As a user knowing there was a video here, with an unknown name, that is not available anymore doesn't seem relevant or useful. It can be confusing also because it looks like a title indicating the video above or below is not available.


capture

Another capture with this time the poll metadata. It doesn't look very useful too, except if we want the users to be able to go to the analysis page.

amatissart commented 1 year ago

I'm wondering if we have reasons to even display a collapsed entity card in the recommendations. Is it really useful to know there were an entity that was at this position in the ranking, but now it is not available on YT? We could simplify the recommendations by simply not recommending non available content.

Removing the unavailable video from the recommendations page completely at render time could bring some confusion due to how the pagination works: a page with strictly less than 20 is supposed to be the last page. So I think it would still be relevant to display a compact generic message "This video is not available" to keep the pagination consistent with what the user expects.

GresilleSiffle commented 1 year ago

Here is the current state of this feature:

The next steps could be:

capture (a)

capture

lfaucon commented 1 year ago

The next steps could be:

  • display the dark gray overlay on the comparisons page (instead of the thumbnail returned by YT, see capture (a))
  • decide how to handle unavailable videos in the tutorial
  • decide how to handle unavailable videos on the home page comparison
  • maybe more

Based on impact, priotities should be (1) hide unavailable videos in the extension recommendations (2) reload in tutorial suggestions (3) reload in home page comparison (...last) comparison page

GresilleSiffle commented 1 year ago

I move the issue from In progress to Selected because no one is currently working on it.

tbrnd commented 1 year ago

@GresilleSiffle @lfaucon I'll take care of (1) if nobody is working on this already

GresilleSiffle commented 1 year ago

No one is working on it as far as I know : )