Added panel to select image from images panel to fill images or uploa… #6
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
Added new modal to show the Images from the Image panel. user can either upload new image or select one from the Images panel and applied in the fill color.
Related Issues
fixes onlook-dev#1550
Type of Change
Testing
Tested by running locally
Screenshots (if applicable)
Screencast.from.2025-05-03.20-51-45.webm
Important
Added image selection modal to
ImagePicker.tsx
for selecting or uploading images as fill color.ImageSelectionModal
inImageSelection.tsx
for selecting images from the image panel.ImagePicker.tsx
updated to includeSelectImageButton
to openImageSelectionModal
.ImageSelectionModal
filters images based on search input and allows selection.handleImageSelection
inImagePicker.tsx
updates image data and inserts selected image into editor.SelectImageButton
and integrated it into the image picker UI.ImageSelectionModal
usesDialog
,DialogContent
,DialogHeader
, andDialogTitle
for modal display.This description was created by
for 3780e45. You can customize this summary. It will automatically update as commits are pushed.