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

Update import and remind use cases for DG #61

Merged

Conversation

hyngkng
Copy link
Collaborator

@hyngkng hyngkng commented Sep 30, 2020

No description provided.

@hyngkng hyngkng added this to the v1.1 milestone Sep 30, 2020
@hyngkng hyngkng self-assigned this Sep 30, 2020
@hyngkng hyngkng linked an issue Sep 30, 2020 that may be closed by this pull request
Copy link
Collaborator

@ChooJiaXin ChooJiaXin left a comment

Choose a reason for hiding this comment

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

Minor nitpicks but otherwise, looks good :)
Remember to ensure that the other use cases (not just the ones I have highlighted) describe the externally visible behaviour and not the internal details of the system. 👍

Comment on lines 316 to 320
1. User retrieves NUSMods timetable URL from the NUSMods website.
2. User requests to import NUSMods timetable using their NUSMods timetable URL.
3. Academic Schedule Manager retrieves lesson data from NUSMods API.
4. Academic Schedule Manager adds all the lessons according to the data retrieved.
5. Academic Schedule Manager shows a success message with details of the lessons added.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks good :) A minor nitpick is that you may want to consider removing point number 3 ("ASM retrieves lesson data from NUSMods API") as according to the textbook, use cases only describe the externally visible behavior, not internal details, of a system.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Have edited accordingly. Thanks.

Comment on lines 332 to 336
* 2b. User already has a timetable imported before.

* 2b1. Academic Schedule Manager deletes all lessons from previously imported timetable.

Use case resumes at step 3.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Similar to the above comment, maybe it would be better to change the phrasing to describe how the ASM displays the lessons from the newly imported timetable

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Edited accordingly. Thank you.

@nevirmc
Copy link
Collaborator

nevirmc commented Sep 30, 2020

I think it is good to merge

Copy link
Collaborator

@nevirmc nevirmc left a comment

Choose a reason for hiding this comment

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

LGTM :)

@hyngkng hyngkng merged commit 4be6274 into AY2021S1-CS2103T-F11-3:master Sep 30, 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 use cases to Developer Guide
3 participants