Skip to content

[6.x] Put the pending folder message inside the drop zone - #16176

Merged
jaygeorge merged 4 commits into
6.xfrom
16176-assets-pending-folder-spacing
Dec 4, 2026
Merged

jaygeorge merged 4 commits into
6.xfrom
16176-assets-pending-folder-spacing

Conversation

@jaygeorge

@jaygeorge jaygeorge commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Description of the Problem

When an Assets field uses a dynamic folder (dynamic: slug, say), it can't be used until that field has a value. In Full mode the "This field will be available once slug is set." box sat directly on top of the drop zone, with no gap, and the drop zone below it still said "choose a file" even though it was disabled. In List mode the message box's corners didn't match the grey behind it.

image

What this PR Does

  • Full mode: the disabled drop zone shows a padlock and the message itself, so there's one box saying why it can't be used yet, rather than two. It keeps its full height so nothing jumps when the slug arrives.
  • List mode: the message box's corners match the field's background.
  • Compact mode: a gap between the message and the + button.
  • The field name shows as a grey chip rather than the purple accent code style, which drew the eye to the least important word.

Before / After

image

How to Reproduce

  1. Add an Assets field to a collection blueprint with dynamic: slug, in Full, List and Compact modes
  2. Create a new entry and leave the title empty
  3. Look at the Assets fields before the slug is filled in

- Full mode: the disabled drop zone shows a padlock and the message instead of a separate box stacked on top of it
- List mode: the message box's corners match the field's grey background
- Compact mode: a gap between the message and the button
- The field name is a grey chip rather than the purple code style
@jaygeorge
jaygeorge enabled auto-merge (squash) December 4, 2026 13:40
@jaygeorge
jaygeorge merged commit 11459e5 into 6.x Dec 4, 2026
66 checks passed
@jaygeorge
jaygeorge deleted the 16176-assets-pending-folder-spacing branch December 4, 2026 13:40
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