mobilizingcs / author Goto Github PK
View Code? Open in Web Editor NEW:pencil: The new survey editor
Home Page: https://test.mobilizingcs.org/#author/
License: Apache License 2.0
:pencil: The new survey editor
Home Page: https://test.mobilizingcs.org/#author/
License: Apache License 2.0
after typing "kjh" in the campaign name field and selecting a class, my urn becomes: ID: urn:campaign:mobilize:2013PD:mobilizeteacher:kjh
@jeroenooms - Required fields are still not marked
Right now I can't add condition(s) to the prompt, please add it.
The ohmage server documentation says these fields are optional (o):
(o) description = A description of the campaign.
(o) campaign_urn = The URN for this new campaign. This may be a parameter instead of in the XML, but if it is in both places it must match exactly.
(o) campaign_name = The name for this new campaign. This may be a parameter instead of in the XML, but if it is in both places it must match exactly.
However according to @hongsudt and @ctrance they are actually required.
When I observed an lausd teacher using the app, she didn't pay attention to that checkbox at all since it is toward the end of the page.. I am wondering whether we should move this flag up, so it can easily catch user's attention.. But I am not sure where we can move it to..
Since this interface can only be visited from within the campaigns tool, it feels like an extra page in the same project. Maybe we could/should merge them?
@jeroenooms - Current version doesn't have Hongsuda's feedback "at least one class will need to be selected.. So default to the first class in the list"
Allow users to open campaigns with existing responses in author to view the surveys.
When I check a wholeNumber to true and enter a decimal for the default value, even though the app highlight the wrong default value area in red (which is cool), if I go ahead and click submit, it will allow me to go ahead and submit..
If there is a failed validation, shouldn't it pop up an error message instead of allowing the campaign to be submitted? In this case, since there is a server bug, the campaign submission is successful which is kind of confusing..
as of ohmage/server#888 we now support editable survey responses where applicable.
Please add a toggle-able parameter which sets editable: true/false
(default false) on the author tool.
Additionally! It would be best if this could be hidden if app_name = mobilize
as this brings some serious downsides to participatory sensing studies.
@jeroenooms - On FF, If I have added couple of prompts which would make me scroll at the bottom the page when adding new prompt, the add prompt modal don't show the rest of the prompt types.
@jeroenooms - Submitting with invalid campaign info results to multiple pop ups if there are multiple errors. I think it would be better to just highlight all fields with invalid value and show 1 pop up message, just like what you did on Survey info section.
Perhaps great to even gray out the "Edit Campaign" button on the campaign manager!
user_info/read response from server:
{
"result" : "success",
"data" : {
"mobilize-teacher" : {
"permissions": {
"can_create_campaigns" : false,
"can_create_classes" : false,
"can_setup_users" : false,
"is_admin" : false
},
...
Can you make sure that at least one choice is defined?
This is not true for single- and multi-choice custom though..
Can you change the GUI to ask for maximum audio length in seconds and convert that to milliseconds in the xml, so it is consistent with video?
Can we do the following validation?
Note: there is no default value for text yet.. This is listed under an earlier issue.
I saved the xml generated from the Survey Editor (here is the xml https://drive.google.com/file/d/0B7svGEyR3-FbdENlUE9zVHhHbms/view?usp=sharing) and was trying to upload it to the front end but I'm getting error "Survey content list is missing"
It isn't particular natural to have to click the prompt "button" again in order to close this popover, but it would likely be annoying to have it close whenever another element is clicked. Perhaps adding a "X" or "close" button to the popover would make a more actionable item for users to realize they could click to close the popover?
We should be able to provide a comma separated keys for multi-choice default e.g. 1,2
Add another an imageQuality which is a number between 0 and 100..
This is not currently implemented in the server yet though.. I will add this later..
Support maxDimension
field for photo prompts. Use 800 as default.
@jeroenooms - On text prompt I entered min length of 5 then max length 0, app submitted the campaign.
After I click submit campaign, the whole number flag is reset to false even though it was originally set to true. It looks like the tool ignores this value and always reset to false.
Can you add a property name to the urn to make it explicit?
If allowed, users can see other users' shared data in the campaign.
It's not particularly clear when creating a campaign which fields are required (such as the description field for survey). This is caught when the user attempts to upload, but it would be nice to more readily see this as inputs are shown to user.
Since there is a bit of input overload, it would be nice at a glance for the user to know which ones weren't as important in order to prevent overwhelming them.
If user checked 'skippable' box allow user to enter customized skip label.
On lausd, we want to only allow the first group of the prompt type and hide the rest.. On the sandbox or other servers, we probably want everything to be shown. Can we make this configurable on lausd?
Support ordinal value in single- and mult-choice prompt
Add the following tip to campaign status
Some basic validation:
@jeroenooms - I was importing this xml which has multiple surveys https://drive.google.com/file/d/0B7svGEyR3-FbM0dPRXZid2NOVUk/view?usp=sharing. The import didn't show all surveys but only the first 2 surveys
I implemented a somewhat extensible way of adding some tooltips. Do we have a list of fields that cause confusion and require a tooltip? There is performance overhead for every tooltip, so it is unwise to add tooltips to every input field.
@jeroenooms - Video and audio has specific info on its max length which is "(in seconds)". Can you please do the same in file prompt?
when a whole number flag is selected, the app allows me to submit a default that is not a whole number.. Can we check for this case?
it also allows me to specify min and max that are decimals, this is probably ok..
I think we can remove this flag from the GUI and set it to true in the xml. Only the native android app uses this flag.. The new ohmageX app assumes anytime is always true.
@jeroenooms - Per Hongsuda, "the default allows a negative number. Can we dynamically set the range to the option setting?"
I think it would be better if you change from number input to number list for the choice
@jeroenooms - I'm trying to create a new campaign but I can't submit to server because of the generated campaignID.
can you make the switches use ajax calls if the campaign is in view mode.
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.