scittle

2025-07-14T10:06:40.413889Z

Locally I've made Dataspex working with Scittle (was trivial). It seems to be a widely useful tool. So I can imagine it would be a good candidate to have in the standard build. It will allow people to inspect arbitrary maps, datascript connections (although not in the standard build). What do you think? I will make a PR soon. And as follow up question, even if dataspex is in the standard build it could still be added to scittle/plugins and then included as a library via deps.edn ? Example here https://clojurians.slack.com/archives/C06JZ4X334N/p1752262626136169?thread_ts=1752244890.382609&cid=C06JZ4X334N

borkdude 2025-07-14T11:06:53.450429Z

What does dataspex provide apart from the CLJS dev tools?

2025-07-14T11:08:22.733719Z

Not sure if I understand the question

borkdude 2025-07-14T11:08:29.954099Z

https://github.com/binaryage/cljs-devtools

2025-07-14T11:08:51.195329Z

ah

2025-07-14T11:09:16.614299Z

Haven't really used that so I can't say

borkdude 2025-07-14T11:09:31.516709Z

that tool has been out for more than a decade, very useful for CLJS dev

2025-07-14T11:09:33.863049Z

Maybe dataspex looks more polished

2025-07-14T11:10:01.407279Z

Ok I will add it to the plugins dir and then later it can be added it to the main build if desired

borkdude 2025-07-14T11:10:09.120219Z

sound good

2025-07-14T11:10:16.359599Z

👍

borkdude 2025-07-14T11:11:45.682969Z

it's not so clear to me what dataspex has to do with a kanban board

borkdude 2025-07-14T11:11:50.166659Z

how is it used in the demo?

2025-07-14T11:12:24.628969Z

So if you have the extension installed and you open the html file you will see data in the dataspex tab

2025-07-14T11:12:35.565279Z

you can browse the internal data

2025-07-14T11:12:56.658049Z

i added dataspex to my locally scittle build and this is included in the html file

2025-07-14T11:13:44.701539Z

If you move the tasks in the ui you will see data popping up in the transaction log

borkdude 2025-07-14T11:15:20.488589Z

ah cool. where can I download the dataspex extension?

2025-07-14T11:15:59.884439Z

i think the only way now it to clone the repo and build locally https://github.com/cjohansen/dataspex?tab=readme-ov-file#chrome-extension

2025-07-14T11:16:40.888549Z

The video is also helpful https://www.youtube.com/watch?v=5AKvD3nGCYY

2025-07-14T12:57:18.676899Z

I'm having issues to set things up with the plugin system. Is there a test setup for the plugin modules?

borkdude 2025-07-14T13:00:03.054929Z

The test setup is actually building the thing

borkdude 2025-07-14T13:00:19.261379Z

you could for example build the thing with hoplon or so

2025-07-14T13:14:13.853479Z

Ok it is building now with the demo project. In my own project there is still something wrong. Let me try a bit more

2025-07-14T13:19:01.793849Z

I was a bit confused by how all the dependencies are loaded (via bb.edn). Think I get it now

2025-07-14T13:59:29.430999Z

ah I think I've been running into some kind of shadow-cljs issue for my own setup https://clojurians.slack.com/archives/C6N245JGG/p1650905939145289 Need to set it up slightly different I guess. Will fix that first and then confirm everything is working as expected

2025-07-14T15:14:17.776399Z

Ok finally found it. Was a missing quote somewhere 🤦

2025-07-14T15:24:22.239119Z

I've made the PR https://github.com/babashka/scittle/pull/122 . During testing I've noticed that when you want to create a build with both dataspex and datascript shadowcljs doesn't know what to do:

Module Entry "datascript.core" was moved out of module ":scittle.datascript".
It was moved to ":scittle" and used by #{:scittle.dataspex :scittle.datascript}.
Error while executing task: signatures
This can be solved by making :scittle.dataspex depend on :scittle.datascript , but I didn't want to do this by default as it normally is an optional dependency. What do you think? Maybe this can be solved by adding functionality to the build function, not sure

2025-07-14T15:37:33.625539Z

Actually it is not an optional dependency, it doesn't compile without datascript. But you don't have to use datascript to use dataspex. I will add :scittle.datascript to the dependencies of :scittle.dataspex

borkdude 2025-07-14T16:33:42.254489Z

yeah that should be the solution I think

borkdude 2025-07-14T16:33:47.034449Z

is your PR ready for merge?

2025-07-14T16:33:57.095289Z

yeah now it is

2025-07-14T18:38:39.379769Z

Thanks for merging!