Skip to content

Improvements and Clarifications for CSV Upload Functionality #396

Open
@pral2a

Description

@pral2a

Following up on the CSV upload functionality, there are several points that could be considered for discussion and potential improvement:

  1. File Management System:
    In the previous version (developed in Angular), the platform included a basic file management system for uploads. It allowed users to upload and manage files.
    This functionality is not present in the current staging version. It is unclear how critical this feature is, but it might become relevant for users uploading large datasets, e.g., one CSV file per device per day.

    Action: @oscgonfer evaluate from community experience whether some form of file management (or at least basic visibility of uploaded files) should be considered.

  2. No Pre-validation of Uploaded Files:
    Currently, in any of the version, the platform does not perform any pre-validation of the uploaded CSV files. Any file can be uploaded, and the user is notified that the upload was successful, even if the file does not contain valid data.

    Action:

  • Consider updating the success message to something more accurate, such as:
    "Your file was uploaded successfully. The data is now being processed. If successful, it will appear in your dashboard shortly."
  • Optionally, explore adding basic pre-validation to catch completely invalid files earlier and provide immediate feedback.
  1. Notification on Processing Outcome:
    Currently, users receive no feedback if the data processing fails after uploading a file.

    Suggestion:

  • Discuss with @oscgonfer and @adaisuri whether we should implement email or in-app notifications for upload processing outcomes, at least for failures.
  1. Terminology Change:
    Previously, this functionality was labelled as "SD Card Upload." It has now been renamed to "CSV Upload," which seems more accurate and intuitive.

    Note: No action required unless we want to explicitly document this change somewhere for users familiar with the old terminology.

Summary of Suggested Actions:

  • Evaluate necessity of reintroducing basic file management or at least improving file visibility.
  • Update the upload success message to reflect the asynchronous nature of data processing.
  • (Optional) Add basic pre-validation of uploaded CSV files.
  • (Optional) Discuss notification system for success/failure of upload processing.

Metadata

Metadata

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions