Skip to content

[frontend] CSVUploader has no file size validation before parsing #957

Description

@Wilfred007

Description

CSVUploader.tsx reads and parses the entire selected file with no size check beforehand. A multi-megabyte file can hang the browser tab during parsing with no warning shown to the user first.

Where

frontend/src/components — CSVUploader.tsx

Acceptance Criteria

  • Add a maximum file size check before attempting to parse, with a clear error message when exceeded
  • Add a test for the oversized-file rejection

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programfrontendFrontend developmentmediumModerate tasks

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions