Feature #4467
closed
[Workbench] Add "select all" button to project content panes
Added by Bryan Cosca about 10 years ago.
Updated over 9 years ago.
Assigned To:
Radhika Chippada
Estimated time:
(Total: 0.00 h)
Description
("If we can do it inside of a data collection, can we do it inside of a project?")
for example, what if we want to merge x collections within a project. If regex search functionality also worked, that would be great.
- Subject changed from Select all data collections within a project to [Workbench] Add "select all" button to project content panes
- Description updated (diff)
- Category set to Workbench
- Target version set to Arvados Future Sprints
- Target version changed from Arvados Future Sprints to 2015-05-20 sprint
- Assigned To set to Radhika Chippada
- Status changed from New to In Progress
The onclick
methods are named select_all_files()
and unselect_all_files()
, however they are not selecting files. Please rename.
Could we make the select_all
and unselect_all
methods generic, move them into assets/javascript, and use the same method for both the collections and projects page? For example:
function select_all_items(selector) {
$(selector).find(":checkbox").filter(":visible").prop("checked", true).trigger("change");
}
<button id="select-all" type="button" class="btn btn-default" onClick="select_all_files('.arv-project-contents')">Select all</button>
Peter: yes, moving into js and reusing this code is a good idea. Updated accordingly. Thanks.
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset arvados|commit:dc0237c289882a058a0d5c91b720a4b37917bc9d.
Also available in: Atom
PDF