silverstripe-admin icon indicating copy to clipboard operation
silverstripe-admin copied to clipboard

Remember last viewed folder in "add from files"

Open chillu opened this issue 7 years ago • 4 comments
trafficstars

Overview

Authors often work in specific areas of a larger website. For pages, they can just bookmark the edit link to their specific section (or a CMS pages filter). But for files and images, they have to navigate to the right folder each time.

Examples:

  • A policy adviser who adds and updates PDFs from a assets/policies folder on pages, but doesn't care about the marketing aspects (and other folders like assets/banners).
  • A author who creates a number of pages based on a set of assets, for example a "Product X launch" section which always uses images from (assets/products/my-category/product-x)

Acceptance Criteria

  • When adding files to an UploadField or selecting them in "insert file" and "insert image", the system remembers the last folder I've viewed
  • My selection does not affect any other CMS users
  • My selection persists between logins on the same device

Notes

  • Excludes saving selection across devices
  • Excludes remembering search filters

chillu avatar Feb 18 '18 21:02 chillu

@newleeland @clarkepaul What do you think about this?

chillu avatar Feb 18 '18 21:02 chillu

FWIW this is the last remaining of the selectupload module. We decided not to upgrade it for SS4 because most of its functionality is part of core now - this is the last one =)

robbieaverill avatar Feb 18 '18 21:02 robbieaverill

My thoughts are that it makes sense on a session or page bases but not something that is remembered the next day. I have an example for a Mac—you open the finder and every time it takes you back to where you were on the last visit rather than the top, personally I would be super annoyed.

So I would disagree with this bit:

My selection persists between logins on the same device

clarkepaul avatar Feb 20 '18 22:02 clarkepaul

See my comment on https://github.com/silverstripe/silverstripe-asset-admin/issues/742

tractorcow avatar Mar 05 '18 00:03 tractorcow