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

Implement "Cancel" button on the upload page #768

Closed pedrocasa closed 5 years ago

pedrocasa commented 6 years ago

We need a way to cancel the upload for cases that users have chosen the wrong video. In the original design there's a cancel button next to the publish button.

bent0b0x commented 6 years ago

@pedrocasa can you post the design for the cancel button?

@ya7ya or @jellegerbrandy is there an api available in paratii-js to cancel an upload?

jellegerbrandy commented 6 years ago

No there is no such API, but there probably should be: https://github.com/Paratii-Video/paratii-js/issues/298

We can already implement the UX without this function (i.e. create teh button, remove the item from the list, etc)

On Sun, Jul 8, 2018 at 5:58 PM Ben notifications@github.com wrote:

@pedrocasa https://github.com/pedrocasa can you post the design for the cancel button?

@ya7ya https://github.com/ya7ya or @jellegerbrandy https://github.com/jellegerbrandy is there an api available in paratii-js to cancel an upload?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Paratii-Video/paratii-portal/issues/768#issuecomment-403297364, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPuPU7T6p70p-178iNZGmEmPOry-Oo_ks5uEiw_gaJpZM4VFaYo .

pedrocasa commented 6 years ago

@bent0b0x

Just a simple button next to the publish,

web 1920 1

Our upload page is not 100% looking like the original design( https://xd.adobe.com/view/8754f846-e4ea-4170-803b-9b5b8b4b872f/screen/52349cc8-1239-4851-9790-64ad7f76fdf0/upload-1920-1 ), but for now, let's just add this cancel button

jellegerbrandy commented 6 years ago

note that the paratii-js functionality is there now

felipegaucho commented 6 years ago

@jrgarou this is a small UI thing now that it's doable on paratii-js: https://github.com/Paratii-Video/paratii-js/issues/298 We can keep it on radar.