Andrew Lo Zhi Sheng's Project Portfolio Page
Project: GithubContact
GithubContact is an address book integrated with Github’s Public API, targeted at software engineering project managers to help them communicate and collaborate with their teams smoothly.
Given below are my contributions to the project.
- New Feature: Added the
set
command that allows users to both edit an existing attribute(e.g. phone number, timezone, name, etc.) of a person or add a new attribute to that person.- What it does: Allows the user to
set
multiple different attributes in 1 command. If a particular attribute already exists, that attribute’s value will be updated to the user’s input. If it does not exist, the attribute will be added to the user with the user’s specified value. - Justification:
- Our users often need to add new attributes to existing persons within the address book. For example, when someone in the team creates a Slack account, or when someone’s telegram handle is not known until after they were added to GithubContact. In these cases, it is necessary for the project manager to be able to add in that information to their existing profiles.
- Our users may also need to change existing attributes. Some possible cases include someone in the team changing their email address, or the project manager adding a person with the wrong phone number. In these cases, the user needs to be able to edit the person’s attributes accordingly.
- The addition of the set command meets the above two use cases in one convenient command. It serves as an intuitive way to handle the attributes of a person.
- Highlights: This feature involves all the possible attributes of a person in the address book. As our project involved the addition of many additional attributes(e.g. role, github account, etc), it was essential for this feature to be as extensible as possible, allowing for team members to easily add in the attributes that they needed to add.
- Credits: The
SetPersonDescriptor
nested class was inspired by theEditPersonDescriptor
from AB3. This provided the necessary abstraction to facilitate the easy addition of new attributes.
- What it does: Allows the user to
- New Feature: Added the skeleton for the Person Detail Page.
- What it does: Allows the user to select a person inside the address book and view additional details such as the contact details and Github repos.
- Justification: As our product allows users to add in a large number of different attributes to each person, trying to display all that information in the main panel will quickly cause it to be cluttered and difficult to use. By moving most of the information to the Detail Page, we can leave only the most essential attributes on the main page. This means that our users can quickly and easily identify the person they are looking for, and then, if needed, expand their Detail Page to see all the information relevant to that person.
- Credits: Tex improved the UI and integrated it with the rest of the codebase.
-
Code contributed: RepoSense link
- Documentation:
- User Guide:
- Added example screenshots for every command.
- Added Table of Contents and set up hyperlinks to each section.
- Added table for attribute prefix aliases.
- Added table for parameter input formats.
- Translated content from the draft UG on Google Docs to markdown.
- Reorganised content (moved Command Summary to the start of the UG, sorted out order of features).
- Added line breaks to improve pdf formatting.
- Developer Guide:
- Added use cases for the Contact Detail Page.
- Added use cases for the
set
Command. - Wrote the implementation for the
set
command. - Added sequence diagram for
set
command. - Added activity diagram for
set
command. - Added activity diagram for
sort
command. - Wrote instructions and test cases for manual testing for every command.
- User Guide:
- Community: