Fork me on GitHub
#fulcro
<
2022-02-07
>
mindbender06:02:35

I want to make a minor request to make the favicon to appear for http://book.fulcrologic.com. It's absence is making it hard to locate the tab among a plethora of tabs in my chrome. The same goes for http://book.fulcrologic.com/RAD.html. In the RAD case the favico url is 404 but can't even see a 404 for http://book.fulcrologic.com. Thanks

imre13:02:02

Hey there, I noticed that guardrails has some https://github.com/fulcrologic/guardrails/tree/develop/src/clj-kondo/clj-kondo.exports but it doesn't seem to be part of the released artifact so I'm unable to import them if I depend on a mvn version of guardrails. Is that a conscious decision or an oversight?

imre13:02:10

#$ ~/.m2/repository/com/fulcrologic/guardrails/1.1.10
; jar tf guardrails-1.1.10.jar
META-INF/
META-INF/MANIFEST.MF
com/
com/fulcrologic/
com/fulcrologic/guardrails/
com/fulcrologic/guardrails/impl/
com/fulcrologic/guardrails/stubs/
com/fulcrologic/guardrails/impl/pro.cljc
com/fulcrologic/guardrails/impl/externs.cljc
com/fulcrologic/guardrails/impl/parser.clj
com/fulcrologic/guardrails/stubs/cljs_env.clj
com/fulcrologic/guardrails/stubs/ana_api.clj
com/fulcrologic/guardrails/core.cljc
com/fulcrologic/guardrails/utils.cljc
com/fulcrologic/guardrails/config.cljc
com/fulcrologic/guardrails/noop.cljc
com/fulcrologic/guardrails/registry.cljc
META-INF/maven/
META-INF/maven/com.fulcrologic/
META-INF/maven/com.fulcrologic/guardrails/
META-INF/maven/com.fulcrologic/guardrails/pom.xml
META-INF/maven/com.fulcrologic/guardrails/pom.properties

Jakub Holý (HolyJak)14:02:40

Oversight, I would think. Send a PR to fix?

imre15:02:45

Not sure how to do that, I haven't been able to find the code that produces the jar

imre15:02:41

submitted an https://github.com/fulcrologic/guardrails/issues/29 for lack of something better

tony.kay16:02:16

I'm not maintaining kondo hooks (no time)...community members have contributed that....anyone?

imre17:02:01

Thanks @U0CKQ19AQ, I could have a look into that if you can let me know how you build the jar for release?

tony.kay17:02:02

mvn package

tony.kay17:02:34

can probably just create a resources directory

imre17:02:56

Thank you. I'll have a look!

imre12:02:09

Apologies for the noise yesterday, I was late to realize the tests I added weren't stable enough, this is fixed now and I put the PR into ready for review

sheluchin18:02:47

Do you folks use https://vlaaad.github.io/reveal/, https://github.com/djblue/portal, or some other enhanced REPL/data browser with Fulcro? Maybe just the shadow-cljs inspector?

Jakub Holý (HolyJak)19:02:50

Shadow Inspector has sufficed for my fronted needs so far. At work I use portal on the backend.

tony.kay22:02:11

Same for me. tap> in shadow-cljs shows up in that UI so there's no need for an addl tool. Fulcro Inspect mostly makes even that unnecessary. I use Portal on the back-end occasionally.

xceno08:02:50

Fulcro inspect on the frontend mainly and portal (sometimes reveal) on the backend. But I integrated Portal into Intellij and hook it up into clj + cljs taps automatically when I start my project. Is there a specific feature you're after @UPWHQK562?

sheluchin12:02:24

I'm mostly curious about what tooling others choose. I just started using Reveal and I like its feature set and interface, for the most part. The built-in table views and data viz are nicer to look at than map vectors. The java-bean view looks like a good way to get exposed to some internals and understand things better. I like the feel of the navigation and how it allows you to include any portion of what you see in some eval. I think the lack of similar keyboard shortcuts is what I'm really missing in the shadow's tooling. Inspect is great, and I think I'm still not using some parts to their full potential. I usually use the DB tab and rarely the DB Explorer. The main issue with Reveal for me is that it's JVM only. Maybe it's actually a good thing to have different views for CLJ/CLJS stuff, but I'd like to explore them using the same interface. I haven't tried Portal yet, but it looks like it might handle that a little better.

xceno16:02:42

Yeah, Portal has a remote API that allows you to send anything over as long as it's serializable. So it works well for JVM + JS. But since you're asking in the fulcro channel: I use it mostly for backend tasks and only sometimes in the frontend to inspect some intermediate stuff. Most of the time I use Fulcro Inspect when working at the frontend. You mentioned navigation, both, reveal and portal accept commands over the wire to control them. So you can make yourself some keyboard shortcuts and control the inspectors without clicking around much. (I also made myself a keyboard shortcut that sends some cljs to the shadow repl to reload my browser, cause I'm lazy ;)) What's also looking interesting is flow-storm , but I never got it to work properly when I tried it last year