Is there a way to add additional actions to the current file browser? I have users who would like to do a head or tail on files from within OOD. If anyone can point me in the general direction that would be great as I know the main focus now is on the new version of the file browser.
@shawn.doughty You can modify the files
app directly: https://github.com/OSC/ondemand/tree/master/apps/files
A good place to start is the client: https://github.com/OSC/ondemand/tree/master/apps/files/lib/cloudcmd/lib/client
@shawn.doughty when doing head or tail on files - can you clarify the functionality you want to provide?
For example, do you want the user to be able to specify the number of lines to display, or just do the default for head/tail?
Or do you want to do something more dynamic, like tail -f
.
FWIW I think that modifying the existing files app is a problematic and difficult venture.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.