Giter Club home page Giter Club logo

tp's People

Contributors

alexlmeow avatar chao1995 avatar chongjunwei avatar damithc avatar edmundmok avatar ernestlim8 avatar eugenepeh avatar fzdy1914 avatar gordonlzy avatar j-lum avatar jaredlhf avatar kychua avatar lejolly avatar limmlingg avatar m133225 avatar mightycupcakes avatar ndt93 avatar okkhoy avatar pierceandy avatar pyokagan avatar rebeccalaujx avatar rinder5 avatar sijie123 avatar vimuthm avatar vivekscl avatar wltan avatar yamgent avatar yamidark avatar yl-coder avatar zhiyuan-amos avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tp's Issues

Fix Event add Resident can add random Resident

The current add event command allows users to add new resident using the prefix 'r', however there is currently no check for the existence of the residents inputted.

The fix should enable checking and output a message to alert the user that the user inputted does not exist and hence is invalid.

Update README

  • Add UI mockup
  • Update contents
  • Update build status badge
  • Acknowledge
  • Update site_wide settings

Fix duplicate Events

Prevent user from being able to add an existing event or edit an event to becoming an existing event

Add residents to an Event

As an admin in a hall/residence, I can add residents to an event so that I can keep track of the residents attending an event.

Add residents to an event : include

Add multiple residents to an event based on the information given(name or room number), a resident is only expected to be given one piece of information.

Format: include index r/INFORMATION INFORMATION, ...

  • The information given has to be all rooms or all names of residents
  • The information inputted is case-insensitive
  • Each piece of information is separated by a comma
  • If one or more of the given information is invalid, an error message is outputted and none of the residents are added to the event

Examples:

  • include e/football training i/A101 adds the residents who stay in rooms A101 to the football training event
  • include e/football training i/A101, A102, A103 adds the residents who stay in rooms A101, A102 and A103 to the football training event
  • include e/basketball training i/Alex Yeoh, David Li adds the Alex Yeoh and David Li to the basketball training event
  • include e/basketball training i/Alex Yeoh, David Li adds the Alex Yeoh and David Li to the basketball training event

Modify Add and ResidentList Message

  • The Add command for Event message should be modified to allow optional Residents parameter
  • The default shown value for no residents should be None and not ""

Allow traversal of command history

Add functionality to allow the user to use the up and down arrow keys to move through past input commands for faster and easy use of the application

Prevent edit with name prefix

Current version allows editing of multiple residents' name, changing the first resident's name and failing for the rest.

From the user's perspective, it is better to prevent this behaviour in the first place.

[Event] Improve EventCard UI to display number of unvaccinated residents

As an admin in a hall/residence, I can view the vaccination statuses of the residents attending an event so that I can ensure covid restrictions for the event are adhered to and everyone is vaccinated.

  • The event card will be red if there are unvaccinated person in the event
  • The number of unvaccinated residents attending the event will be displayed on the right side of the event card

Complete AboutUs

Create PR to update your information on the AboutUs page

  • Vimuth
  • Rebecca
  • Jun Wei
  • Jared
  • Gordon

Week 6 tP Tasks

Let's complete the individual setup required (watch this repo, fork this repo to personal account, clone the fork to local, setup environment):

  • Vimuth
  • Gordon
  • Rebecca
  • Junwei
  • Jared

We can create the PR for tutorial 2 as well.

Implement View functionality

As a residence admin, I can

  • view a list of all the hall residents in the address book

so that I can

  • easily obtain a list of all the residents that have been added to the address book

Format: view

Implement tab-specific command parsing

With the introduction of the Event class, there's a need to separate out the CRUD operations for these 2 models.

From discussion, it's agreed that the same commands will function differently based on the active tab.

This separation needs to implemented.

Implement Data Import via CSV

Add in a feature to allow a user to import all resident data from a csv file, to allow faster setting up of the application. The add command will be complemented with this functionality

[UI] Implement Resident and Event Tab

Separates Resident and Event information into different tabs in the UI. Allows user to navigate between dedicated Resident or Event tabs to do tab specific functions.

Implement Help Guide

Make the help guide more user friendly.

As a hall/ residence admin, I can

  • view the help guide whenever I need to

so that I can

  • refresh my memory on how to use the app

Implement List Command

As an admin in a hall/residence, I can retrieve FET and test kit collection deadlines of residents, so that I can easily filter for residents whose current FET tests are expiring soon (eg in a week’s time) and send out reminders to them to do and upload a new test.

Retrieve a list of residents with their fet due : list

Retrieve a list of residents whose ART collection or FET are due within the range of the current date and the optional given date.

Format: list k/KEYWORD [d/DATE]

  • The flag can be either -f for fet or -c for collection
  • The date inputted has to be in dd-mm-yyyy format
  • The given Date must be a date later than the current date

Examples:

  • list -f retrieves a list of residents whose FET is due today
  • list -f 30-9-2021 retrieves a list of residents whose FET is due some day between today and Sep 21 2021
  • list -c retrieves a list of residents whose FET is due today
  • list -c 30-9-2021 retrieves a list of residents whose ART Collection is due some day between today and Sep 21 2021

Implement Check Missed Deadline functionality for List

List:
List the residents according to the given keyword and date or dates

As a hall/residence admin, I can

  • retrieve the residents’ FET that are due within a given date
  • retrieve the residents’ test kit collection deadlines

so that I can

  • I can ensure residents do not miss their FET deadlines by reminding them to do their FETs
  • I can ensure residents do not miss their test kit collections by reminding them to collect their kits on time.

Format: list k/KEYWORD d1/DATE

  • List residents whose fet or art are due before the given date
  • The date given must follow dd-MM-yyyy format
  • Keyword can either be lf for late fet or lc for late art collection

Examples:

  • list k/lf d1/10-10-2021 lists the residents whose fet was due before 10th October 2021
  • list k/lc d1/12-10-2021 lists the residents whose art collection was due before 12th October 2021

Update User Guide

Move draft UG content to the User Guide in the website

Add detailed description on the features you are going to work on

  • Vimuth
  • Rebecca
  • Jun Wei
  • Jared
  • Gordon

Implement Search functionality

As a residence admin, I can

  • filter by vaccination status
  • filter by block and level
  • filter by other relevant parameters

so that I can

  • use the information to disseminate information or guidelines that may be different for vaccinated and unvaccinated individuals
  • easily contact a group of students in order to disseminate specific info

Format: search n/KEYWORD [MORE_KEYWORDS] [FLAG/KEYWORD]

[Event] Implement View (event) command

As a residence admin, I can view event details such as venue, capacity and the number of residents attending so that I can be aware of the occurring events and their details.

Format: view in Events tab

Implement Delete and Edit functionality

Delete:
Deletes the specified resident from the address book.

As a hall/ residence admin, I can

  • delete a resident’s information from the database
  • delete multiple residents in a single command

so that I can

  • remove the data of a resident who has moved out
  • save a lot of time when deleting multiple residents

Format: delete INDEX...

  • Deletes the resident at the specified INDEX.
  • The index refers to the index number shown in the displayed resident list.
  • The index must be a positive integer 1, 2, 3, …​
  • Able to delete multiple residents at once by inputting multiple indexes, each separated by a space.

Examples:

  • view followed by delete 2 deletes the 2nd person in the address book.
  • view followed by delete 1 2 3 deletes the first 3 people in the address book.
  • search n/Anne followed by delete 1 deletes the 1st person named Anne in the results of the find command.

Edit:
Edits an existing resident in the address book.

As a hall/ residence admin, I can

  • edit each resident’s details
  • edit the particulars of many residents in a single command
  • edit a resident's last FET date

so that I can

  • update the changes in the residents’ details if necessary
  • save a lot of time when editing the details of multiple residents
  • update the current residents’ last FET dates if they have taken a new FET

Format: edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [r/ROOM] [v/VACCINATION_STATUS] [f/FACULTY] [c/CCA]…​

  • Edits the resident at the specified INDEX. The index refers to the index number shown in the displayed resident list. The index must be a positive integer 1, 2, 3, …​
  • At least one of the optional fields must be provided.
  • Existing values will be updated to the input values.
  • Able to edit multiple residents at once by inputting multiple indexes, each separated by a space.

Examples:

  • edit 1 e/[email protected] r/A101 Edits the email address and room number of the 1st person to be [email protected] and A101 respectively.
  • edit 2 n/Betsy Crower c/ Edits the name of the 2nd person to be Betsy Crower and clears all existing CCAs.
  • edit 1 2 3 v/true Sets the vaccination status of the 1st, 2nd, and 3rd resident as vaccinated.

Implement Event model

As a residence admin, I can

  • create a new event
  • add residents to the event
  • view residents who were present during an event

so that I can

  • keep track of the events happening in the hall
  • keep track of the residents attending an event
  • easily do contact tracing in the event of a COVID case amongst the participants

[Event] Implement edit command

Edits an existing event in the address book.

As a hall/ residence admin, I can

  • edit each event’s details

so that I can

  • update the changes in the events’ details if necessary

Format: edit t/event INDEX [n/NAME] [d/DATE] [l/VENUE] [c/CAPACITY]…​

  • Edits the event at the specified INDEX. The index refers to the index number shown in the displayed event list. The index must be a positive integer 1, 2, 3, …​
  • At least one of the optional fields must be provided.
  • Existing values will be updated to the input values.

Examples:

  • edit t/event 1 d/10-10-2020 l/MPC Edits the date and venue of the first event to be 10-10-2020 and MPC respectively.

[Feat] Remove residents from events

Remove residents from an event : exclude

Remove multiple residents from an event based on the information given(name or room number), a resident is only expected to be given one piece of information.

Format: exclude index r/INFORMATION INFORMATION, ...

  • The information given has to be all rooms or all names of residents
  • The given resident has to in the event to be removed
  • The information inputted is case-insensitive
  • Each piece of information is separated by a comma
  • If one or more of the given information is invalid, an error message is outputted and none of the residents are added to the event

Examples:

  • exclude 1 i/A101 removes the resident who stays in room A101 to the first event in the address book
  • exclude 2 i/A101, A102, A103 removes the residents who stay in rooms A101, A102 and A103 to the second event in the address book
  • exclude 3 r/John Doe removes John Doe to the third event in the address book
  • exclude 4 r/John Doe, Jane Doe removes John Doe and Jane Doe to the fourth event in the address book

Implement Add functionality

As an admin in a hall/residence, I can add a resident’s information into the database so that I can keep track of resident’s data.

Format: add n/NAME p/PHONE_NUMBER e/EMAIL r/ROOM v/VACCINATION_STATUS f/FACULTY​ [fd/LAST_FET_DATE] [cd/LAST_COLLECTION_DATE]

Examples:
add n/John Doe p/98765432 e/[email protected] r/A100 v/T f/SoC
add n/Betsy Crowe e/[email protected] v/f r/B400 p/1234567 f/FASS fd/21-9-2021 cd/22-9-2021

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.