Coder Social home page Coder Social logo

tracker-capture-app's Introduction

tracker-capture-app

DHIS2 Tracker Capture App

Contribute

Set up the development environment

Note: The setup has been tested with yarn. You can install yarn through npm by running npm install -g yarn. For more info > on yarn check out https://yarnpkg.com/.

Running the devevelopment server

To run the development server you can run the following command.

yarn start

This starts the development server on port 8081.

tracker-capture-app's People

Contributors

abyot avatar adeelshahid avatar bekkalizer avatar dhis2-bot avatar grelland avatar jason-p-pickering avatar jijukjose avatar jimgrace avatar joakimsm avatar lukaswvd avatar markionium avatar philip-larsen-donnelly avatar plinnegan avatar redet-g avatar sferadev avatar superskip avatar sveinungfjaer avatar varl avatar vietnguyen avatar zepto5 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tracker-capture-app's Issues

Form printing issues with drop down elements.

When printing a form, during registration with drop down elements (Example: Gender), with hint/description ("Select or search from the list").

Problems:

  • The hint appears above the field.
  • Also if there is a value it is printed in the place of the hint (?).
  • There is an extra input field.
  • There is a weird dot after "Gender".
  • The label "Gender" is not aligned with the input field (Maybe it is aligned with both fields ??).

Seems to happen for TrackedEnitityAttributes for TrackedEntitiyInstance.

Steps to reproduce:
1.Open Tracker capture app
2.Go to Sierra Leonne>Bo>Badjia>Ngelehun CHC, Program: Child programme
3. Click "Register"
4. Click "Print Form"
5. Result: Tracker Capture.pdf

The drop down hint is misplaced. Also the choice for the drop down (if selected) replaces the hint.

Notes in tabular data entry cut too early

In the Tabular data entry widget, Notes section, the note text is cut off at 100px not matter how much screen space is available.

Instead use all of the available screen space. This will give the end user a better overview of the notes at a glance.

Edit profile fails with unknown fields

Tracker dashboard, profile widget. With certain people, when clicking save to edit the profile information, the PUT request fails with "Unrecognized fields". The client tries to send fields which looks like UIDs, e.g. "iggSfNDnsCw".

Response:

{"httpStatus":"Internal Server Error","httpStatusCode":500,"status":"ERROR","message":"Unrecognized field "iggSfNDnsCw" (class org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance), not marked as ignorable (9 known properties: "trackedEntityInstance", "lastUpdated", "attributes", "orgUnit", "relationships", "trackedEntity", "enrollments", "created", "inactive"])\n at [Source: org.apache.catalina.connector.CoyoteInputStream@340dab3; line: 1, column: 207](through reference chain: org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance["iggSfNDnsCw"])"}

Can be reproduced here:

https://play.dhis2.org/demo/dhis-web-tracker-capture/index.html#/dashboard?tei=foc5zag6gbE&program=ur1Edk5Oe2n&ou=DiszpKrYNg8

Support location value type for attributes and data elements

Add support for a new LOCATION value type for attributes and data elements.

The location type attributes and elements should render as a text field where you can search on-the-fly for geographical places/names/locations. This field should be backed by the Mapzen location API.

More info needs to be added.

Improve Advanced search options UI

The advanced search option window has unnecessary white space between the org unit tree and the input fields. This causes an extra scroll bar in the window.

image

Yes only fields not rendered pretty

  • In the Tabular data entry widget on dashboard, for data elements of value type Yes only. In the tabular view, yes values are rendered as "true". Should be rendered as "Yes".

true

  • This also applies to the audit log dialog for the Tabular data entry widget.

audit

Duplicated properties in translations

@abyot @jijukjose the following properties are duplicated in the i18n_app.properties file

schedule_new_event
executed
ontime
overdue
skipped
validation_warnings

This causes issues with the translation process. Could you please remove the duplicated keys?

Messaging dashboard widget

Introduce a messaging widget for the tracker dashboard. The messaging widget should utilize the new program message Web API. The widget should fetch contact information such as phone number and email address from the attributes of the current tracked entity instance.

The widget should offer to send messages over SMS or email. It should allow for optionally specifying a phone number or email manually.

API docs found here.

Save grid column state

The grid capture columns should be saved and restored.
Once the grid columns are successfully saved to the server, it must be also stored to the session storage.
Next time when the grid column access from the server fails, it should be taken from the session strorage

Redploy with translation updates

@abyot @jijukjose I have made some updates to the translation files. Could you please redeploy the app? I can do this if you like, but was not sure of what your procedure for when and how to deploy things actually is.

Link to file is not removed when deleted

In the tabular data entry widget, the link to file is not removed when deleted.

Steps

  • Open tabular data entry for a stage which has a data element of type file.
  • Upload a file (works well).
  • Delete the file again.
  • The link to the file is still there. Should now have been removed. When clicked it gives an error.

file

Save dashboard layout as default not working

The function for "save dashboard layout as default" is not working.

Steps

  • Open tracker dashboard for a person.
  • Drag a widget to another position.
  • Click "save dashboard layout as default".
  • Reload the page.
  • The widget is back to the original position.

Save and continue loading indicator

When registering a tracked entity instance and clicking "Save and continue", the registration sometimes takes a few seconds. During this time no indication is given that the save is actually commencing - and it might be tempting to try clicking the"Save and continue" button a second time, a bit harder.

Capture coordinate for enrollment

Add support for capturing coordinate (location) for an enrollment.

Introduce a new property "captureCoordinates" (Boolean) for class Program.

When enabled, the enrollment screen should offer to capture the location. This is similar to the feature for capturing coordinate for program stage.

Tracked entity instance search tree fixed height

In search for TEI screen, detailed search, the org unit tree must have a fixed height. Currently it expands forever as you expand org units in the hierarchy, making it hard to get to the detailed search input fields.

out

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.