Fix: Mandatory title by user while uploading

Title: feat(upload): add support for custom title input during file uploads


Description

What is this MR about?

This MR introduces an enhancement to the file upload functionality in the Corpus app by improving how titles are handled during uploads.

What does this MR do?

  • Adds support for providing a custom title during file uploads (including via CLI)
  • Prevents automatic assignment of default titles like "upload: image" when not explicitly set
  • Enables handling of unique titles for each file in bulk uploads
  • Lays groundwork for prompting users for a title where applicable

Background

Currently, when users upload files (documents, text, etc.), there is no option to specify a title—especially via CLI. The system automatically assigns default titles, which are often incorrect or misleading. This leads to poor data organization and a confusing user experience, particularly during bulk uploads.

This enhancement ensures more accurate metadata and better usability.


Checklist

  • The feature has been fully implemented.
  • Tests for the new feature are included and passing.
  • User documentation/guides have been updated (if applicable).
  • Impact on existing functionality has been considered.

Related Issue(s)

Closes #9 (closed)

Merge request reports

Loading