Code Monkey home page Code Monkey logo

author's People

Contributors

jeroen avatar stevenolen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

author's Issues

Add condition

Right now I can't add condition(s) to the prompt, please add it.

campaign info fields

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.

move "enable syntax highlighting" location?

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

single choice prompt type error

The generated prompt type for single choice is incorrect, it should be single_choice. Please check other prompt types too if you're generating it correctly.

capture

merge codebase with `campaigns`

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?

number prompt: default value validation

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

add "editable responses" parameter to campaign states

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.

Campaign info validation

@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.

add warning to inform user if they do not have campaign author privileges

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
    },
...

Adding single choices is not user friendly

capture
On FF 35.0.1 (windows7), I have to click other fields to add new choice. Maybe have a '+' icon that enables user to add new choice right away or always have a blank row at the end?

audio: change max length to seconds

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?

text prompt validation

Can we do the following validation?

  • disallow negative min and max
  • max >= min

Note: there is no default value for text yet.. This is listed under an earlier issue.

add close button to prompt popover

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?

number prompt: incorrect whole number flag

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.

asterisk next to required fields?

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.

allow configuration of allowed prompt type

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?

tooltip: campaign status

Add the following tip to campaign status

  • Users can only submit their data to the "running" campaigns.

Input validation

Some basic validation:

  • check for empty required fields
  • check that max > min for numbers

Tooltips

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.

number 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..

remove anytime flag

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.

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.