-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
This would be slightly more performant, since on each request we wouldn't be checking for the existence of a bunch of directories that do not exist. So we would replace:
| projects = User.new.groups.map(&:name).grep(/^P./) | |
| paths.concat projects.map { |p| Pathname.new("/fs/project/#{p}") } | |
| # add scratch space directories | |
| paths << Pathname.new("/fs/scratch/#{User.new.name}") | |
| paths.concat projects.map { |p| Pathname.new("/fs/scratch/#{p}") } |
with something closer to the solution in https://discourse.osc.edu/t/other-directories-in-files-explorer-app/335
Though the files shortcuts to newly created project or scratch directories would not appear in the menu until the dashboard was restarted.
Metadata
Metadata
Assignees
Labels
No labels