racerecords / RaceRecords

1 stars 0 forks source link

Delete readings #6

Open drewdrew122 opened 5 years ago

drewdrew122 commented 5 years ago

The system should have the ability to delete a reading that has been saved to car's record. The system shall allow the user of the negative sign (-) in front of the reading to denote the reading should be deleted. Example being:

27 -101 (will delete the reading 101 from a car 27's list of readings). The reading should only be deleted if it exists.

mcmillanator commented 5 years ago

Each reading will be displayed on the webpage. It will be easier to provide a button for removing the entry. I'm not sure how to create a good UX for removing readings with single hand num pad entries.

drewdrew122 commented 5 years ago

I've used negative numbers to denote the removal of a reading. So if car #5 had readings of 100, 101, 99, 100, and 101. The user entering -101 as a reading would remove the latest reading of 101.

mcmillanator commented 5 years ago

It can be done. I'm concerned about possible bugs and user error causing valid data to be deleted. A clearly marked button is obvious to anyone new to the system. I think we will start with a button for MVP and go from there. A negative entry which removes data will require a bit more programming.