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

Add more commands and indexing #138

Merged
merged 33 commits into from
Oct 26, 2020

Conversation

xinyee20
Copy link
Collaborator

@xinyee20 xinyee20 commented Oct 24, 2020

close #136
close #156
close #137

Done:

  1. Add flagatt and unflagatt command
  2. Add Indexing for markpresent, markabsent, delstudent, flagatt, unflagatt commands
  3. Change id/ to matric/
  4. setscore command to be split into setScore, addscore, subscore commands with indexing
  5. Implement Comparator to sort lessons, students and studentsInfo lists
  6. Add Testcases for command parsers

xinyee20 and others added 29 commits October 21, 2020 20:40
# Conflicts:
#	src/main/java/team/serenity/logic/parser/SerenityParser.java
…into more_commands

# Conflicts:
#	src/main/java/team/serenity/logic/commands/student/AddStudentCommand.java
#	src/main/java/team/serenity/logic/commands/student/DelStudentCommand.java
#	src/main/java/team/serenity/logic/commands/studentinfo/AddScoreCommand.java
#	src/main/java/team/serenity/logic/commands/studentinfo/MarkAbsentCommand.java
#	src/main/java/team/serenity/logic/commands/studentinfo/MarkPresentCommand.java
#	src/main/java/team/serenity/logic/parser/SerenityParser.java
#	src/main/java/team/serenity/logic/parser/student/DelStudentCommandParser.java
#	src/main/java/team/serenity/logic/parser/studentinfo/AddScoreCommandParser.java
#	src/main/java/team/serenity/logic/parser/studentinfo/MarkAbsentCommandParser.java
#	src/main/java/team/serenity/logic/parser/studentinfo/MarkPresentCommandParser.java
#	src/main/java/team/serenity/model/ModelManager.java
#	src/main/java/team/serenity/model/group/studentinfo/Attendance.java
#	src/test/java/team/serenity/logic/commands/SetScoreCommandTest.java
#	src/test/java/team/serenity/logic/parser/MarkPresentCommandParserTest.java
#	src/test/java/team/serenity/model/group/studentinfo/AttendanceTest.java
@codecov-io
Copy link

Codecov Report

Merging #138 into master will decrease coverage by 0.08%.
The diff coverage is 36.58%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #138      +/-   ##
============================================
- Coverage     46.22%   46.13%   -0.09%     
- Complexity      600      672      +72     
============================================
  Files           130      138       +8     
  Lines          2726     3225     +499     
  Branches        312      407      +95     
============================================
+ Hits           1260     1488     +228     
- Misses         1369     1612     +243     
- Partials         97      125      +28     
Impacted Files Coverage Δ Complexity Δ
...main/java/team/serenity/commons/core/Messages.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...main/java/team/serenity/commons/util/XlsxUtil.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...nity/logic/commands/student/AddStudentCommand.java 75.00% <ø> (ø) 10.00 <0.00> (ø)
...ava/team/serenity/logic/parser/SerenityParser.java 37.50% <0.00%> (-5.36%) 6.00 <0.00> (ø)
...team/serenity/logic/parser/SerenityParserUtil.java 80.00% <ø> (+44.00%) 7.00 <0.00> (+3.00)
...rc/main/java/team/serenity/model/ModelManager.java 43.29% <0.00%> (-3.73%) 22.00 <0.00> (ø)
...va/team/serenity/model/managers/LessonManager.java 81.25% <0.00%> (-3.54%) 15.00 <0.00> (ø)
...ity/logic/commands/studentinfo/FlagAttCommand.java 24.07% <24.07%> (ø) 4.00 <4.00> (?)
...y/logic/commands/studentinfo/UnflagAttCommand.java 24.07% <24.07%> (ø) 4.00 <4.00> (?)
...ty/logic/commands/studentinfo/SubScoreCommand.java 25.75% <25.75%> (ø) 4.00 <4.00> (?)
... and 27 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8425082...802efd7. Read the comment docs.

@Nijnxw Nijnxw merged commit 1efd637 into AY2021S1-CS2103T-W12-4:master Oct 26, 2020
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.

Add FlagAttendance and UnflagAttendance Redo commands for participation Allow indexing for commands
3 participants