Feature Proposal: Direct interaction with attachments

Motivation

For Foswiki 1.1 would like to introduce one improvement of the larger "redesigning topic interactions".

Currently you need to click on "Manage" in the attachment table to change properties or upload a new file. The user has to know what is behind "Manage". It is also one click away.

Description and Documentation

By providing shortcuts for each attachment, the user can bypass this screen and change settings on the view page. Each action can show a small, dedicated form on a lightbox layer.

To reduce clutter, the shortcuts are only visible when hovering over an attachment row.

This user interaction requires (or invites) a new, roomier interface, similar to search results (as proposed in a different request). The sort options have moved from table headers to the top row.

Other options are to choose a normal layout (as shown), a condensed layout (only the titles) and an image layout (showing the actual images at a max size).

Examples

Mouse hover over attachment row, revealing the action links:
attachments-display-mockup.png

Lightbox overlay to upload a new file:
attachments-display-overlay-mockup.png

Impact

This interaction will rely heavily on javascript (jquery). AJAX would not be necessary if we use a js-based template for each form.

Ideally the page would not be reloaded after each interaction. How can we achieve this?

WhatDoesItAffect? : %WHATDOESITAFFECT%

Implementation

-- Contributors: CarloSchulz, ArthurClemens - 18 Mar 2010

Discussion

It would be really cool if users just had to click the description or the filename to make it a seamless in-line edit. I suppose for rename, there would be a submit button titled "rename" once you enter "edit mode" for that field. But maybe we should save that stuff for when we have a generic solution for in-line edit of all things...

It's really easy to use a topic to populate a modal dialogue dynamically. I have done this in the jqui for TagMePlugin? . Just a matter of passing parameters contenttype=text/plain;skin=plain;section=foo;blah=blah in the URL. It's a little flawed but you can get the basic idea if you visit http://wiki.trin.org.au/ and hit the "Tags" link in the very top left. The resulting modal dialogue is populated from http://wiki.trin.org.au/System/TagMeAjaxHelper

This might avoid some page view bandwidth overhead on the initial view, but on the other hand, it remains to be seen if that would be significant.

It would be nice to get a highly visible UI improvement into 1.1 as a selling point.

-- PaulHarvey - 19 Mar 2010

Here's a screenshot of the upcoming release of UploadPlugin which is using plupload:

UploadPluginSnap1.jpeg UploadPluginSnap2.jpeg

Another point. The attachments widget should offer a way to access former versions of an attachment, for instance by having a twisty under the list entry saying "Older versions".

-- MichaelDaum - 19 Mar 2010

I think a major work would be to handle login through the dialog.

-- ArthurClemens - 01 Apr 2010

This proposal is passed by 14-day rule.

But as I do not see any checkins yet for this, and I also see a great deal of work, I assume this is a 2.0 scope work.

We are past the official feature freeze date now, and any new features not yet started and reasonably implemented will have to be deferred.

Because of Easter holidays I assume many of you would like to spend the days off on some programming I I give you till Monday the 5th if you have the work ready to checkin.

But if you expect this to take many weeks, please defer to 2.0. It is not a killer feature we cannot live without

-- KennethLavrsen - 01 Apr 2010

Yes, deferred to 2.0.

-- ArthurClemens - 21 Apr 2010
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads