Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix edit command #104

Merged
merged 5 commits into from
Apr 5, 2024
Merged

Conversation

yiwern5
Copy link
Collaborator

@yiwern5 yiwern5 commented Apr 4, 2024

when the person is assigned to a task and use edit command to change the name, it will change the task list person in charge's name to sync with the changes

however if the task has duplicate name, the code will break, can be solved by changing the equals method of task.java return task.personInCharge.equals(otherTask.personInCharge), but it will fail the edit command test, will solve it soon to pass CICD

KiatLun and others added 3 commits April 5, 2024 01:28
…-Tasks

Added a visble tasklist to view all tasks done or not done.
when the person is assigned to a task and use edit command to change the name, it will change the task list person in charge's name to sync with the changes, however if the task has duplicate name, the code will break, can be solved by changing the equals method of task.java return task.personInCharge.equals(otherTask.personInCharge), but it will fail the edit command test, will solve it soon to pass CICD
Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.00%. Comparing base (8f1ea3b) to head (bfbac93).

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #104      +/-   ##
============================================
+ Coverage     71.59%   72.00%   +0.41%     
- Complexity      641      649       +8     
============================================
  Files           110      110              
  Lines          2207     2215       +8     
  Branches        220      222       +2     
============================================
+ Hits           1580     1595      +15     
+ Misses          545      540       -5     
+ Partials         82       80       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@ziyi22 ziyi22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yiwern5 yiwern5 merged commit bd1d2f8 into AY2324S2-CS2103T-T14-1:master Apr 5, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants