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 use cases to match implementation #370

Merged

Conversation

DesSnowy
Copy link

Closes #369

@DesSnowy DesSnowy added this to the v1.6 milestone Nov 11, 2024
@DesSnowy DesSnowy self-assigned this Nov 11, 2024
Copy link

codecov bot commented Nov 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Copy link

@SwaminathanViswa SwaminathanViswa left a comment

Choose a reason for hiding this comment

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

LGTM! Just a bit of typos to fix!

- Steps 3a1 - 3a2 are repeated until input format is correct.
- 1a1.KonTActs rejects the addition request and shows an error message.
- 1b2. User enters a new input.
- Steps 1a1 - 3a1 are repeated until input entered is correct.

Choose a reason for hiding this comment

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

This should be '1a2' and not '3a1'

- 3b2. User enters a new input.
- Steps 3a1 - 3a2 are repeated until input format is correct.
- 1a1.KonTActs rejects the addition request and shows an error message.
- 1b2. User enters a new input.

Choose a reason for hiding this comment

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

This should be '1a2' and not '1b2'


Use case resumes from step 4.
Use case resumes from step 1.

Choose a reason for hiding this comment

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

I feel this should be step 2 instead similar to line 308


Use case ends.

**Extensions**

- 2a. KonTActs detects an unsupported, corrupted file or a file without the valid headers.
- 1a. KonTActs detects the file provided is invalid.

- 2a1. KonTActs indicates it is unable to import from that file and gives a more specific error message.

Choose a reason for hiding this comment

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

This needs to be changed to '1a1' and '1a2'


- 2a1. KonTActs indicates it is unable to import from that file and gives a more specific error message.
- 2a2. User provides a new file path
- Steps 2a1 - 2a2 are repeated until KonTActs is able to import contacts from the file.

Use case resumes from step 3.

- 2b. KonTActs detects invalid content in CSV file (e.g. Name/Email that does not comply with requirement,
Duplicate names)
- 1b. KonTActs detects invalid content in CSV file.

- 2b1. KonTActs indicates it is unable to import from that file and gives a more specific error message.

Choose a reason for hiding this comment

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

This needs to be changed to '2b1' to '2b2'

Copy link

@Incogdino Incogdino left a comment

Choose a reason for hiding this comment

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

LGTM I guess according to prof, specifying a specific file format is acceptable.

@Incogdino Incogdino merged commit 6ab040f into AY2425S1-CS2103T-T11-2:master Nov 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update use cases on DG
3 participants