Commit Graph

25 Commits

Author SHA1 Message Date
Tim Almdal
12d976b94d 1) Refactor the ajax calls so that the code is reused across multipl
request types.
2) Enable/Disable the drawer handle buttons depending on the number of
items selcted
3) Image rotation works.
2009-04-28 21:29:14 +00:00
Tim Almdal
091fde3e00 Another iteration of the organize module:
Rearrange the layout as per discussion with thumb, start the drawer
functionality. Still to do... 
1) Add the processing behind the buttons on the drawer handle
2) Enable the drawer buttons when something is selected
3) Create a copy of the thumbs for the drawer
4) Add the bulk editting functionality to the drawer
2009-04-27 20:30:46 +00:00
Tim Almdal
465182e58f 1) Move the progress bar to a dialog
2) Provide status and error messages back to the user
2009-04-23 20:48:09 +00:00
Tim Almdal
b1a15f2130 Implement a cancel button so that if an organize task is paused, it
can be cancelled.
2009-04-23 04:53:48 +00:00
Tim Almdal
933770cf0e 1) Fix index overflow issue.
2) Fix where the microthumb was removed even if the move was cancelled
2009-04-22 23:23:15 +00:00
Tim Almdal
475b8fe9ff Dragging from the thumbgrid to an album in the tree now works.
Refactored the javascript to minimize duplication.
2009-04-22 16:09:57 +00:00
Tim Almdal
9d31564b7c 1) Disable drag when the rearrange task is running
2) Add the album name to the task name
2009-04-21 18:11:27 +00:00
Tim Almdal
4e944577f4 The pause button now works. 2009-04-21 14:15:58 +00:00
Tim Almdal
c94fc344e8 Added progress bar and pause and continue functionality to rearrange 2009-04-21 06:04:03 +00:00
Tim Almdal
e8ea822801 Remove debugging statements 2009-04-20 18:47:38 +00:00
Tim Almdal
ad10584dc1 1) Add rearrange processing as a task
2) Improved drop location determination
3) Add a revert if dropped on an invalid target
4) Add a popup dialog to display ajax errors
Still to do progress bar, pause/continue and status messages
2009-04-20 18:44:19 +00:00
Tim Almdal
e8d99f22a1 Simplify the handling of moves to the beginning or end of the album 2009-04-19 18:42:53 +00:00
Tim Almdal
663c38a7e8 Continue javascript code cleanup 2009-04-19 18:33:35 +00:00
Tim Almdal
f1a9ac807c Restructure the java script code (i.e. separate complex callbacks or
objects into variables)
2009-04-19 18:02:07 +00:00
Tim Almdal
aaec040716 - Improve the movement of the placeholder
- Make sure the thumbgrid will utoscroll when dragging
- And an ordinal attribute to the thumbnail when generated, based on the
current sort order of the album.
2009-04-19 03:51:29 +00:00
Tim Almdal
1a332009c7 Change how mutiple requests for micro thumbnails is handler.
handle the edge cases where the draggable is dropped on the micro
thumbnail panel
2009-04-17 20:17:53 +00:00
Tim Almdal
16db338145 Fix typo that was causing an error 2009-04-17 14:33:09 +00:00
Tim Almdal
d8e9133873 Another iteration in the quest for the perfect organize module. At
this point you can select microthumbs, by clicking on them, ctrl-click
will add to the selection.  You can select by drawing a lasso around
images. Holding the ctrl will add the lassoed thumbs to the selection.
Once slected, thumbs can be dragged and dropped within the current
At this point no background processing takes place
2009-04-17 02:06:00 +00:00
Chad Kieffer
9f488446d9 Fix up microthumb grid, changed unselect to deselect all, white space fixes. 2009-04-10 05:40:56 +00:00
Tim Almdal
898eba8e6f Here is the current state of "organize". I'm having trouble getting
drag and drop to work.  And to get it to layout properly.  Any
thoughts would be appreciated.
2009-04-09 16:33:14 +00:00
Bharat Mediratta
4041c6a0b2 Fix whitespace 2009-04-06 08:55:33 +00:00
Bharat Mediratta
fb818f3c4d Fix preamble 2009-04-06 08:53:37 +00:00
Chad Kieffer
0531c9262e Visually connect the selected album to the album thumbnail grid. Edit item opacity, selected items become opaque. 2009-04-06 05:02:56 +00:00
Tim Almdal
15fc9b9399 Get the preamble right so the unit test passes 2009-04-05 16:48:20 +00:00
Tim Almdal
f1cb43430b First iteration of the organize functionality (orginally called bulk
edit).  There is limited functionality in no edits work.  This is
primary a chance for the team to review the ui.  It is in a separate
module to isolate the changes.  Eventually, it will be moved back into core.
2009-04-03 00:50:43 +00:00