Skip to content

feat: add separate categories for each uploaded image

Laxman Reddy requested to merge feature/separate-categories-per-upload into develop

Description:

Implemented separate categories selection for each uploaded image in the upload flow.

Previously:

  • Categories were shared globally for all uploaded images.

Now:

  • Each uploaded image has its own:
    • Title
    • Description
    • Categories selection
  • Categories are managed independently per upload item.
  • Removed old shared/global categories logic.
  • Updated upload payload structure to support categories per image.
  • Added UI consistency improvements so categories appear in the same form structure as title and description fields.

Type of Change:

  • Feature Development
    • Bug Fix
    • Documentation

Testing:

  • Tested on desktop
    • Tested on mobile
    • Tested in different browsers

Tested scenarios:

  • Single image upload
  • Multiple image uploads
  • Independent category selection per upload
  • Validation handling
  • Upload payload verification

Screenshots (if applicable):

Added screenshots for:

  • Upload form before image selection
  • Single upload with categories
  • Multiple uploads with separate categories

image.png

image.png

image.png


Checklist:

  • Code follows project style guidelines
    • Self-review completed
    • No console errors
    • TypeScript types are correct

Merge request reports

Loading