cbrain
cbrain copied to clipboard
Create a new page to help users tag a subset of files
A page where users can enter a list of filenames to tag (full names or patterns) would be useful.
For the moment it would ask for a tag name, and provide a textarea where the user can paste a bunch of filename patterns.
The tags would be added to all matched filenames in the current userfile index page's scope.
We could make this is more sophisticated subset generator that could select/deselect files by a variety of different attributes (other than the ones that can already be selected by scopes).
So the original problem was this:
- a user had a known subset of file names, outside of cbrain
- the user wanted to tag them
- there was no other filtering mechanism (by group, by DP, by name pattern) that could easily subset the files visible in the view to match that particular list
Right now we have a "name" filter where users can enter SQL patterns ("e.g. %.txt
). That's good enough for some operations, but not for the general case where the files can't even be selected by a pattern.
So ideally, we should have a selection manager that has a text area where the user can paste basenames, and the files that match would be selected? I'm not sure where this would exist in the interface, though.