Coder Social home page Coder Social logo

pe's People

Contributors

inas0ng avatar

Watchers

 avatar

pe's Issues

findp's implementation

I think the current implementation of findp could pose an issue to users.

Let's say I input "findp al", hoping to find Alice Pauline to edit her details afterwards. And then I backspace in hopes to clear the command input so that I can enter "editp [index]" to edit Alice's details. However, the moment I backspace to "findp a" (the L is removed), the find-query changes and more names appear, potentially changing Alice's index. The only workaround way I can think of is having to use my mouse and click-drag delete the enter command OR press enter, such that the search for "findp al" remains and I can perform "editp [index]" on Alice. This however may not be intuitive since the search is so reactive.

Screenshot 2023-04-14 at 2.34.24 PM.png

Screenshot 2023-04-14 at 2.34.32 PM.png

In this case, her index remains at 1 but other cases it may change the index due to differing searches. Hope this is clear :3

Edit: likewise, with findt's implementation

DG Sequence Diagram (FindTask)

The sequence diagram states that it would return CommandResult(MESSAGE_SUCESS). However, not this command may not always result in success. (i.e., could have no tasks found).

Furthermore, in your code, there is no MESSAGE_SUCESS constant. There is only MESSAGE_TASK_FOUND_S, MESSAGE_TASK_FOUND_P, and MESSAGE_NO_TASK_FOUND.

Similar error may be identified for other sequence diagrams, such as the AddTask sequence diagram which could also result in the MESSAGE_DUPLICATE_TASK instead.

I think maybe to illustrate a successful command call, the team could provide an example, i.e. execute("findt slides"), instead of using execute(commandText).

findt and findp works differently

Screenshot 2023-04-14 at 2.49.57 PM.png

i typed"findt", expecting it to work like "findp" and immediately list all persons and tasks with the message “Listed all persons and tasks”, however nothing changed.

Hitting enter gives me the error (as it should) stating to enter a keyword behind.

Only way to activate the listing of all persons and tasks is to type "findt " and then delete the trailing space, which seems very unintended. Issue also stems from being inconsistent with "findp" command.

Task Titles are only alphanumeric and spaces

Understand that this was intended by the team, hence, not a functionality/documentation bug. Just thought that task names may require special characters input in certain cases, could be a potential improvement for future iterations.

Screenshot 2023-04-14 at 2.42.24 PM.png

DG Help Activity Diagram

Screenshot 2023-04-14 at 3.39.49 PM.png

The way it's written seems like the help menu automatically closes at the end, which is not the case I believe. Could add a "User closes help menu"

Email accepts more than one special character

Screenshot 2023-04-14 at 3.07.39 PM.png

UG states "The local- part should only contain alphanumeric characters and at most one of these special characters, excluding the parentheses, (+_.-)."

however, i can enter Alice's email as [email protected], making use of 2 special characters. This could be a functionality bug or a documentation bug, depending on which is more realistic.

UG Status parameter unclear

Screenshot 2023-04-14 at 3.12.29 PM.png

Thought that the use of st/true or st/false could've been improved by using st/done st/notdone to make it more user-friendly. That aside, it was also not clear what true meant and what false meant and this could've been explicitly stated in the UG, i.e. true means done, false means not done.

addt Task Deadline

It is stated in the UG that "The DEADLINE set for tasks must not be before the creation date of the task (i.e you cannot set deadlines in the past)."

This would mean that I should be able to set the deadline of the task to be today, i.e. not before creation date, not in the past. However, setting the deadline as today's date is not allowed.

Screenshot 2023-04-14 at 2.40.34 PM.png

Edit: ah, i realised that it defaults to 00:00:00! i think it would be more intuitive if it defaulted to 23:59:59 instead :''') could be an area for improvement, if the team agrees

"findp" command lists all persons and tasks before I hit enter

Screenshot 2023-04-14 at 2.25.36 PM.png

UG states that "Upon entering the findp command,....", however, this takes effect before I hit enter. (could be a phrasing issue or functionality issue)

Also, not sure if this is the best way to implement the command as well since users could've wanted to type editp/addp and accidentally type findp, and before hitting enter, the display has already changed and they might need to relocate the person's index so that they can perform editp/addp.

UG Progress Bars unclear

Screenshot 2023-04-14 at 3.15.31 PM.png

I liked the implementation of the progress bars and the touch of colour they added! Thought that the colour choice was also very appropriate!

However, I think it's not very clear what the length of the progress bars mean. I was looking at task 2 (the preloaded one) and was wondering for quite awhile why the bar wasn't filled if it was completed. I now assume that the length of the bar indicates how close we are to the deadline? Still unsure as this was not explicitly stated in the UG and hence, can be improved upon! :')

filterp then editp unexpected display

i entered
"filterp tag/marketing" to display benson

Screenshot 2023-04-14 at 3.00.09 PM.png

entered
"editp 1 tag/marketing" to remove benson's finance tag

Screenshot 2023-04-14 at 3.01.13 PM.png

benson is edited accordingly (correctly) however no longer displays on the screen. I would still expect benson to show on display due to the filter applied (still has marketing)

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.