Skip to content

Conversation

Kitenite
Copy link

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

  • Bug fix
  • New feature
  • Documentation update
  • Release
  • Refactor
  • Other (please describe):

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.

  • New Feature:
    • Added ImageSelectionModal in ImageSelection.tsx for selecting images from the image panel.
    • ImagePicker.tsx updated to include SelectImageButton to open ImageSelectionModal.
    • Users can upload new images or select existing ones to apply as fill color.
  • Functionality:
    • ImageSelectionModal filters images based on search input and allows selection.
    • handleImageSelection in ImagePicker.tsx updates image data and inserts selected image into editor.
  • UI Components:
    • Added SelectImageButton and integrated it into the image picker UI.
    • ImageSelectionModal uses Dialog, DialogContent, DialogHeader, and DialogTitle for modal display.

This description was created by Ellipsis for 3780e45. You can customize this summary. It will automatically update as commits are pushed.

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.

[feat] When setting an image fill, open up the image panel to select/upload an img

2 participants