Andrew Hacking
Andrew Hacking
I have been looking at the html structures required to implement CSS on top of headless UI for Pheonix and it appears to be a very difficult problem without requiring...
Thanks for clarifying the toggle hack vs APG. **Agree**. I did some testing with the Ripple UI label/checkbox hack approach for menu expand toggles and adding tabindex="0" so that TAB...
I have done some investigation on this to enable a CSS Blueprint layer to specify its own design tokens and it is working. After many different attempts, the approach I...
I have also experimented with a more flexible approach. This leaves ALL the design attributes up to the CSS blueprint layer so there is no fixed set of design attributes....
Just to provide an update of some further experimentation.... I have found that with tailwind you can't use computed class names because of the way code scanning and tree shaking...
This looks good and nicely integrated with the storybook and tree shaking. Hoping I understand this correctly, that with this approach a CSS blueprint can define whatever modifiers it wishes,...
Good catch. It should be `CommentsSerializer.new.encode!(post.comments)` if you want to nest serializers. In general I define serializer methods in modules and then just include the needed modules in the serializers...
Sorry for the late reply it was after midnight here. It used to be IIRC that oj would look for to_json on any object passed to it but that may...
Yes that's the kind of thing I want to_json to support, streaming large results was a primary consideration in the design. When I first wrote to_json the stream support wasn't...
That's very much how it will work, I need to add support for setting up Oj with a stream in the to_json initializers. Currently it just initializes an Oj context...