Skip to content

Added panel to select image from images panel to fill images or uploa… #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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