Code Monkey home page Code Monkey logo

event-capture-app's Introduction

event-capture-app

DHIS2 Event Capture App

event-capture-app's People

Contributors

abdak3 avatar abyot avatar adeelshahid avatar bekkalizer avatar chathurawidanage avatar dhis2-bot avatar jason-p-pickering avatar jijukjose avatar jimgrace avatar lukaswvd avatar markionium avatar philip-larsen-donnelly avatar varl avatar zepto5 avatar

Stargazers

 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  avatar  avatar  avatar

event-capture-app's Issues

event filtering

Number of events not respecting program attribute category combo

Add indicator while saving registration.

When registering a and event and clicking on the save buttons there is no indication to show that the saving is in progress So it might be tempting to try clicking the save button a second time.

Changes made with "Edit in grid" are not saved

Tested with the android user on the Information Campaign program in Ngelehun CHC.

Replicate by:

  1. Edit in grid
  2. Change values
  3. Click on an org-unit, refresh the page or switch to another program and back
  4. Changed values are not saved

Files are appearing on edit event even when there is no file

Files are appearing on edit event screen even when there is no file.

Steps

  • Create an event A where you upload a file for a data element.
  • Create another event B where you leave the the file data element field empty.
  • Open the edit screen for event B.
  • The file from event A is now visible in the input field, even if there should be no file there. When clicking on it, file is not found.

Buttons vertical padding, on resize

Related to the fix to issue Buttons misplaced (2.24)#3.

When rearranging the buttons upon window resize, the vertical padding between the buttons is 0.
Maybe it should be set to the same value as the horizontal padding.

buttons_placement_screenshot_2016-10-05_12-19-41

update event is returning error

In dev server, editing an event and clicking the update button gives the below error and not loading the home page.

angular.js:102 Error: [$compile:ctreq] http://errors.angularjs.org/1.3.15/$compile/ctreq?p0=ngMessages&p1=ngMessage
at Error (native)
at http://localhost:8082/dhis-web-commons/javascripts/angular/angular.js:6:417
at L (http://localhost:8082/dhis-web-commons/javascripts/angular/angular.js:56:127)
at B (http://localhost:8082/dhis-web-commons/javascripts/angular/angular.js:59:293)
at g (http://localhost:8082/dhis-web-commons/javascripts/angular/angular.js:51:335)
at http://localhost:8082/dhis-web-commons/javascripts/angular/angular.js:50:444
at http://localhost:8082/dhis-web-commons/javascripts/angular/angular-messages.js:8:62
at Object.r as forEach
at http://localhost:8082/dhis-web-commons/javascripts/angular/angular-messages.js:7:483
at http://localhost:8082/dhis-web-commons/javascripts/angular/angular.js:112:113(anonymous function) @ angular.js:102(anonymous function) @ angular.js:76(anonymous function) @ angular.js:112$eval @ angular.js:126$digest @ angular.js:123$apply @ angular.js:126l @ angular.js:81M @ angular.js:85F.onload @ angular.js:86
angular.js:102 TypeError: Cannot set property 'submitted' of undefined
at controllers.js:988
at angular.js:112
at n.$eval (angular.js:126)
at n.$digest (angular.js:123)
at n.$apply (angular.js:126)
at l (angular.js:81)
at M (angular.js:85)
at XMLHttpRequest.F.onload (angular.js:86)(anonymous function) @ angular.js:102(anonymous function) @ angular.js:76(anonymous function) @ angular.js:112$eval @ angular.js:126$digest @ angular.js:123$apply @ angular.js:126l @ angular.js:81M @ angular.js:85F.onload @ angular.js:86

File upload not working in edit event screen

File upload is not working in the edit event screen. Getting file not found.

Steps

  • Create an event where you leave a data element of type file empty (do not upload a file) and save it.
  • From the list of events, click edit event for the newly created event.
  • Upload a file.
  • Save the event.
  • From the list of events, click edit event.
  • Click on the file link in the form.
  • Leads to Not found.

i18n Issues

Username: cjl
Current URL: https://translate.dhis2.org/en/event-capture-app/translate/
IP address: 163.252.254.203
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

Unit: https://translate.dhis2.org/en/event-capture-app/translate/i18n/en.po#unit=756265

Source: You are currently offline. But program is configured to be skipped during offline.

Current translation: You are currently offline. But program is configured to be skipped during offline.

Your question or comment:

What does this even mean????

Username: cjl
Current URL: https://translate.dhis2.org/en/event-capture-app/translate/
IP address: 163.252.254.203
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

Unit: https://translate.dhis2.org/en/event-capture-app/translate/i18n/en.po#unit=756243

Source: Value must be integer

Current translation: Value must be integer

Your question or comment:

extra ending whitespace

Username: cjl
Current URL: https://translate.dhis2.org/en/event-capture-app/translate/
IP address: 163.252.254.203
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

Unit: https://translate.dhis2.org/en/event-capture-app/translate/i18n/en.po#unit=756233

Source: About DHIS 2

Current translation: About DHIS 2

Your question or comment:

extra ending whitespace

Username: cjl
Current URL: https://translate.dhis2.org/en/event-capture-app/translate/
IP address: 163.252.254.203
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

Unit: https://translate.dhis2.org/en/event-capture-app/translate/i18n/en.po#unit=756218

Source: Get from map

Current translation: Get from map

Your question or comment:

extra ending whitespace

Username: cjl
Current URL: https://translate.dhis2.org/en/event-capture-app/translate/
IP address: 163.252.254.203
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

Unit: https://translate.dhis2.org/en/event-capture-app/translate/i18n/en.po#unit=756176

Source: No of rows per page

Current translation: Number of rows per page

Your question or comment:

No > Number

Username: cjl
Current URL: https://translate.dhis2.org/en/event-capture-app/translate/
IP address: 163.252.254.203
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

Unit: https://translate.dhis2.org/en/event-capture-app/translate/i18n/en.po#unit=756172

Source: Event uid

Current translation: Event UID

Your question or comment:

Capitalize UID

Adopt new top menu

In event capture, use the new top menu widget which allows for search of objects.

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

Tab and up/down arrows to navigate input fields

Support the use of the tab key and up/down arrow keys to navigate directly between input fields in the add new event form.

Currently, using tab will take you also to the data element labels.

Open edit event screen from URL

Add support for opening the edit event screen for a specific event from URL. The URL should include the event identifier.

This will enable integration from third-party apps, where the app can point directly to an existing event.

Printing of Yes/No choices

Printing a form with Yes/No choices results in them being filled black circles.
It should print them as empty circles so the user can check them.

Also if an option is selected and the user prints the form, the selection Yes or No is not registered.

Steps to reproduce:
1.Open Event capture app.
2. Reg unit: Ngelehun CHC, Program: Antenatal care visit - Program rules demo
3. click "Register event"
4. Fill in "Visit date"
(Optional) 5. Select "WHOMCH Smoking" Yes
6. click "Print form"
7. Result: Event Capture.pdf
(Is "WHOMCH Smoking" Yes or No ? Can't tell...)

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.