Opened 6 years ago

Last modified 3 years ago

#870 accepted enhancement

new media don't appear directly

Reported by: davidak Owned by:
Priority: minor Milestone:
Component: programming Keywords: medium
Cc: Parent Tickets:

Description

after i uploaded a file, i get redirected to my profile and see a success message but i don't see the uploaded media.

if i reload once again, it is there. this shouldn't be necessary.

of course videos need time to get transcoded, but it can display a thumbnail and on the media page a message, that the video transcoding has not finished yet, maybe with progress or link to overview.

Subtickets

Change History (4)

comment:1 Changed 5 years ago by Christopher Allan Webber

Status: newaccepted

Probably the best way to do this is that on user page generation time, if the user is the owner of the page, we check to see what media is currently "in progress" and then occasionally poll for those ids to some sort of endpoint which could tell us whether or not they've updated.

comment:2 Changed 5 years ago by Christopher Allan Webber

There's still some question of graphic design: where to put the notification of "things are currently processing"? That could be in the sidebar. What about when the media becomes available? Presumably we just add it to the gallery...

comment:3 Changed 3 years ago by Ben Sturmfels

The new "media processing" indicator does help to some extent. It could be nice if we assumed that the media would be successfully processed though and displayed a placeholder for it on the landing page after an upload. I agree with Chris though, that the page should probably update in front of you to show when the processing is complete.

comment:4 Changed 3 years ago by Ben Sturmfels

Keywords: medium added
Type: defectenhancement

Marking as "medium" since I think this will require both JavaScript front-end work, Python back-end work and some visual design.

Note: See TracTickets for help on using tickets.