bryanlundberg / NexusTimer

Nexus Timer is a powerful unopinionated, minimalist training tool for SpeedCubing.
https://nexustimer.com/
GNU General Public License v3.0
42 stars 32 forks source link

Add Data Validation using the 'Import' feature #144

Closed bryanlundberg closed 1 year ago

bryanlundberg commented 1 year ago

File: importDataFromFile.ts has everything needed to handle error using import feature.

Now, it is necessary to finish it, there is a function inside isValidCubesData(), which should return 'true' or 'false' based on whether all the data in the imported .txt file complies with our designated data structure.

image

AnuMessi10 commented 1 year ago

Hi @bryanlundberg, I am new to this and would like to contribute, let me know if you can assign this to me. Cheers!

bryanlundberg commented 1 year ago

Hi @bryanlundberg, I am new to this and would like to contribute, let me know if you can assign this to me. Cheers!

Welcome, you can work on it. 👋 @AnuMessi10

bryanlundberg commented 1 year ago

@AnuMessi10 could you please confirm if you're currently working on this?

AnuMessi10 commented 1 year ago

Hi @bryanlundberg, yes I am working on it, have made a fix as well, just testing some border cases