Skip to content

FEATURE: Selection and editing of multiple assets#295

Merged
Sebobo merged 40 commits intoFlowpack:2.x-devfrom
connykaelinvisol:feature/8-multi-selection
Apr 20, 2026
Merged

FEATURE: Selection and editing of multiple assets#295
Sebobo merged 40 commits intoFlowpack:2.x-devfrom
connykaelinvisol:feature/8-multi-selection

Conversation

@connykaelinvisol
Copy link
Copy Markdown
Contributor

@connykaelinvisol connykaelinvisol commented Apr 16, 2026

What I did
Multiple Assets are selectable by checkbox or with shift/command in thumbnail and list view. The possible actions for the selected Assets are:

  • Delete
  • Add/remove to clipboard
  • Set copyrightNote (the same for all selected Assets, overwrites already existing copyrightNotes)
  • Move to Asset collection
  • Add/remove Tags

With this change some design adjustments were made too for thumbnail and list view. Also the delete button inside the clipboard was removed and a new button to close the clipboard was added. The function of the clipboard (as short path to files) was not touched.

How to verify it
There is a new set of e2e tests bundled in Multi-Selection.

Resolves: #30 #81 #8

connykaelinvisol and others added 27 commits April 16, 2026 09:34
…n in clipboard, fix translation in PropertyInspector
@Sebobo Sebobo self-requested a review April 16, 2026 14:08
@Sebobo Sebobo changed the title Feature/8 multi selection FEATURE: Selection and editing of multiple assets Apr 16, 2026
@Sebobo Sebobo added the Feature A new feature label Apr 16, 2026
@Sebobo
Copy link
Copy Markdown
Member

Sebobo commented Apr 16, 2026

Thx, already looks and works great!

A few things I noticed so far during review:

  1. Selection view allows multi select, but it doesn't have any use and the selection icon is broken. I would only allow the feature in the media module for now.
CleanShot 2026-04-16 at 22 47 37@2x
  1. The context menu doesn't look so good yet, especially in the detail view. Also the delete button doesn't make sense there, if we are currently inspecting an asset that is in use. We should remove the delete button in this view and improve the menu styling.
CleanShot 2026-04-16 at 22 46 51@2x
  1. You added most code to the core package, which I want to cleanup. Can we move at least a part of the batch / multi functionality to a separate package?

I merged the changes from 2.x.dev and fixed a few minor things related to my api changes (all operations now need an asset source id).

Comment thread packages/core/src/components/Badge.module.css Outdated
@connykaelinvisol
Copy link
Copy Markdown
Contributor Author

@Sebobo point 1 and 2 are fixed/improved. I also extracted some of the newly created hooks from the core package which are only consumed by components from the media-module package. other code like states are consumed by code in different packages so there is no distinct allocation possible.

I left the badge component in the core too even if we only use it in the media-module component for now. This is a quite basic component which can be reused anywhere if needed.

@Sebobo Sebobo merged commit 46305cf into Flowpack:2.x-dev Apr 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants