GithubHelp home page GithubHelp logo

forzaz / mobile-experience-sampling-master Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 72.29 MB

SampleU - An Open Source Experience Sampling and Ecological Momentary Intervention App for Android and iOS

JavaScript 47.76% CSS 47.76% HTML 0.56% PHP 3.76% R 0.15%
experiencesampling mobile-app psychology-experiments survey-app questionnaire-survey intervention-study cordova framework7 mysql-database

mobile-experience-sampling-master's Issues

Value checking mechanisms

I am pretty sure that you will add these functions: (1) to check whether there are values out of range; (2) give an error (pop-up or maybe jump to the question) when a user click "Submit" before finishing all the compulsory questions.

Stop button for voice recording

When a recorded voice is played and is is over, should the stop button automatically change back to play? Feels more intuitive....

No default choices

For multiple choice and rating scale, there should be no defaut answer

Echo error in createUser.php

I had to comment out the first three lines of code (see below), otherwise the output will be as shown in the screenshot below (then it create problem for the registerUser function in authorization.js.

//ini_set('display_errors', 1);
//ini_set('display_startup_errors', 1);
//error_reporting(E_ALL);

afbeelding

More intuitive feedback for recording on/off

Not quite intuitive how to use the recording buttons. Because so many apps use the pressing/holding interaction, I first thought this way as well. Clicking to turn on and off is also fine, but there should be a stronger feedback (change of color?) than just change of text below. Something needs to show visually that a process (voice recording in this case) is ONGOING.

Photo size and resolution?

I checked the stored photos on the server, but they are of very poor quality and are very small. Why? Any way to define in the code, how much quality and how large the image size I want?

Likert scale presentation

When the scale labels are long, the display is still messed (see photo). I think it will be difficult to show if the labels are very long. But for more typical length, can you find a robust solution? It might be a good idea to show the text of labels in two rows.

afbeelding

log out?

Users should have the possibility to log out, even though not likely to happen often in research?

Swapping the side menu away?

Now when a user click on the top-left to show the side menu at the left, it feels natural to swap left to make the menu to hide again. Is it possible to make this interaction?

Labels for scales

For the question type scale, you need to design the common situations, when labels are used for all the values, or at least for the two extreme values (e.g., 1 and 5).

Does not login in

I had to change the following code in autorizeUser in authorization.js in order to login in:

from:
RetrieveMessages(function(){
if(data[2] === "1")
{
this is a temporary password, let the user change it.
view.router.loadPage('resetpassword.html');
} else {
storage.setItem("login","true");
view.router.loadPage('menu.html');
}
});

to:
RetrieveMessages();
if (data[2] === "1") {
//this is a temporary password, let the user change it.
view.router.loadPage('resetpassword.html');
} else {
storage.setItem("login","true");
view.router.loadPage('menu.html');
}

I am not sure where went wrong and why in this case you used the page-turning part as input to RetrieveMessages function.

Cannot add a second voice recorder?

I messed up the database a bit to see if I can easily change one question type and another. That works, but when I have two questions in the type of voice recording, the seond one seems not to work? Anything in the code prevents it from working?

Bug in Date question

Now when you click on the field for Date type, the Date selector does not pop up...

Google map issue

After I selected a location using the map, the page is messed up somehow...

afbeelding

Duplicate question bug

There was a bug that when users do the survey multiple times offline, questions in the SQLite are duplicated because no delete function was in the offline mode.

I have fixed it myself by moving the delete function from retrieveQuestionOnline to renderQuestion, so it applies to both online and offline.

Message text "undefined"

Message text "undefined" when the app is not active at the moment of receiving a message (e.g., you click on the notification to go to the message list page). Not a problem when the app is active.

Back button for Android phone

Now when you press the back button of Android devices, the app is killed. Can you change the callback to be either going back (when e.g., consistent with the back button on the message page) or just doing nothing (when on homepage)? Or even better, press twice == kill the app (default of many apps).

Navigate through years?

With the calenda, now it's very difficult to navigate through years. This is really needed when one has to pick her birthday. Maybe also allow users to just type the numbers?

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.