Paratii-Video / paratii-portal

Component-based web-interface for uploading, browsing and organising content of Paratii's P2P network.
GNU General Public License v3.0
12 stars 5 forks source link

Unpublished videos are being published #779

Closed pedrocasa closed 6 years ago

pedrocasa commented 6 years ago

Videos that I did not give stake are being published and going to the page of my videos.

This is happening on both Staging and Production

screen shot 2018-07-11 at 10 30 35

screen shot 2018-07-11 at 10 30 22

screen shot 2018-07-11 at 12 17 25

bent0b0x commented 6 years ago

IMO unpublished videos should appear on my videos and we should allow you to publish from there.

But we should update our logic to not allow playing of unpublished videos

jrgarou commented 6 years ago

I've removed the link from unpublished videos and show the correct status - only publish and unpublish The commit/branch: https://github.com/Paratii-Video/paratii-portal/commit/fe324199620dc886f859c6d423422d7a352c2054

IMO unpublished videos should appear on my videos and we should allow you to publish from there.

There's no button to publish the video, but I think it's a good idea, @bent0b0x What you think, @pedrocasa?

--

image

pedrocasa commented 6 years ago

OK,

the solution, for now, use the status as ''published'' or ''unpublished''

If the user clicks on the published ones he will go to the video page and if he clicks on the unpublished ones a modal ( same as the one that appears on the upload process) would appear.

web 1920 22

web 1920 23

If the user clicks on the edit icon he will go to the edit page ----> https://xd.adobe.com/view/2f69ed6b-d99d-4c99-bc2a-aa226993dd48/screen/d6b7d78e-6e2b-4190-a3ee-47a824193768/Web-1920-18

I still think that showing the published and unpublished videos at the same time is something that we may need to rethink, especially when add more subcategories such as Whitelisted, challenged ... etc). but for now, this solution may handle it