fulcro

Eric Dvorsak 2025-01-22T08:16:39.371419Z

I noticed that the query-inclusion option is singular in forms and plural in reports, is that intentional?

tony.kay 2025-01-22T13:25:24.600779Z

Probably not. I was probably thinking that a report has many rows, therefore plural, but I think you're talking about the report itself, not the row inclusion

tony.kay 2025-01-22T13:25:46.840029Z

So it was probably just that confusion in my own mind at the moment where I named it

sheluchin 2025-01-22T17:26:23.042959Z

Some sc elements (e.g. transition) don't seem to retain their :id while others do. Is there a reason for that or is it a small bug?

tony.kay 2025-01-22T21:05:08.906849Z

I don’t understand “transition”….but I don’t use sc heavily, so it could have an undiscovered bug

Yaw Odame 2025-01-22T20:34:39.154599Z

I have a cardinality one file ref attribute in a subform with {:ref-container :file} layout style that renders a TODO message. I see the render-single-file function is incomplete in the com.fulcrologic.rad.rendering.semantic-ui.form with an Upload??? (TODO) string. Wondering if I should be using that renderer for cardinality one file ref?

Yaw Odame 2025-01-23T21:05:43.462759Z

PR submitted for the single file ref UI - https://github.com/fulcrologic/fulcro-rad-semantic-ui/pull/46

tony.kay 2025-01-23T21:55:21.082469Z

thanks

tony.kay 2025-01-22T21:06:33.039049Z

The UI plugin is not meant to be a complete work…it’s meant to show you a pattern of implementation that you can expand upon…anything I haven’t gotten to is left as an exercise for the user. My goal in RAD is the patterns, not the nitty-gritty do-everything-for-you details.

tony.kay 2025-01-22T21:06:55.953659Z

I’m well aware that the SUI RAD plugin looks like 💩

tony.kay 2025-01-22T21:07:27.309429Z

but no matter how pretty I make it, you’d still want something different in reality…so why waste my time? 😄

tony.kay 2025-01-22T21:07:59.510439Z

for file upload you probably want drag-n-drop with some damn animation and file stats and upload progress and…

tony.kay 2025-01-22T21:09:31.120559Z

so I kind of just “gave up”…because you also need the proper Ring middleware, etc. All the bits are there, you just have to assemble them, and I think you found that something like the to-many is already implemented? Don’t remember…but between the Fulcro book explaining how to do uploads and RAD’s patterns I fully expect anyone can get it to be what they want.

tony.kay 2025-01-22T21:09:42.535899Z

If you want to contribute back a “stock” implementation, happy to take it 😄

Yaw Odame 2025-01-23T03:06:30.785569Z

I switched to the blob/defblobattr temporarily to test out the model and form. I’ll try to commit a fix.

👍 1
Yaw Odame 2025-01-24T17:05:02.323129Z

you are welcome.