[Dhis2-devs] CONTROLLING THE DIRECTION THE CURSOR-CUSTOM FORMS

2017-12-11 Thread Stanley Kalyati
Hi All, How can someone customize the cursor to move either vertical or horizontal in a custom form? Thanks Stanley ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dh

Re: [Dhis2-devs] CONTROLLING THE DIRECTION THE CURSOR-CUSTOM FORMS

2017-12-11 Thread Calle Hedberg
Stanley, You need a few extra snippets of code in the custom form. DHIS users in South Africa use this a lot for capturing monthly data on a daily basis, i.e. we use a custom form where Day01 to Day31 are columns with data set elements as rows - so you obviously need the tab cursor to move down wh

Re: [Dhis2-devs] CONTROLLING THE DIRECTION THE CURSOR-CUSTOM FORMS

2017-12-11 Thread John Mukulu
If your form is simple enough just add attribute tabindex to each input field and increment the number in the direction of input fields you want. Input boxes may look like this Though the catch is If you're inserting those input boxes with html editor, you'll need to edit those input boxes for

Re: [Dhis2-devs] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread Calle Hedberg
Hi Thanks for this! I've just installed IDv2 on an existing national staging system (i.e. large db, with around 20 standard dashboard, each with 1-20 dashboard items. Some questions: 1. The interactive dashboard loads slowly - looks like it is several order of magnitude slower than the standard

Re: [Dhis2-devs] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread Calle Hedberg
Hi I had some other strange behaviour too, so to confirm I opened the hisptz demo at https://play.hisptz.org/28: Take dashboard item 1 (a multi-line chart): - you can change to pivot OK - if you change to map, it's different than item 2 (to be expected). But if you then select the i view, and the

Re: [Dhis2-devs] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread John Mukulu
Hi Calle, Great to see you're taking it for a spin. And thanks for stress testing the dashboard. Certainly, we need to do further stress testing on such a scenario, and there's plenty of room for that. Would you mind letting us know version of dhis2 you're using. We'll setup an environment to emu

Re: [Dhis2-devs] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread Calle Hedberg
John, Will do By the way, the demo site dashboards load a lot faster, presumably because the amount of data is much smaller. I was testing this on the current 2.27 Regards Calle On 11 December 2017 at 14:07, Calle Hedberg wrote: > Hi > > I had some other strange behaviour too, so to confirm

Re: [Dhis2-devs] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread John Mukulu
Great! Yes, we'll expand the amount of favorites Will get back to you later to also know the combination of favorites you have, I.e. - More of pivot tables and charts than maps - More of aggregate data than events That'll really help to strain it further and identify where performance tuning is

[Dhis2-devs] getting list of datasets

2017-12-11 Thread Ramón José Jiménez Pomareta
Hello ! I've seen that DHIS2 call this two url in order to retrieve and match the list of datasets with the countries. https://DHIS2URL/dhis-web-dataentry/getMetaData.action?_=A13SIZEDNUMBER https://DHIS2URL/dhis-web-dataentry/getDataSetAssociations.action?_=THESAME13SIZEDNUMBER+1 My problem is

Re: [Dhis2-devs] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread Calle Hedberg
John, OK, but don't overlook that strange behaviour seen when switching the first item on the demo dashboard between various modes. Complicated / large pivots will never be suitable for charts or maps, so the best option here is to specify some parameters that will warn users if they try to switc

Re: [Dhis2-devs] Option Sets and Dataset Completeness

2017-12-11 Thread Marta Vila
thanks Ignacio! On 8 December 2017 at 21:35, Ignacio Foche Pérez wrote: > Hi Mike, Marta, > > We've looked at it and there was a bug in how data is sent to the server. > We already have a solution to integrate into the next version but in the > meanwhile, I've submitted a new issue in Jira for t

Re: [Dhis2-devs] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread John Mukulu
Alright thanks. We'll look into that. You're very right on the relevance of switching on map with 10 indicators, we were planning on the next release to put attention on sanity checks on visualizations to be rendered. But certainly warning first will do the trick. Thanks again for the feedback.

Re: [Dhis2-devs] getting list of datasets

2017-12-11 Thread Ramón José Jiménez Pomareta
Update: Only giving the "ALL" authoritie to the user fix the issue... :( 2017-12-11 13:25 GMT+01:00 Ramón José Jiménez Pomareta : > Hello ! > > I've seen that DHIS2 call this two url in order to retrieve and match the > list of datasets with the countries. > > https://DHIS2URL/dhis-web-dataentry/

Re: [Dhis2-devs] getting list of datasets

2017-12-11 Thread Ramón José Jiménez Pomareta
Hello Dave, Thank you for your prompt answer. Unfortunately, this time, this is not the case :( The user has already the role asigned for this dataset and I can verify he can see it when going to the url /api/dataSets. Thank you for your idea anyway ! 2017-12-11 15:11 GMT+01:00 David Palmer : >

Re: [Dhis2-devs] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread Ifeanyi Okoye
Hello John,Thanks for sharing this app with us. I got some additional feedback: 1. The speedometer type charts do not render very well compared to the traditional dashboard2. Some pie charts are rendered really minutely in comparison.3. I like the way the tables look4. Would it be possible to cha

Re: [Dhis2-devs] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread John Mukulu
Hello Ifeanyi, Thanks for the feedback, we will work on both, Concerning the colors for charts, yes it's very much possible, we have legend service currently used by maps only, but we were planning on expanding it later for charts and tables. We'll incorporate that in next release. We'll keep you

Re: [Dhis2-devs] getting list of datasets

2017-12-11 Thread Morten Olav Hansen
Hi Ramon The endpoint /api/dataSets is not filtered by the user, if you want to see what the user can really access you would have to use /api/me Maybe using something like this: https://play.dhis2.org/demo/api/28/me.json?fields=id,displayName,userCredentials[userRoles[dataSets[id,displayName]]]