josmas / openwonderland

Automatically exported from code.google.com/p/openwonderland
GNU General Public License v2.0
3 stars 5 forks source link

Drag and Drop installation of a module in Manage Modules page. #214

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As an alternative to browsing for a module and clicking install, a user could 
drag a JAR file from one's disk and drop it in the manage modules page and see 
the same result. 

Original issue reported on code.google.com by pympno...@gmail.com on 17 Oct 2011 at 6:01

GoogleCodeExporter commented 9 years ago
Initial implementation of drag and drop functionality for manage modules page. 
See attached diff.

- jQuery plugin: jquery.fileupload used to handle drag and drop file upload 
requests.
- Added Jersey resource to mimic Servlet installation of module
- Had to remove javascript prototype library so jQuery could be included to 
support jquery.fileupload

Original comment by pympno...@gmail.com on 17 Oct 2011 at 8:32

Attachments:

GoogleCodeExporter commented 9 years ago
Major overhaul of the Manage Modules page.  See attached image for example 
page. See attached diff.

- added lightness theme from jquery-ui
- page sections are now organized into an accordion layout.
- sections show numbers in accordion header to describe amount of relevant 
modules for that section.
- vertical layout reorganized to move "installed modules" to the bottom of the 
accordion.
- text describing how to drag and drop modules added beneath page header.

Original comment by pympno...@gmail.com on 25 Oct 2011 at 5:23

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by pympno...@gmail.com on 16 Dec 2011 at 4:21

GoogleCodeExporter commented 9 years ago
updated "Install a new module" section to always be open, always be at the top 
and conform to jquery-ui styles.

Original comment by pympno...@gmail.com on 26 Jan 2012 at 9:51

Attachments:

GoogleCodeExporter commented 9 years ago
updated paths in index.jsp to reflect jquery, jquery-ui, and css libraries 
checked into wonderland-web-front project.

Original comment by pympno...@gmail.com on 27 Jan 2012 at 4:17

Attachments:

GoogleCodeExporter commented 9 years ago
Would it be possible to do some style adjustments? On my screen, the buttons 
are way too big and spaced very strangely. Also, it would be nice if the 
installed modules accordion section was opened by default.

Original comment by jonathan...@gmail.com on 28 Jan 2012 at 2:13

GoogleCodeExporter commented 9 years ago
Regarding the style adjustments. Is the overall proportion of the button okay 
and just needs to be made proportionally smaller? I'm not sure if we can 
decrease the padding between the text and the button border as it's already at 
0 in jQuery's system.

Original comment by pympno...@gmail.com on 1 Feb 2012 at 8:10

GoogleCodeExporter commented 9 years ago
Here's the first attempt with patch and screenshot. It displays smaller buttons 
and the "Installed Modules" section open by default.

Original comment by pympno...@gmail.com on 1 Feb 2012 at 8:25

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r4813.

Original comment by jonathan...@gmail.com on 29 Feb 2012 at 9:11