untangled

NEW CHANNEL: #fulcro
2016-09-13T18:43:57.000137Z

Here's the blog post I was promising someone a while back, complete with some code samples (and a bit of selling for our coworkers who haven't seen live-reloading in action): http://tech.adstage.io/2016/09/12/how-we-test-full-stack-clojure.html

๐Ÿฆœ 4
2016-09-13T19:17:34.000138Z

Nice post @therabidbanana

2016-09-13T19:20:02.000139Z

Thanks! Think I covered everything - @currentoor and @kenbier helped proof-read/make suggestions

shaun-mahood 2016-09-13T19:25:23.000140Z

@therabidbanana: Really interesting post, I think it's worth posting to some non-untangled channels as well - lots in there that applies to pretty much every front end CLJS project.

2016-09-13T19:25:39.000141Z

Good job. So u guys are using boot instead of leiningen. Great! Any ideas to share the experiences?

2016-09-13T19:31:37.000142Z

I think that'd probably be something worth writing up, but I'm more of a clojure newcomer so I haven't really dealt with leiningen all that much for comparison

2016-09-13T19:31:55.000143Z

Oh! I guess I missed that one: https://github.com/currentoor/untangled-starter

2016-09-13T19:32:36.000145Z

Oh yeah, forgot @currentoor released that.

2016-09-13T19:33:36.000146Z

Doesn't look like it takes much advantage of being in boot from the looks of the build.boot file - we have a lot more in our actual project. Might be worth updating a bit.

2016-09-13T19:34:43.000147Z

But it's a very good place to start with boot and untangled. Thanks @currentoor

2016-09-13T19:46:13.000148Z

Ok, after reviewing the files an update would be nice ;)

2016-09-13T19:47:22.000150Z

sth with boot-reload and so on. I'm happy to talk and help out if I can.

currentoor 2016-09-13T20:04:48.000152Z

Hey @baris I've actually got a boot-untangled template in the works. I'll post it here as soon as it's ready!

2016-09-13T20:10:52.000153Z

the visual regression test with advanced compilation is a brilliant idea

adambros 2016-09-13T20:14:25.000154Z

@currentoor: Iโ€™ve already got untangled-template going, have you looked at that and/or is there a reason you couldnโ€™t put boot in that?

currentoor 2016-09-13T20:14:46.000155Z

@ethangracer thanks!

adambros 2016-09-13T20:14:49.000156Z

https://github.com/untangled-web/untangled-template

currentoor 2016-09-13T20:15:21.000158Z

@adambros sorry it's not a template like that, a simple toy application

currentoor 2016-09-13T20:15:34.000159Z

like TODO MVC but hopefully more silly

adambros 2016-09-13T20:15:37.000160Z

ah

adambros 2016-09-13T20:15:50.000161Z

ok well i would like to see it as maybe i can put it in that project

currentoor 2016-09-13T20:16:10.000162Z

for sure, i'll keep you posted. i've just setup the skeleton so far

tony.kay 2016-09-13T20:18:25.000163Z

@therabidbanana Nice article! Thanks for sharing.

currentoor 2016-09-13T20:23:53.000164Z

@ethangracer it's kind of funny the devcards visual regression test idea were the direct result of spite and anger with a former teammate rather than some good idea we deliberately cooked up

๐Ÿ˜ค 1
tony.kay 2016-09-13T20:23:58.000165Z

I agree with @ethangracer, the visual regression stuff is nice

tony.kay 2016-09-13T20:24:14.000166Z

nice to know something good comes from spite ๐Ÿ˜‰

currentoor 2016-09-13T20:24:31.000167Z

i basically got furious one night and had to prove the clojure stack was worth us using ๐Ÿ˜„

currentoor 2016-09-13T20:25:29.000168Z

i don't think i would have been as motivated otherwise lol

tony.kay 2016-09-13T20:25:46.000169Z

yeah, new obscure frameworks are a tough sell. I was exploring the competition today...still not seeing anything I like nearly as well. I know I'm biased, but the full-stack story we have is pretty darn compelling once you understand it.

tony.kay 2016-09-13T20:26:04.000170Z

it has kinks to work out still...

tony.kay 2016-09-13T20:26:26.000171Z

anyone playing with anything to componentize CSS with respect to their Om/Untangled components?

tony.kay 2016-09-13T20:26:54.000172Z

I've been brainstorming on that particular topic because we're starting an untangled-components library, and I want people to be able to style the things easily.

tony.kay 2016-09-13T20:27:22.000174Z

I've got a meeting to go to now, but if anyone has ideas, feel free to share them here or in PM

currentoor 2016-09-13T20:27:34.000175Z

oh that would be cool!

tony.kay 2016-09-13T20:28:17.000176Z

yeah, co-located CSS? Compiler integrations the extract base CSS like the i18n stuff? Naming conventions with CSS name generation macros, etc.

tony.kay 2016-09-13T20:28:41.000177Z

I'm trying to weigh the different options and see what seems to have the best long-term promise

currentoor 2016-09-13T20:29:26.000178Z

i used react-material-ui once in cljs

currentoor 2016-09-13T20:29:40.000179Z

you specified the theme with a js object

currentoor 2016-09-13T20:30:49.000182Z

and then apply it to the context feature in react

currentoor 2016-09-13T20:31:07.000183Z

but maybe here it would make most sense to just store it in the app-state?

2016-09-13T20:32:12.000184Z

Other approach would be use something like garden, I've played with that recently, not too bad to use (but in CLJ, not sure if it works well in CLJS)

2016-09-13T20:33:38.000186Z

Now that our designer is getting more into the CLJS files maybe we can subject him to a few experiments.

anmonteiro 2016-09-13T21:52:15.000187Z

@tony.kay @currentoor have you looked at https://github.com/ladderlife/om-css ?

anmonteiro 2016-09-13T21:52:35.000189Z

shameless plug right there, but it works quite nicely for some cases

currentoor 2016-09-13T21:54:11.000191Z

@anmonteiro I have not but it looks pretty cool.

tony.kay 2016-09-13T21:54:14.000192Z

it is now on my list to evaluate

tony.kay 2016-09-13T21:54:46.000193Z

I'm not sure it is the right solution...e.g. how would a designer override that?

anmonteiro 2016-09-13T21:55:15.000194Z

the approach there is to generate css based on the colocated styles

tony.kay 2016-09-13T21:55:38.000195Z

I understand. I'm wondering how well that can be made to work where you have components some CSS person is trying to style

anmonteiro 2016-09-13T21:55:39.000196Z

generated classes are ns-name prefixed by default, but you can specify raw classes without prefixes

anmonteiro 2016-09-13T21:56:05.000197Z

in that case you can write CSS against those classes

tony.kay 2016-09-13T21:56:38.000198Z

I'll look it over...glad to see you're already working on a solution

tony.kay 2016-09-13T21:56:54.000199Z

I expect to be pleasantly surprised ๐Ÿ˜‰

anmonteiro 2016-09-13T21:57:01.000200Z

letโ€™s hope so!

anmonteiro 2016-09-13T21:57:10.000201Z

Iโ€™ve also recently added support for Sablono

tony.kay 2016-09-13T21:57:16.000202Z

oh, and when did you want that job??? ๐Ÿ˜„

anmonteiro 2016-09-13T21:57:40.000203Z

๐Ÿ™‚