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 feature countdown #112

Merged

Conversation

cwenling
Copy link

Im very sorrry

im still not done.

sorry.

@codecov-io
Copy link

Codecov Report

Merging #112 into master will decrease coverage by 1.83%.
The diff coverage is 43.77%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #112      +/-   ##
============================================
- Coverage     63.57%   61.74%   -1.84%     
- Complexity      619      660      +41     
============================================
  Files           103      112       +9     
  Lines          2158     2363     +205     
  Branches        249      274      +25     
============================================
+ Hits           1372     1459      +87     
- Misses          706      802      +96     
- Partials         80      102      +22     
Impacted Files Coverage Δ Complexity Δ
...rc/main/java/seedu/tr4cker/logic/LogicManager.java 62.06% <0.00%> (-2.22%) 6.00 <0.00> (ø)
.../countdown/exceptions/DuplicateEventException.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...l/countdown/exceptions/EventNotFoundException.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
.../java/seedu/tr4cker/model/util/SampleDataUtil.java 66.66% <0.00%> (-9.53%) 4.00 <0.00> (ø)
src/main/java/seedu/tr4cker/ui/MainWindow.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...seedu/tr4cker/ui/countdown/CountdownEventCard.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
.../tr4cker/ui/countdown/CountdownEventListPanel.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...seedu/tr4cker/ui/countdown/CountdownTabWindow.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...rc/main/java/seedu/tr4cker/model/ModelManager.java 69.56% <7.14%> (-10.19%) 31.00 <0.00> (ø)
...main/java/seedu/tr4cker/model/countdown/Event.java 40.00% <40.00%> (ø) 6.00 <6.00> (?)
... and 16 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 242cc32...34e0f8d. Read the comment docs.

@cwenling cwenling requested review from ruilingk and hanweic53 and removed request for ruilingk October 25, 2020 09:14
@ruilingk ruilingk added this to the v1.3 milestone Oct 25, 2020
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.

@@ -46,6 +47,8 @@
/** Returns an unmodifiable view of the filtered list of tasks for PlannerDay. */
ObservableList<Task> getPlannerFilteredTaskList();

/** Returns an unmodifiable view of the filtered list of events. */
ObservableList<Event> getFilteredEventList();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe can add a new line here for readability.

@@ -88,6 +89,9 @@ public ReadOnlyTr4cker getTr4cker() {
}

@Override
public ObservableList<Event> getFilteredEventList() {
return model.getFilteredEventsList();
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Here too! :')
ModelManager.java too.

events.remove(key);
}

public Event firstEvent() {
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 methods.

public ObservableList<Event> getEventList() {
events.sortEventsByDate();
return events.asUnmodifiableObservableList();
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

bump

public class EventName {

public static final String MESSAGE_CONSTRAINTS =
"Names should only contain alphanumeric characters and spaces, and it should not be blank";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe can specify "Event names should only..."?

}
}

public void setEvents(seedu.tr4cker.model.countdown.UniqueEventList 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.
And also the parameter in method signature should just be UniqueEventList and then import seedu.tr4cker.model...!

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.

Looks good to merge!

@ruilingk ruilingk merged commit fd3bb31 into AY2021S1-CS2103T-T10-2:master Oct 25, 2020
@cwenling cwenling linked an issue Oct 25, 2020 that may be closed by this pull request
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.

COUNTDOWN tab - Coding - Adding new countdowns
3 participants