[MGNLUI-3675] Chooser dialog should remember last used location for Assets Created: 24/Nov/15  Updated: 18/Oct/23  Resolved: 29/Sep/23

Status: Closed
Project: Magnolia UI
Component/s: dialogs
Affects Version/s: 6.2.6
Fix Version/s: 6.2.40

Type: Improvement Priority: Major
Reporter: Antti Hietala Assignee: Alberto Soto
Resolution: Fixed Votes: 9
Labels: ux-improvement, ux-improvement-selected
Remaining Estimate: Not Specified
Time Spent: 1.75d
Original Estimate: Not Specified

Attachments: PNG File 1-Stories select img.png     PNG File 2-Stories select next img.png     PNG File 3-Stories folder.png     PNG File Screenshot 2023-05-15 at 11.40.01.png     PNG File Screenshot 2023-05-15 at 11.40.20.png    
Issue Links:
Cloners
is cloned by MGNLUI-8402 Session is not kept when you change t... Closed
Relates
relates to ECOMMERCE-392 Remember my last location Closed
relates to MGNLUI-8436 DOCU Remember My Last Location for As... Closed
duplicate
duplicates MGNLDAM-716 Save asset chooser state in user's se... Closed
is duplicated by MGNLUI-4140 Remember last-used location Closed
is duplicated by MGNLUI-4420 Asset chooser should remember last po... Closed
is duplicated by MGNLUI-7160 Allow workbenchChoosers to retain the... Closed
relation
is related to MGNLUI-6242 Scroll to selected item does not work... Closed
is related to MGNLUI-8402 Session is not kept when you change t... Closed
is related to MGNLUI-8408 Port to master MGNLUI-3675 Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Release notes required:
Yes
Documentation update required:
Yes
Date of First Response:
Epic Link: Remember my last location
Story Points: 8
Team: AuthorX
Work Started:
Approved:
Yes

 Description   

User story

As an Editor, I want the chooser dialog to remember my last selection for each workspace, so that I can select asset faster.

Business value: Speed. Better editorial user experience. Currently, the Asset chooser always starts at the root. When you add multiple assets to a page or story finding the same subfolder again is cumbersome and slow.

Reproduce
In the Stories app, open lost-and-found-in-swiss-alps and click "browse" to select a different image.
The assets chooser opens with the tree unfolded at the right place but the previous selected item is not highlighted.

Acceptance criteria

  • Chooser dialogs open at the last-selected asset
  • If the last location folder/node was moved or deleted, open the data source root instead. (Note: The root is configurable in the rootpath property.)
  • Store the last-used location for all workspaces (website, tours, contacts...), not only for DAM
  • Store the last-used location when switching btw apps and sub apps
  • Only clear the last-used location when user logs out
  • Ability to remember the last used location is a user preference. Provide a "Remember last location" checkbox option in the Preferences tab of the user profile dialog. The preference is true by default.


 Comments   
Comment by Richard Unger [ 26/Nov/15 ]

This is an excellent idea. +1

We also extended the asset choosing with the following behaviour:

  • if not present, create a folder structure in DAM that mirrors the structure in website, so if the user is editing /mysite/home/section1/pageA/pageA1, then in DAM we create the folders /mysite/home/section1/pageA/pageA1 as well
  • when selecting an image, if there is currently no image selected for the field, then pre-select the 'mirrorred' folder in DAM
  • when uploading a new image, then pre-select the 'mirrorred' folder in DAM

In this way we help the editors to keep DAM tidy. Without this feature we found that ALL images were being put in the root level of DAM.

Comment by Thomas Comiotto [ 10/Feb/16 ]

Mirroring the page structure in DAM is no option for us because

  • our users often organize assets along media types (videos, pictures, documents)
  • we work with multiple language trees (different page path per language version) and assets are usually shared by the different language versions.
Comment by Onno Bruins [ 24/Feb/16 ]

Yeah +1 This would make a lot of our editors happy. They all wish we had a feature like this.

Comment by Thomas Comiotto [ 16/Jan/18 ]

This issue has been resolved and can be closed.
Thanks, Thomas.

Comment by Natascha Natum [ 19/Apr/18 ]

Input from another user:

User feedback:

We have quite a number of sites, editors and assets in our Magnolia instances. We have asset folders for different sites, subfolders for subsites, etc. Our editors are complaining that life is hard when selecting an asset for use on a page: it takes a lot of clicks to get to the folder the asset is in, the interface doesn't remember the last used location and favorites are no solution either, because they are not available in the dialog that is used to choose an asset.

Remember the last used location as a user preference:

  • Provide a "Remember last location" (checkbox) option in the Preferences tab of the user profile dialog.
  • Enable the preference by default.

Record the last-used location:

  • Store the last-used location for each workspace: last page for website, last asset for dam etc.
  • For performance reasons you may want to store the last-used location only when an app or chooser dialog is closed, not every time the user changes a location while browsing the workspace.
  • Store last-used locations in the profiles workspace or another user-specific location so that they are individual and reflect each user's typical locations.

Help the user navigate to the last-used location:

  • Take the user to the last-used location in the workspace when
    • An app is launched.
    • A chooser dialog is opened.
  • If the last-used node has moved or has been deleted:
    • Ignore the last-used used location gracefully without errors.
    • Take the user to the default location, typically:
Comment by David Martin [ 12/Apr/19 ]

The image chooser should automatically go to the last selected folder location

Navigating a folder hierarchy takes a lot of clicks and scrolling but going to the root of the folder hierarchy is fast.

When creating a page with multiple images that are stored in the DAM, this would save lots of user time, frustration and event help prevent RSI

Comment by Roman Kovařík [ 10/May/23 ]

A small PoC with these references: 

Chooser dialogs open at the last-selected folder.

The PoC opens the last used item (not the last folder) as the generic framework doesn't know how to to retrieve an asset parent folder or what actually is a parent folder for e.g. page.

Ability to remember the last used location is a user preference. Provide a "Remember last location" checkbox option in the Preferences tab of the user profile dialog. The preference is true by default.  

This could be easily configurable per linkField config level but Magnolia doesn't have any similar user altering behaviour. This would be a feature of a different magnitude.

Comment by Georgia Baker [ 08/Sep/23 ]

Flag added

Flagged as Alberto off

Generated at Mon Feb 12 09:09:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.