To view the change list and installation instructions, see the README
on the no-prototype branch of hobo-jquery:
https://github.com/bryanlarsen/hobo-jquery/tree/no-prototype
The code structure is currently a mess. The javascript is nicely
organized into many small files. This is suboptimal for web apps,
but the Rails 3.1 asset pipeline should take care of this nicely for
us. (the no-prototype branch currently uses Rails 3.0, but it will
be Rails 3.1 when it merges into master).
On the other hand, hobo-jquery.rb and hobo-jquery.dryml are giant
files containing everything except the kitchen sink. That's because
they'll probably be merged into Hobo 1.4 so any effort spent
organizing them would be wasted.
This impacts you because you'll have to look into hobo-jquery.dryml
for tag documentation. OTOH this is an alpha release with both tests
and documentation.
There are a couple of little-used tags that have not yet been
converted (sortable-input-many, name-many). It's only been tested
against agility, but agility does try to touch on pretty much every
aspect of Hobo.
As this is an alpha release, the API is subject to change, although
such changes will probably be trivial. In fact, I want you to read
through the README and double check my choices for tag, attribute and
parameter names, noting places where my choices are suboptimal.
cheers,
Bryan
--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To post to this group, send email to hobo...@googlegroups.com.
To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
cheers,
Bryan
I've been terribly busy and unable to follow the latest updates, but
this is amazing Bryan.
We already use a lot of parts, hobo-jquery and Ajax uploads, so these
changes are a huge improvement for us. And the live-editor? I have to
try that one!
I'd like to suggest one small change: "hjq-datepicker" is a bit too
hard. How about calling it "datepicker" and making it the default for
date fields?
Thank you, thank you so much!
El 07/12/11 22:21, Bryan Larsen escribi�:
- --
Ignacio Huerta Arteche
http://www.ihuerta.net
Tel�fono: 0034 645 70 77 35
Email realizado con software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7rnxUACgkQBPlUJ6RHaOQ6KQCeODS4gE5JP+iFDN/Ty7h0UmLi
nzkAn1aSztKdiqzQoWb67Bwa+ZriwhE8
=YUju
-----END PGP SIGNATURE-----
To do the second half we should probably rename the default datepicker
so that people can switch back to it if they're crazy enough to prefer
the standard rails datepicker.
Bryan
On Fri, Dec 16, 2011 at 2:42 PM, Ignacio Huerta <ign...@ihuerta.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I've been terribly busy and unable to follow the latest updates, but
> this is amazing Bryan.
>
> We already use a lot of parts, hobo-jquery and Ajax uploads, so these
> changes are a huge improvement for us. And the live-editor? I have to
> try that one!
>
> I'd like to suggest one small change: "hjq-datepicker" is a bit too
> hard. How about calling it "datepicker" and making it the default for
> date fields?
>
> Thank you, thank you so much!
>
> El 07/12/11 22:21, Bryan Larsen escribió:
> Teléfono: 0034 645 70 77 35
> Email realizado con software libre
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk7rnxUACgkQBPlUJ6RHaOQ6KQCeODS4gE5JP+iFDN/Ty7h0UmLi
> nzkAn1aSztKdiqzQoWb67Bwa+ZriwhE8
> =YUju
> -----END PGP SIGNATURE-----
>
2) Element.show is prototype code. $("#project-spinner").show() is
the jquery equivalent.
3) $("#project_select").hjq_spinner({message: 'Loading...'}) should
open the hobo-jquery spinner and $("...").hjq_spinner('remove')
should close it.
4) This is a relatively common pattern. When your DRYML foo is up to
it, I'd love to help you package it up into a general tag to include
in hobo-jquery.
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/zpLsio5ME8cJ.
If you weren't on the jQuery branch I would have pointed you at
http://cookbook.hobocentral.net/recipes/33
Instead, the jquery branch now has the fancy new 'hot-input' tag.
(See my other post for details). It should be a lot simpler to use
than observe_field, and a lot more useful.
cheers,
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/gYzwyIx1s0gJ.
That was a deliberate change. The new code uses ajax forms for
everything which will allow us to remove a bunch of special case code
in Hobo.
You should be able to fix it up by adding "display:inline" to an
appropriate location in the CSS. If you figure out where the
appropriate location is before I get to it, let me know.
cheers,
Bryan
Added to my todo list. Let me know if it gets urgent for you -- I
don't want to lose my alpha tester. :)
Bryan
If you want to give me a hand fixing the issues, the best way is to
add an example of your issues to the jquery branch of
https://github.com/Hobo/agility-gitorial/tree/jquery. I've been
adding integration tests for the new code there, so an example of your
problem will help me fix it and help me create more integration tests.
It will also give me a very clear undestanding of the problems.
thanks,
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/hOLLYJEwT9YJ.
It still has a couple of major limitations, so it'll probably move out
of hobo-jquery and into -contrib or something as hobo-jquery is
becoming much more 'official' for 1.4.
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/Op_geFI5qoIJ.
The need for controller customization is the biggest reason why
select-one-or-new-dialog will probably not make it into Hobo proper
when the rest of hobo-jquery gets merged in to Hobo 1.4.
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/ewDZhtGtdw8J.
The fact that you're using it in a form that updates something else is
completely optional, and that controller action is unaffected.
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/MGODp2paCokJ.
add onsubmit="return false;" to your form, and then try clicking the
button with firebug or the javascript console running. You should
see a javascript error. Cut & paste that error and backtrace into an
email.
thanks,
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/YojYJRskYu0J.
Hmmm - at first glance, this sounds like something isn't stopping the button's click event from propagating up to the surrounding form. There may be a missing preventDefault call in the event handler...
--Matt Jones
Are you up to date? besides bundle update, you also need to do rails
g hobo_jquery:install on an update. Another requirement that should
disappear when we switch to Rails 3.1.
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/L0R4c34aXMgJ.
thanks,
Bryan
fix committed: https://github.com/bryanlarsen/hobo-jquery/commit/c06ca48b7352912acbab1e8f040170a6524084b7
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/H785laVDV3YJ.
However, I get story:2:status in my log. Which means I'm testing via
edit.dryml, and you're testing via new.dryml. You try it on
edit.dryml and I'll try it on new.dryml.
cheers,
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/8ZxGNDmj2bsJ.
The hobo bug fix is here:
https://github.com/tablatom/hobo/commit/cf36885d5c5fb7348cbc433d291943b24d431c58
The problem with your controller code is that the select-one-or-new is
in new-for-project.dryml, not in new.dryml, so you need to make sure
the story is created on the project.
See https://github.com/Hobo/agility-gitorial/commit/9b5e4eac60e1c93644289fa941654ce037b17e08
for a working example.
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/g34j4ibCnTcJ.
Hey, no problem. So far we've been finding more bugs in the rest of
hobo-jquery & hobo 1.4 than we have in this really annoying tag.
> Call part: select_one_or_new_dialog_select. this-id = :unit, locals = []
> : form_field_path = ["location_material", "unit"]
We've run out of magic. :)
The current typed-id format has no way to specify the context. We
definitely could extend the format to support this scenario, but we're
chasing a rabbit hole of diminishing returns here. There's no way
that typed_id could cover every scenario, so we'll just have to be
happy with 99%. If you've got a scenario that justifies an
extension, let us know, though.
cheers,
Bryan