Skip to content

Support user profile pictures and company logos with NIO 2 APIs #136

@leonard1thecoder

Description

@leonard1thecoder

Feature Request: Add Profile Pictures for Users & Logos for Retail Companies (using NIO 2)

Summary:

  • Users should be able to upload and display profile pictures in their accounts.
  • Retail companies must also have the capability to add their company logos to their profiles.
  • All storage and file management operations should leverage Java NIO 2 for flexibility and scalability.

Requirements:

  • Update the user registration and settings flows to support uploading a profile picture (image file).
  • Update the retail company onboarding and management interfaces to support uploading a company logo (image file).
  • Store uploaded images using NIO 2 file APIs for robust file system operations (supporting future file management, moving, and security improvements).
  • Ensure robust validation for file types and file size (e.g., PNG, JPG, or SVG, with reasonable size limits, e.g. 1MB max).
  • Display profile images and company logos throughout the application (dashboards, lists, public profiles, etc.).
  • Add fallback images or icons when no profile picture or logo is provided.

Acceptance Criteria:

  • Users can successfully upload a profile picture; the picture is displayed across the app.
  • Company admins can upload and manage a company logo; it appears with company listings and profiles.
  • All image file storage and access is via NIO 2 (no legacy IO APIs).
  • All error and invalid file scenarios are gracefully handled and reported.

If additional design or UI adjustments are needed, please coordinate with the frontend team.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions