Difference between revisions of "Tricolor"

From mn/ifi/inf5750
Jump to: navigation, search
(Link to scheduler)
(Technologies)
 
(7 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
==== About the project ====
 
==== About the project ====
 
Improve the Tracker Capture app in DHIS2 by adding a data view of previous records in the MNCH / PNC programme. Previous records should only be shown for ANC visit 2-4+, as no records are available at first visit. Other improvements that may be implemented include showing the difference in data (when applicable), and give visual feedback to the user if the entered data contains errors or suspicious values. I.e if the patient have lost weight since the last visit, the difference should be shown with a warning message.   
 
Improve the Tracker Capture app in DHIS2 by adding a data view of previous records in the MNCH / PNC programme. Previous records should only be shown for ANC visit 2-4+, as no records are available at first visit. Other improvements that may be implemented include showing the difference in data (when applicable), and give visual feedback to the user if the entered data contains errors or suspicious values. I.e if the patient have lost weight since the last visit, the difference should be shown with a warning message.   
 
<s>There are only values to be entered now, but we should see the old values as well on the same site. If the value is bigger different or that the weight of pregnant women is less than last time, then we must give a attention to the user. Each value has its own conditions. So we have to discuss about what are the conditions for every value. This is a little bit about how we think the project should be.</s>
 
  
 
==== Requirements ====
 
==== Requirements ====
 
* Ability to check old data on same site
 
* Ability to check old data on same site
 
** Add a new column with previous records
 
** Add a new column with previous records
** Use drop-down box to changed by the old data user want to see
+
** The records shown should be default show the previous visit
 +
** No column for previous visits should be shown on ANC 1st visit
 
* (Optional) View differences in data from last visit
 
* (Optional) View differences in data from last visit
 
** Show the difference where applicable
 
** Show the difference where applicable
 
** Validation in input compared to previous records
 
** Validation in input compared to previous records
 +
** Use a drop-down menu to change which visit to show previous records from
  
 
==== Link to issue tracker ====
 
==== Link to issue tracker ====
Line 21: Line 21:
 
==== Link to repository ====
 
==== Link to repository ====
 
The repository is set to private. To gain access, please send an email to mrbjoern92@gmail.com or halvb@ifi.uio.no
 
The repository is set to private. To gain access, please send an email to mrbjoern92@gmail.com or halvb@ifi.uio.no
  git: [https://github,com/mrbjoern/INF5750 https://github.com/mrbjoern/INF5750]
+
  git: https://github.com/mrbjoern/INF5750
  
 
== Group member ==
 
== Group member ==
Line 35: Line 35:
 
** JavaScript (jQuery/Angular)
 
** JavaScript (jQuery/Angular)
 
** Twitter Bootstrap
 
** Twitter Bootstrap
* Development
+
** Java 8
 +
* Development / Deployment
 
** Jetbrains YouTrack (bugracker)
 
** Jetbrains YouTrack (bugracker)
 
** Jetbrains WebStorm
 
** Jetbrains WebStorm
** GitHub
+
** Tomcat7
 +
** PostgreSQL 9.3
 +
** GitHub  
 +
** A guide to set up a testserver on Ubuntu 14.04 have been written and is available [https://mrbjoern.com/2015/11/15/setting-up-dhis2/ here].
 +
 
 +
== Prototypes ==
 +
http://dev.mrbjoern.com/img/dhis/new-design.jpg
 +
http://dev.mrbjoern.com/img/dhis/Ara-design-page-003.jpg
  
 
== Time schedule ==
 
== Time schedule ==
Line 50: Line 58:
 
'''Milestone 3: 6th December:'''
 
'''Milestone 3: 6th December:'''
 
* Learn basic Angular (early in sprint)
 
* Learn basic Angular (early in sprint)
 +
** A basic understanding of Angular is required by all team members before the group can start implementing new features.
 
* Implement new features in app
 
* Implement new features in app
* Test application
+
** Primary focus on implementing a new column showing data from previous visit
 +
** Implementing input validation can be done slightly in parallel with main task
 +
* Test application - The app should be tested to verify that:
 +
** The new features works as expected
 +
** The features are only implemented for the MNCH / PNC prgramme
 +
** The new features does not introduce new defects to the Tracker Capture app
 
* Write essay
 
* Write essay
 +
** Requirements for essay, TBA
 
'''Final delivery: 11th December:'''
 
'''Final delivery: 11th December:'''
 
* Working app to be delivered
 
* Working app to be delivered
 
* Deliver essay
 
* Deliver essay
 +
 +
== Known issues ==
 +
* There have been some issues with the new column in Firefox 41.0.2 on Ubuntu 14.04. Changes done to the source code were not refreshed in the browser. Possible fixes might be to refresh with CTRL + F5, or clearing the browser cache.
 +
* There was a big difference with how each browser handled the HTML code recieved from the local server. In the rows where the user is supposed to only be able to type in numbers as inputs, Chromium handles it by not allowing the user to type in numeral expressions. This includes number but also signs such as +,- and e. Firefox doesn't handle it in any way like Chromium does so DHIS2 ends up outputting an error should the user type in anything but a number.

Latest revision as of 17:26, 5 December 2015

Project

Improving usability in the Tracker Capture app

About the project

Improve the Tracker Capture app in DHIS2 by adding a data view of previous records in the MNCH / PNC programme. Previous records should only be shown for ANC visit 2-4+, as no records are available at first visit. Other improvements that may be implemented include showing the difference in data (when applicable), and give visual feedback to the user if the entered data contains errors or suspicious values. I.e if the patient have lost weight since the last visit, the difference should be shown with a warning message.

Requirements

  • Ability to check old data on same site
    • Add a new column with previous records
    • The records shown should be default show the previous visit
    • No column for previous visits should be shown on ANC 1st visit
  • (Optional) View differences in data from last visit
    • Show the difference where applicable
    • Validation in input compared to previous records
    • Use a drop-down menu to change which visit to show previous records from

Link to issue tracker

This project uses Jetbrains YouTrack as issue- and project tracker. All tasks to be done should be reported in YouTrack and assigned a group member.

bugtracker: https://bugs.mrbjoern.com/issues/INF5750

Link to repository

The repository is set to private. To gain access, please send an email to mrbjoern92@gmail.com or halvb@ifi.uio.no

git: https://github.com/mrbjoern/INF5750

Group member

  • Halvor Bjørn (halvb)
  • Uy Tran (uqtran)
  • Aravinth A. Sivalingam (aravinta)

Technologies

  • Software
    • DHIS2 v2.21
    • DHIS2 Tracker Capture App
  • Programming
    • JavaScript (jQuery/Angular)
    • Twitter Bootstrap
    • Java 8
  • Development / Deployment
    • Jetbrains YouTrack (bugracker)
    • Jetbrains WebStorm
    • Tomcat7
    • PostgreSQL 9.3
    • GitHub
    • A guide to set up a testserver on Ubuntu 14.04 have been written and is available here.

Prototypes

new-design.jpg Ara-design-page-003.jpg

Time schedule

Milestone 1: 8th November:

  • Create wiki page

Milestone 2: 22th November:

  • Development environment ready
  • Prototype sketches of app improvements ready

Milestone 3: 6th December:

  • Learn basic Angular (early in sprint)
    • A basic understanding of Angular is required by all team members before the group can start implementing new features.
  • Implement new features in app
    • Primary focus on implementing a new column showing data from previous visit
    • Implementing input validation can be done slightly in parallel with main task
  • Test application - The app should be tested to verify that:
    • The new features works as expected
    • The features are only implemented for the MNCH / PNC prgramme
    • The new features does not introduce new defects to the Tracker Capture app
  • Write essay
    • Requirements for essay, TBA

Final delivery: 11th December:

  • Working app to be delivered
  • Deliver essay

Known issues

  • There have been some issues with the new column in Firefox 41.0.2 on Ubuntu 14.04. Changes done to the source code were not refreshed in the browser. Possible fixes might be to refresh with CTRL + F5, or clearing the browser cache.
  • There was a big difference with how each browser handled the HTML code recieved from the local server. In the rows where the user is supposed to only be able to type in numbers as inputs, Chromium handles it by not allowing the user to type in numeral expressions. This includes number but also signs such as +,- and e. Firefox doesn't handle it in any way like Chromium does so DHIS2 ends up outputting an error should the user type in anything but a number.