Skip to content

Change favorites to follow convention of adding shortcuts at launch time #32

@ericfranz

Description

@ericfranz

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions