CS2113-AY1819S1-W13-1 / main

FreeTime
MIT License
0 stars 3 forks source link

Compulsory Information when registering #150

Closed bennchong closed 6 years ago

bennchong commented 6 years ago

Guys I need some input, do we want all fields such as phone, email and address to be compulsory? My take is that it is non-essential due to the purpose of our application, and hence its extra information that need not be compulsory when signing up. Do let me know what you all think

nianfei97 commented 6 years ago

I would say it doesn't need to be compulsory, agree with your reasoning.

alexiscatnip commented 6 years ago

Agree also. I suppose since its registeration, then the only necessary items are the username and password

cjinting-nus commented 6 years ago

Technically it is not required, but it involves modifying the original function of the filteredList and also all the tests that come with it :>

bennchong commented 6 years ago

Technically it is not required, but it involves modifying the original function of the filteredList and also all the tests that come with it :>

The filtered list requires the fields to be present?

cjinting-nus commented 6 years ago

From what I understand, running the original add command requires all the fields, with the exception of tags, to be nonnull. They would not allow for other fields to be left empty.

cjinting-nus commented 6 years ago

But I think internally filteredList does not check for the fields to be non-null, I think?

bennchong commented 6 years ago

From what I understand, running the original add command requires all the fields, with the exception of tags, to be nonnull. They would not allow for other fields to be left empty.

On my local repo I've changed this to accommodate empty fields (not so trivial), all left is the tests since addCommand is basically changed to registerCommand.

cjinting-nus commented 6 years ago

From what I understand, running the original add command requires all the fields, with the exception of tags, to be nonnull. They would not allow for other fields to be left empty.

On my local repo I've changed this to accommodate empty fields (not so trivial), all left is the tests since addCommand is basically changed to registerCommand.

Sounds good, nice one Ben

bennchong commented 6 years ago

From what I understand, running the original add command requires all the fields, with the exception of tags, to be nonnull. They would not allow for other fields to be left empty.

On my local repo I've changed this to accommodate empty fields (not so trivial), all left is the tests since addCommand is basically changed to registerCommand.

Sounds good, nice one Ben

Thanks. Closing this 👍