Giter Site home page Giter Site logo

ped's People

Watchers

 avatar

ped's Issues

Getting wrong error message for some commands

When I execute the command

find n/A abc/B

The app give me the following error message:

Names should only contain alphanumeric characters and spaces, and it should not be blank

But actually the error message should be something like invalid command format

In UG: `find` command does not have correct optional parameter description

In UG, the find command has format find n/NAME sb/SUBJECT, which means that both "n/" and "sb/" must present (without indicating optional parameters). But from the real behavior of the app, parameter "n/" and "sb/" can both exist or only exist one (but at least must exist one). For example:

find n/A

find sb/A

Better handling the situation of failed to save data for the app

When the app can not save data due to some reason, it will give the error message Could not save data due to the following error: data\tuitionconnect.json. But maybe you need to specify why the app can not save data, or the users may confused.

And also, the program continue runs after failure to write to file. The information that the user make will store in RAM for this session, but when you restart the app, the data will lost. Maybe add a pop up box to notify the user to select another location to store the data file when the user is closing the program but the data failed to write to the default location?

Note: I use Windows file permission to set tuitionconnect.json to totally denied permission to test the situation of can not read/save data

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.