nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Downloading a `.csv` file overwrites the previous `.csv` file. #1817

Open nus-pe-bot opened 1 week ago

nus-pe-bot commented 1 week ago

Downloading a new .csv file overwrites the previous downloaded .csv file, probably because they both get named exported.csv.

Steps to reproduce:

  1. Download a .csv file by using the download command.

  2. Download a different .csv file (e.g. by running download t/Bye).

Expected: Both .csv files are present, with the latest file added being named exported(1).csv.

Actual: Only the latest file is present.

Screenshots: After running step 1:

image.png

image.png

After running step 2:

image.png

image.png


[original: nus-cs2103-AY2425S1/pe-interim#2493] [original labels: severity.Medium type.FunctionalityBug]

arnav-goel10 commented 1 week ago

Team's Response

Thank you for reporting this issue. We understand your concern about the .csv file being overwritten when exporting multiple files. However, this behavior is intentional and designed to meet the practical needs of our primary users, restaurants.

Restaurants typically require the most up-to-date data in a single, easily accessible file rather than managing multiple exported files. Allowing multiple files with varying names could lead to clutter and confusion, especially in fast-paced environments where employees rely on quick access to accurate data. Overwriting the previous file ensures users are always working with the latest information without needing to manually sort through or delete outdated files.

Moreover, exporting multiple files serves little practical purpose for restaurants. Restaurant operations usually revolve around a single set of up-to-date order or customer data at any given time. Multiple .csv files with similar data would add unnecessary complexity, as staff would need to identify which file is the most recent before proceeding, increasing the chances of error.

This approach also aligns with the app’s focus on simplicity and operational efficiency. For users who wish to keep older exports, it is possible to manually rename the file before initiating a new export.

Given these reasons, we do not consider this behavior a bug but a deliberate design choice to prioritize usability and efficiency for our target audience.

Duplicate status (if any):

--