AY1920S2-CS2103-W15-1 / main

MIT License
0 stars 0 forks source link

Feature request: Report generation #15

Open JKOK005 opened 4 years ago

JKOK005 commented 4 years ago

As a busy senior decision maker, I can generate a detailed report from the app with as few clicks as possible

JKOK005 commented 4 years ago

Do a profiling report for all users. Assume that we have 10 users.

Yujian-Fu commented 4 years ago

The report can be generated with a few simple clicks.

Default mode: By clicking "Get Report" without any filter, a report in PDF format will be generated containing a table of the IDs of all people in the past week and the number of contacts they have made with each other each day, and the total number of contacts recorded during the day.

Filter provided: Date filter: User can choose the date range that is included in the report. "The past day", "The past two weeks" and "the past month" choices will be provided. Then only the contacts recorded in the selected time range will be included in the report.

JKOK005 commented 4 years ago

Lets do this. We have a typing bar that will allow us to input commands. For example, when the user types: "report", we will dl the pdf for them.

Also, will the report be for each person or will the user by allowed to generate report for a specific person

Yujian-Fu commented 4 years ago

If no specific ID is given, the report will contain all records in the past week/ past 2 weeks/ past month. Given the person ID, the report will only provide the records which include the given ID(s).

JKOK005 commented 4 years ago

Just to confirm. Would you rather use the text field for allowing the user to type commands to generate different reports or would you rather use buttons?

Yujian-Fu commented 4 years ago

Let's use text field for typing commands.

JKOK005 commented 4 years ago

Can you specify the commands that you want to trigger the various report generation here

Yujian-Fu commented 4 years ago

Commands: report report: last week report: last two weeks report: last month report: ID (ID is a person ID number here)