4088: use filterable.js to filter on client side
authorTim Pierce <twp@curoverse.com>
Thu, 30 Oct 2014 14:22:02 +0000 (10:22 -0400)
committerTim Pierce <twp@curoverse.com>
Fri, 31 Oct 2014 18:37:22 +0000 (14:37 -0400)
commit50efff371741949e377f8f9c11b724b1981f373a
tree5228c587fdbfa4f59e666ea91dcfe7efd57d07cb
parent540680b267cb67d5128fbf9fc2666bdf864a0801
4088: use filterable.js to filter on client side

Implemented client-side filtering via filterable.js:
* Designated filename rows as "filterable"
* Designated filename pattern input field as "filterable-control"
* Added "Select all" and "Unselect all" buttons with matching
  select_all_files() and unselect_all_files() actions
* Limit selection actions (compare, move, copy etc) to visible page
  elements only.
* Added integration tests "Filtering collection files by regexp" and
  "Creating collection from list of filtered files".
apps/workbench/app/assets/javascripts/selection.js.erb
apps/workbench/app/views/collections/_show_files.html.erb
apps/workbench/test/integration/collections_test.rb