Skip to content

Conversation

@agjs
Copy link
Collaborator

@agjs agjs commented Mar 2, 2025

…ality

  • Introduce new ImageDialog component for image selection and cropping
  • Update Dialog component with optional click outside closing
  • Modify ImageCrop to support Blob input and improved image handling
  • Add ImageDialog story for component demonstration
  • Enhance ImageInput with file input reset functionality

…ality

- Introduce new ImageDialog component for image selection and cropping
- Update Dialog component with optional click outside closing
- Modify ImageCrop to support Blob input and improved image handling
- Add ImageDialog story for component demonstration
- Enhance ImageInput with file input reset functionality
agjs added 8 commits March 3, 2025 15:44
- Update Mastodon icon color to match new primary color scheme
- Add Tailwind PostCSS plugin configuration
- Modify ESLint and Vite configuration files
- Update Storybook preview and theme settings
- Adjust various component stories and styling classes
- Refactor export order in index.ts
- Minor logo and icon updates
- Modify Icons story to dynamically render all available icons
- Simplify icon rendering and improve type handling
- Update DomainInput story to optimize onChange event handling
- Remove tailwind.config.js configuration
- Update Select component styles to use OKLCH color values
- Replace RGB color variables with OKLCH color representation
- Minor styling adjustments in Select component
- Enhance Icon component with optional dataTestId prop
- Update Icon component to support data-testid attribute
- Add data-testid attributes to icons in Accordion, CTA, ContentWidget, Error, ImageSelector, and other components
- Modify test setup to mock Icon component with data-testid support
- Improve test coverage and component testability
- Remove unnecessary props from ImageCrop and ImageDialog
- Add state management for cropping and saving images
- Enhance error handling in image saving process
- Update ImageDialog to support loading state during save
- Simplify image cropping and dialog interaction
- Extract blobToBase64 utility method to ImageUtils
- Remove unused crop state and props from ImageCrop components
- Update ImageDialog to pass both blob and base64 to onSave handler
- Remove console.log statements and unnecessary code
- Streamline image-related components and stories
@agjs agjs marked this pull request as ready for review March 4, 2025 20:30
@agjs agjs merged commit f3dec15 into master Mar 4, 2025
1 check passed
@agjs agjs deleted the image-dialog-componetn branch March 4, 2025 20:31
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.

1 participant