desired features

56 views
Skip to first unread message

Guy Mann

unread,
Sep 26, 2012, 6:25:20 PM9/26/12
to humanio...@googlegroups.com
First off i love human.io.
I'm a web developer and this is my first attempt at building anything for the mobile world and human.io made it so quick and easy to get going.

It would be great to be able to apply CSS styles to elements I add, or even better to define a css file in the add_task call and then be able to use the styles defined there in my tasks.  Perhaps add an options array to the add_{item} functions which would allow you to pass options such as class or id to be used to styling.  Right now everything looks very plain.

I would like to have a select element from HTML so i can make pick lists.  

I would like to have a means for form validation in a form.  I would normally have javascript on the page to control whether certain fields were filled in or not.  This could be something that could be defined in the options array mentioned above.  Further to this it would also be good to get the onclick functionality of a browser, so that if you selected an option you could enable some other hidden or disabled elements.

Of these requests the styling I feel is the most important but all would be great to have. It would make your framework much more robust.

Also will there be a way to create a stand alone app from my human.io app?

Thanks,

Guy

Joshua Schachter

unread,
Sep 29, 2012, 12:09:02 AM9/29/12
to humanio...@googlegroups.com
>
> It would be great to be able to apply CSS styles to elements I add, or even
> better to define a css file in the add_task call and then be able to use the
> styles defined there in my tasks. Perhaps add an options array to the
> add_{item} functions which would allow you to pass options such as class or
> id to be used to styling. Right now everything looks very plain.

this is totally on our todo list.

> I would like to have a select element from HTML so i can make pick lists.

what would this look like?

> I would like to have a means for form validation in a form. I would
> normally have javascript on the page to control whether certain fields were
> filled in or not. This could be something that could be defined in the
> options array mentioned above. Further to this it would also be good to get
> the onclick functionality of a browser, so that if you selected an option
> you could enable some other hidden or disabled elements.

this comes up a lot, and is already on our todo list.

> Of these requests the styling I feel is the most important but all would be
> great to have. It would make your framework much more robust.
>
> Also will there be a way to create a stand alone app from my human.io app?
>
> Thanks,
>
> Guy
>
> --
> You received this message because you are subscribed to the Google Groups
> "humanio-discuss" group.
> To post to this group, send email to humanio...@googlegroups.com.
> To unsubscribe from this group, send email to
> humanio-discu...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/humanio-discuss/-/Wv601PzpIdgJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Guy Mann

unread,
Sep 30, 2012, 8:04:42 PM9/30/12
to humanio...@googlegroups.com
Great to hear about items already on the todo list. What i was thinking of was http://www.w3schools.com/tags/tag_select.asp.

Drew Olbrich

unread,
Sep 30, 2012, 8:09:29 PM9/30/12
to humanio...@googlegroups.com

On Sep 30, 2012, at 5:04 PM, Guy Mann wrote:

Great to hear about items already on the todo list. What i was thinking of was http://www.w3schools.com/tags/tag_select.asp.

I think this already-supported functionality is similar:

    session.add_radio_button("my_radio", "val1", "Value 1")
    session.add_radio_button("my_radio", "val2", "Value 2")
    session.add_radio_button("my_radio", "val3", "Value 3")

And then later in a submit function

    selected_radio_item = form_data.get("my_radio", "(none)")

Drew

Guy Mann

unread,
Sep 30, 2012, 11:05:57 PM9/30/12
to humanio...@googlegroups.com
That would be a way of getting the same functionality but the select implementation usually seen is good for long lists such as states and countries. allows for a compact view.

Drew Olbrich

unread,
Oct 1, 2012, 11:40:40 AM10/1/12
to humanio...@googlegroups.com
Guy,

I see, thanks for clarifying. 

A true web-style select popup would be awkward on mobile, but we could implement an iOS-style version that displayed the current selection and, when tapped, transitioned to another screen that displayed the options and allowed the user to choose between them.

It would appear in the UI much like Auto-Lock on this screen shot from the iOS settings app:
(The red box is an annotation and is not part of the UI.)

Tapping on Auto-Lock displays this screen:

Drew


--
You received this message because you are subscribed to the Google Groups "humanio-discuss" group.
To post to this group, send email to humanio...@googlegroups.com.
To unsubscribe from this group, send email to humanio-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/humanio-discuss/-/JnDRTG1PVSsJ.

Samuel Carlisle

unread,
Oct 11, 2012, 6:02:44 PM10/11/12
to humanio...@googlegroups.com
+1 on the css. I want to have

session.add_image("url_to_image", decorated=False) i.e. no border on white background... not just be forced to use:

http://api.human.io/static/css/base.css?v=3c5d6
and
http://api.human.io/static/css/client.css?v=6bd9f

Specifically, I want to turn off:

body's
element {
    background-color: rgb(240, 240, 240);
}
and
.phonegap #interface_container {
    background-color: rgb(225, 225, 225);
    display: none;
}

So that I have a nice clean white background... for now I have to use transparency and add this weird beige colour to my graphics :S
Reply all
Reply to author
Forward
0 new messages