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

Branch tab module :( #111

Merged
merged 18 commits into from
Oct 25, 2020

Conversation

ethan-l-m-e
Copy link

No description provided.

ethan-l-m-e added 12 commits October 22, 2020 13:44
Add getters for UniqueModuleList through Model, Logic interfaces

Incorporate basic Ui for displaying modules only.
- ModuleListPanel
- ModuleCard
- ModuleListCard.fxml
- ModuleListPanel.fxml
- MainWindow
Save file is shared in tr4cker.json because of tr4cker.java being data wrapper for all tr4cker data
- modules must not have existing tasks to be deleted
- tasks can only add modules that exist

Add visibility for tasks in module tab
…dule

# Conflicts:
#	src/main/java/seedu/tr4cker/logic/Logic.java
#	src/main/java/seedu/tr4cker/model/Model.java
#	src/main/java/seedu/tr4cker/ui/MainWindow.java
@ethan-l-m-e ethan-l-m-e added this to the v1.3 milestone Oct 24, 2020
@codecov-io
Copy link

codecov-io commented Oct 24, 2020

Codecov Report

Merging #111 into master will decrease coverage by 1.39%.
The diff coverage is 57.91%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #111      +/-   ##
============================================
- Coverage     65.09%   63.69%   -1.40%     
- Complexity      536      619      +83     
============================================
  Files            91      103      +12     
  Lines          1842     2154     +312     
  Branches        192      249      +57     
============================================
+ Hits           1199     1372     +173     
- Misses          584      702     +118     
- Partials         59       80      +21     
Impacted Files Coverage Δ Complexity Δ
...main/java/seedu/tr4cker/commons/core/Messages.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...rc/main/java/seedu/tr4cker/logic/LogicManager.java 64.28% <0.00%> (-7.72%) 6.00 <0.00> (ø)
.../java/seedu/tr4cker/logic/commands/AddCommand.java 85.71% <0.00%> (-14.29%) 8.00 <0.00> (ø)
.../seedu/tr4cker/logic/parser/EditCommandParser.java 60.60% <0.00%> (-10.83%) 8.00 <0.00> (ø)
...java/seedu/tr4cker/logic/parser/Tr4ckerParser.java 86.36% <0.00%> (-4.12%) 15.00 <0.00> (ø)
src/main/java/seedu/tr4cker/model/Model.java 33.33% <ø> (ø) 2.00 <0.00> (ø)
.../java/seedu/tr4cker/storage/JsonAdaptedModule.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
src/main/java/seedu/tr4cker/ui/MainWindow.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
src/main/java/seedu/tr4cker/ui/TaskCard.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
.../main/java/seedu/tr4cker/ui/module/ModuleCard.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
... and 38 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 a96f393...b55e137. Read the comment docs.

Copy link
Collaborator

@ruilingk ruilingk left a comment

Choose a reason for hiding this comment

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

Some minor changes and it LGTM.

src/main/java/seedu/tr4cker/model/ModelManager.java Outdated Show resolved Hide resolved
}
}

public void setModules(UniqueModuleList replacement) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Missing JavaDocs for public method.

Copy link
Author

Choose a reason for hiding this comment

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

image

Idk why it doesn't show its been updated

Copy link
Collaborator

Choose a reason for hiding this comment

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

oh can already!

Copy link
Collaborator

@ruilingk ruilingk left a comment

Choose a reason for hiding this comment

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

lgtm!

@cwenling cwenling merged commit 242cc32 into AY2021S1-CS2103T-T10-2:master Oct 25, 2020
@ethan-l-m-e ethan-l-m-e deleted the branch-tab-Module branch October 25, 2020 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants