lale-help / lale-help

A collaborative platform for volunteer refugee support.

Home Page:http://lale.help

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show file details for uploaded documents

dottorer opened this issue · comments

We need to show all available file details to the document owner. Ideally we can show this in a nice form as designed in #338.

image

Today we only show:

image

We should show:

  • "pretty file name" (editable)
  • Boolean for visibility (editable)
  • full document name (i.e. "24234_xcsdd_3242.xlsx")
  • doc size in KB
  • MIME Type if available
  • uploaded by / uploaded on

@NolanChan @diegoaad This could be a good small improvement based on a user feedback call I just had...

Hi @dottorer , can I assume this specific issue just concerns the edit page? And if it does, how would you like the extra information to be shown on the page? Is there a similar page that I can look to?

Were you thinking of something like this?

screen shot 2016-12-06 at 11 30 54 pm

@NolanChan when talking to @dottorer I understood that we'd still allow only the Name and the option "Visible to all helpers" available for edition. But on top of that we should show the File info including doc name, size, mime type and uploaded by/on. This could be a new widget on top of the page, like this one:

@NolanChan Yep, this is what I am dreaming of. We would then have a reusable representation of any document with its core data displayed. I will create some mockups asap to make my thoughts more clear.

@NolanChan On the page 'Edit document', the solution you shown above would be a quick stop gap and can be helpful. I would request that for the immutable fields (anything but pretty name and visibility), we do not show the frame around the field but only the value. Maybe it is possible to condense the info in 2 cols or something neater without too much work.

Also, on this specific page it would be great to have a button on the very right bottom spot that says 'Delete'. Since we currently do not allow for update the stored file, we require people to actually delete the document and create a brand new one. This sucks as any bookmarked URL will be broken, so I am opening a separate issue in #442 for that one.

Hey @dottorer , I'm trying to make a simple code representation of your mock up. Could I get that default Lale picture?

Hi @NolanChan : were you thinking about the tulip icon? I think we could use this for it...

laleiconreversed60

I can send you the SVG directly as well...

screen shot 2017-01-08 at 4 58 08 pm

Hi @dottorer , here's a rough draft of my mock up so far. Could you give me some pointers on how it is so far? I haven't coded in any of the back-end yet to show any actual values.

I think I may need someone to run through and critique the html/css also, since I really don't have any formal background in how to write clean front-end code :\