Skip to content

Improve folder selection in file upload dialogs - #414

Open
digitmaster wants to merge 3 commits into
concretecms:1.7.xfrom
digitmaster:feature/12083-file-upload-folder-picker
Open

Improve folder selection in file upload dialogs#414
digitmaster wants to merge 3 commits into
concretecms:1.7.xfrom
digitmaster:feature/12083-file-upload-folder-picker

Conversation

@digitmaster

@digitmaster digitmaster commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

This provides the Bedrock frontend changes for the second feature request in concretecms/concretecms#12083.

Companion PR: concretecms/concretecms#13060.

The folder dropdown in file upload dialogs is replaced with a scalable folder picker that provides:

  • A lazily loaded folder tree for browsing.
  • Remote folder search displaying up to 50 matching folders. When additional matches exist, the picker shows "More folders found. Refine your search." so users can narrow the query and retrieve the desired folder.
  • A clear indication of the current upload destination.
  • An improved folder creation flow that shows the selected parent path, focuses the name field, allows the operation to be cancelled, and automatically selects the newly created folder.
  • Permission-aware folder selection.
  • Folder name validation matching the existing 255-character database limit.

The folder search queries only folder tree nodes and does not load files or file versions, allowing the picker to remain usable with large file libraries.

Testing

  • Tested all three file picker instances on the Bookmark Icons dashboard page.
  • Tested folder browsing, remote search and synchronization between search results and the tree.
  • Tested folder creation, cancellation, focus handling and automatic selection.
  • Tested names at the 255-character boundary and rejection of longer or malformed values.
  • Ran Bedrock StandardX checks.

@digitmaster
digitmaster marked this pull request as draft August 22, 2026 22:24
@digitmaster
digitmaster marked this pull request as ready for review August 23, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant