silverstripe-admin
silverstripe-admin copied to clipboard
Remember last viewed folder in "add from files"
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/policiesfolder on pages, but doesn't care about the marketing aspects (and other folders likeassets/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
@newleeland @clarkepaul What do you think about this?
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 =)
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
See my comment on https://github.com/silverstripe/silverstripe-asset-admin/issues/742