Repository navigation
[6.x] Put the pending folder message inside the drop zone - #16176
Merged
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 onceslugis 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.What this PR Does
Before / After
How to Reproduce
dynamic: slug, in Full, List and Compact modes