Fork me on GitHub
#hoplon
<
2016-07-05
>
onetom02:07:26

who else is doing Hoplon UI?

onetom02:07:41

can you have a look at this issue please: https://github.com/addplus/tpl-example/

onetom02:07:09

@micha: this example is already using boot-hoplon:0.2.1 😉

micha02:07:24

@onetom: i am pushing a new version of boot-hoplon in a second

micha02:07:01

fixing issues with ns+ namespaces that :require other ns+ ones

micha02:07:19

this was quite the computer science adventure

onetom02:07:40

looks neat, though i think it doesn't help with intellij integration

micha02:07:04

yeah probably confuses intellij

onetom02:07:07

but the :hoplon/page metadata has already been tried out in the example i posted

micha02:07:22

does that help with the intellij situation?

micha02:07:39

stupidij heh

micha02:07:16

what happens if you wrap the for-tpl in a div?

onetom02:07:01

you mean into an elem?

micha02:07:23

just a normal div

onetom02:07:53

normal div works. it's specifically a hoplon ui issue, not hoplon

onetom02:07:57

and yes, :hoplon/page helps intellij to resolve all the symbols (if i require them "manually" of course)

eric.shao03:07:43

hi everyone,does Hoplon have a solution for Cross-platform native mobile application,like React Native?

eric.shao04:07:56

Thx for rpl.

eric.shao05:07:41

Really looking forward to "Hoplon/UI" stable edition. And imagine : "hoplon/ui/cross-platform native app” Wow!!!

myguidingstar08:07:08

@eric.shao: you may be interested in Rum, a React wrapper that works well with javelin

myguidingstar08:07:03

but you need to figure out the React native part yourself

eric.shao08:07:30

@myguidingstar: Thank you very much,I’ll have a look at it!

myguidingstar08:07:41

@eric.shao: I'm not into ReactNative yet, but someone is using it https://github.com/tonsky/rum/issues/77

eric.shao09:07:22

I think "hybrid apps” is ok.So I can enpowered by Hoplon.

jumblerg10:07:50

@eric.shao: me too! we’re getting there, slowly but surely. and yes, a hoplon-native thing is something we’ve been discussing, i suspect there’s a way to use react’s javascript -> objective-c bridge for this purpose.

jumblerg10:07:54

hoplon-native would be a non-trivial undertaking however, and likely benefit from some additional development firepower after the hoplon/ui api hardens.

jumblerg10:07:11

i also think it is a lower priority for some of us who are more focused on using hoplon for “enterprisey" b2b purposes rather than consumer facing apps.

jumblerg10:07:51

i can easily see a scenario, however, where someone’s business priorities change in the near future causing us to move in this direction.

dm310:07:22

@jumblerg: where do you work now (if not a secret)?

jumblerg10:07:03

@dm3: at my own little startup. 🙂

dm310:07:17

cool 🙂 does it already have a name?

jumblerg10:07:41

@dm3: it does. but i prefer not to advertise the linkage between the product and the technology we use.

dm310:07:06

sure, just curious

jumblerg10:07:23

typically, customers just care that the thing works. and when there’s some degree of due diligence being done, its easier to explain that our db uses a relational model, our service runs on the jvm, our client is javascript-based. nothing too crazy going on here.

eric.shao13:07:46

@jumblerg: Rock on! Thank you for your work.

jumblerg13:07:58

i’ve made another delightful little discovery about the browser, this time pertaining to the overflowX and overflowY styles: if you set one to auto, say overflowX so that a scrollbar will appear when the content overflows horizontally, you’ll get a free scrollbar in the vertical orientation as well. this is problematic when you need the children in the other orientation expand the size of the container, and particularly so when relying on the overflow property as a way to achieve the same effect as fixed positioning, but in a more general way without introducing the complications of an entirely new positioning scheme into the mix.

jumblerg13:07:38

from the w3c: "The computed values of ‘overflow-x’ and ‘overflow-y’ are the same as their specified values, except that some combinations with ‘visible’ are not possible: if one is specified as ‘visible’ and the other is ‘scroll’ or ‘auto’, then ‘visible’ is set to ‘auto’. The computed value of ‘overflow’ is equal to the computed value of ‘overflow-x’ if ‘overflow-y’ is the same; otherwise it is the pair of computed values of ‘overflow-x’ and ‘overflow-y’."

jumblerg13:07:19

this is almost as much fun as percent padding (which is based on the size of the container in the opposite orientation).

jumblerg14:07:12

i ran into the same thing, can’t run the tests locally without downgrading ff.

onetom14:07:53

im just running brew install geckodriver

jumblerg14:07:49

no, not yet

jumblerg14:07:32

would be great if we could use it though