Herro
alanlowzies / ip Goto Github PK
View Code? Open in Web Editor NEWThis project forked from nus-cs2113-ay2122s2/ip
This project forked from nus-cs2113-ay2122s2/ip
Herro
As of the Level-4
increment, Sora's response to adding a new task has been simplified due to the new specific task types (to-do, event, and deadline types) which adds some complexities to her responses.
I hope to improve her responses to what it was before, if not better. An example can be seen on the CS2113T website
Additional Functionality
Sora will greet the user with different greetings based on the time of the day. Likewise, she will bid the user farewell differently depending on the time. The same goes for the acknowledgements when responding to commands.
For example, Sora may acknowledge the list
command differently:
Unfortunately, with the current method of semi-automatic text UI testing taught so far, I am unable to account for these dynamic texts in a single testing file. A possible solution I have thought of is to create different EXPECTED.txt
files for each part of the day. However, even with this solution, dynamic responses will still not be accounted for.
As the saved file format utilises the pipe character to distinguish between different columns of data in the file, to improve program stability, the character should be prevented from being used by the user.
Expected behaviour:
|
This issue is to keep track of assumptions that the user has to adhere to.
Can refer to this when writing up the user guide (if needed).
Implement EmptyListException
on methods in the TasksManager
class that needs to check if the task list is empty before executing their primary tasks.
Once the exception is implemented, should consider changing the return type of these methods. Currently, the return type is boolean:
true
is returned when the action is executed successfullyfalse
is returned when the action failed to execute properly (can consider implementing extra exception handling for this, if time permits).With exception handling, it is likely that the method will only return true
, which makes returning a boolean value to the calling method redundant.
Sora prints kaomoji to give it some personality, but they cannot be properly captured in the testing files (i.e. ACTUAL.txt
and EXPECTED.txt
) due to some encoding issues.
Attempted Solutions:
javac -encoding ISO-8859-1
(reference). Did not work.javac -encoding UTF-8
. Does not really work, but the output is 'less intimidating' than the previous solution. Currently using this encoding.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.