Task #2722
Rails: allow bulk-moving photos from one gallery to another
Status:
New
Priority:
Normal
Assignee:
-
Category:
DEV ROR JS
Start date:
2022-10-18
Due date:
% Done:
0%
Estimated time:
Description
Views:
In galleries#show:
In section with "mini's":
1. Add a checkbox to each mini
2. add a form-field with label "move selected to", a select2 input with galleries list, and button "Go"
See newsitems#new for example of select2 usage.
Controllers:
new action photos#bulk-update:
3. update gallery of selected photos.
4. set flash (alert or notice) to success or failure, respectively.
In test:
5. The setup is to have two galleries and three photos in the 1st gallery. Write a test that moves two photos to second gallery, and observes that one photo is left in the first, and two photos are now in the second galleries.
In the following wireframe, red means additional elements. Blue is commentary, black is what's already there.
Files
History
Updated by victor piousbox about 2 years ago
- File 2022-10-17 a la(s) 2242.jpg 2022-10-17 a la(s) 2242.jpg added
- File 2022-10-17 a la(s) 2249.jpg 2022-10-17 a la(s) 2249.jpg added
- Description updated (diff)
Updated by victor piousbox about 2 years ago
- Project changed from Wasya Co to [P] Infinite Shelter