Lemmy v0.19 and some health issues in the family have both pushed things behind schedule a bit, but everything’s good now. We’re looking at within the next month if all goes according to plan :)
Ah crap I got another account there, I guess I’m cheering from both lol
Cheering you on from over here at lemm.ee! Thanks for making this place better for everyone!
Well, I usually fetch and return user data from a top-level +layout.js or +layout.server.js. Then my user data is always available in every layout or page through the data prop (and types are all handle automatically for this too).
I then invalidate and re-fetch that data using invalidate(), invalidateAll(), and depends() if the user data becomes stale.
Any state/data from the user that needs to stay server-side (like tokens) I keep in event.locals which is available in all .server.js files
Codium does surprisingly well at generating JSDoc, and it processes your code within the context of your entire codebase. Still not quite there yet, but you might be surprised
I know there are documentation generators (like JSDoc in JavaScript) where you can literally write documentation in your code and have a documentation site auto-generated at each deployment. There’s definitely mixed views on this though
Oh nice, yeah that could still be pretty convincing. I might even be able to get away with an ::after instead. I’ll mess around with it, thanks!
Yeah I don’t blame you, I even uploaded the wrong example photo at first lol
Thanks! Didn’t think of bezier curves in relation to this, that’s a good search term.
Highly doubt it, but you know if it’s possible to do this with a border and box-shadow on the element?
Nope, It’s kinda confusing because it looks very similar. Smooth corners are actually a different mathematical calculation than the standard ones from the border-radius property, that’s why I’m kinda doubtful there’s an easy way to do it
That’s just standard rounded corners, I’m talking about squircles or smooth rounded corners which have a slightly different appearance.
We’ve had a few of these built on my planet too actually