Skip to content

Conversation

@cybervoid0
Copy link
Owner

  • Removed unnecessary state management for file selection and preview URL.
  • Introduced a new IconUpload component to encapsulate icon selection and preview logic.
  • Enhanced form validation for the icon field to ensure an icon is selected.
  • Simplified the submission process by directly integrating icon handling into the form submission logic.

Cybervoid added 2 commits June 22, 2025 04:44
- Updated manufacturer management to include an icon field, allowing for image uploads and previews in the add manufacturer form.
- Modified API routes to handle icon data, converting it to a buffer for storage.
- Enhanced the brands page to display manufacturer icons, improving visual representation.
…ve form structure

- Removed unnecessary state management for file selection and preview URL.
- Introduced a new IconUpload component to encapsulate icon selection and preview logic.
- Enhanced form validation for the icon field to ensure an icon is selected.
- Simplified the submission process by directly integrating icon handling into the form submission logic.
@cybervoid0 cybervoid0 merged commit b4aa983 into master Jun 23, 2025
1 check failed
@cybervoid0 cybervoid0 deleted the manufacturer-icons branch June 23, 2025 01:39
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.

2 participants