DHIS2 Event Capture App
dhis2 / event-capture-app Goto Github PK
View Code? Open in Web Editor NEWDHIS 2 event capture app
DHIS 2 event capture app
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.
In event capture, use the new top menu widget which allows for search of objects.
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.
Tested with the android user on the Information Campaign program in Ngelehun CHC.
Replicate by:
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.
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
The events that are marked as completed and the configured "Completed expiry days" for the program has passed after the completion day, should not be allowed to be edited.
All the event fields except the comment box should be disabled.
A dialogue box should appear mentioning the reason for locking.
Files are appearing on edit event screen even when there is no file.
When an event is registered/edited , the event date entered should follow this rule.
The end date of the period containing the event date + expiry days configured for the program should not go beyond the current date (today).
If the orgunit close date is before the current date, then all the input fields in registering/editing events should be disabled.
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
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
Number of events not respecting program attribute category combo
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.
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...)
File upload is not working in the edit event screen. Getting file not found.
Even capture "New event" and "Print list" buttons are mis properly placed, they end up over Programme selection drop-down.
Latest 2.24 (version 23516), reproduced on https://play.dhis2.org/demo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.