Skip to content

Feature: Add 'Shelf' pane to take bulk actions on items from different paths #12490

@Lamparter

Description

@Lamparter

What feature or improvement do you think would benefit Files?

Once inside the dropzone, there will be a preview of the file and manipulation options to clear the dropzone, etc.

Image

Requirements:

  • Behind the scenes, the feature will work by keeping a reference to the paths:
    • We'll need a file watcher to update items in the 'shelf' if they are modified.
    • It's undecided whether items should persist across sessions (we may add a setting for this).
      • If it persists, we'll need to check on startup and remove items that can't be located.
  • Items can be added to the 'shelf' via drag & drop.
  • Items can be removed from the 'shelf' from a right click context menu.
    • Right clicking multiple items should remove all the selected items from the 'shelf'.
  • Prevent adding duplicate references to the same item.
  • Items are sorted in the order in which they were added to the pane.
  • Dragging an item from the 'shelf' to a different location should display a context menu with options to:
    • Copy here.
    • Move here (moving an item should also remove the item from the 'shelf').
    • Create Shortcut.
  • An option to clear all items.
  • Multiselect support.
  • Right clicking item in the 'shelf' only works if you right click the grid area.
  • Selecting an item in the pane should remove the focus from the file area.
  • Add placeholder text and image when 'shelf' is empty.
  • Disable transitions in the list view.
  • We are still finalizing the logic for the pane, including how it's toggled, how it relates to other panes etc. I will likely be the one to implement these behaviors.

Bugs

  • The context menu only opens when right clicking the grid. The expected behavior to open when right clicking anywhere on the item container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    🏗 In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions