feat(ui): add empty state for regional guidance ref image #7363
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.
Summary
Adds empty state for reference images, like we have for control adapters.
Screen.Recording.2024-11-20.at.1.19.10.pm.mov
Related Issues / Discussions
offline discussion
QA Instructions
One caveat - we don't track whether or not it is the first time that you have selected an image. When you click the reset icon in the corner of the reference image image, we fall back to the empty state.
This differs from the current behaviour, where clicking the reset icon only empties the image - the rest of the ref image settings are still displayed, with the image box being a placeholder. You can see this in the video.
We'll need to make some deeper changes if we want to track whether or not this is the first time the user has selected a reference image for a given layer.
Merge Plan
n/a
Checklist
What's New
copy (if doing a release after this PR)