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

GUI/invalid messages #272

Merged
merged 10 commits into from
Nov 1, 2020
Merged

Conversation

wilinetan
Copy link
Collaborator

@wilinetan wilinetan commented Nov 1, 2020

Fixes #32
Fixes #241
Fixes #270

@wilinetan wilinetan added this to the v1.4 milestone Nov 1, 2020
@codecov-io
Copy link

codecov-io commented Nov 1, 2020

Codecov Report

Merging #272 into master will decrease coverage by 0.08%.
The diff coverage is 3.84%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #272      +/-   ##
============================================
- Coverage     44.16%   44.07%   -0.09%     
- Complexity      521      523       +2     
============================================
  Files           128      128              
  Lines          2690     2709      +19     
  Branches        279      282       +3     
============================================
+ Hits           1188     1194       +6     
- Misses         1439     1453      +14     
+ Partials         63       62       -1     
Impacted Files Coverage Δ Complexity Δ
src/main/java/seedu/jarvis/model/topic/Topic.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...n/java/seedu/jarvis/model/util/SampleDataUtil.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
src/main/java/seedu/jarvis/ui/HelpWindow.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
src/main/java/seedu/jarvis/ui/MainWindow.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
src/main/java/seedu/jarvis/model/UserPrefs.java 80.00% <100.00%> (ø) 10.00 <0.00> (ø)
src/main/java/seedu/jarvis/model/quest/Quest.java 92.59% <0.00%> (+22.22%) 11.00% <0.00%> (+2.00%)

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 d0a2b67...419af0d. Read the comment docs.

@wilinetan wilinetan added priority.Medium severity.Low A flaw that is unlikely to affect normal operations of the product. Appears only very rarely. type.Task Something that needs to be done, but not a story, bug, or an epic. e.g. Move test labels Nov 1, 2020
@@ -11,7 +13,7 @@
* Contains utility methods for populating {@code AddressBook} with sample data.
*/
public class SampleDataUtil {
public static Student[] getSamplePersons() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for refactoring names!

/**
* Sets the week and topic
*/
private void setWeekAndTopic() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Awesome way to calculate how many weeks it has been since the start of the semester 👍

@@ -284,7 +321,7 @@ private void handleSourceAcademy() {
private void handleUserGuide() {
try {
Desktop.getDesktop()
.browse(URI.create("https://ay2021s1-cs2103t-w11-2.github.io/tp/UserGuide.html#quick-start"));
.browse(URI.create(USER_GUIDE_URL));
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice abstraction

@@ -11,9 +16,37 @@
public static final Quest TEST_QUEST = new Quest(TEST_QUEST_TITLE, TEST_QUEST_DEADLINE);

public static final Quest TEST_QUEST_COPY = new Quest(TEST_QUEST_TITLE, TEST_QUEST_DEADLINE);
public static final Quest RUNIC_CARPETS = new QuestBuilder().withTitle("Runic Carpets")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thumbs up for creating tests!

@wilinetan wilinetan merged commit 65ec0c9 into AY2021S1-CS2103T-W11-2:master Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority.Medium severity.Low A flaw that is unlikely to affect normal operations of the product. Appears only very rarely. type.Task Something that needs to be done, but not a story, bug, or an epic. e.g. Move test
Projects
None yet
3 participants