James Kerr

@jameskerr
105 Followers
101 Following
354 Posts
▵ Building budget software with #ruby on #rails
https://tend.cash
▵ Maker of websites
▵ Seeker of freedom
Bloghttps://www.jameskerr.blog/
Simple Budget Softwarehttps://tend.cash

How many npm packages does it take to identify an unused variable?

#javascript

It seems like long entrance animations are annoying, but long exit animations are nice. Quick entrance, slower exit. Like a relaxing exhale after you've finished the task.

Take a look at your native right-click menu. It pops right up quickly, then fades away more slowly.

#css #uidesign

I like this UI design.

1. White header
2. Gray background
3. Card that hangs over the header with a small shadow
4. Slightly rounded corners
5. Centered on the page with no other content

It's keeps my focus right where it needs to be.

Hey #rails people, what if stimulus actions could be defined in a script tag right under the target element? This is more readable to me that the explosion of data-attributes. It'd be cool to see if this could work.
I thought I needed a Notion or a Obsidian to manage my projects but it turns out I just need the mac notes app.

This was a great article on dashboard design. Lots of screenshots

https://www.justinmind.com/ui-design/dashboard-design-best-practices-ux

Dashboard Design: best practices and examples

Dashboards are used to display the most important and useful information in your app. Read on to see our tips for perfect dashboard design and some awesome examples that got it right!

This is how all my #react components are starting to look. The component only renders html and all the other stuff (pulling state, defining callbacks) happens in the "Handler" class.

The constructor of the class is filled with "use" hooks. Scandalous...

Toasts are Bad UX

Max Schmitt

This is the first time I've used the Math.log function in my 13 year programming career. I used it to add this fun "overdrag" effect to the tabs as you re-order them.

#javascript #ui #programming

export function getRect()

Anyone else feel like getting rect tonight? 🎉

#programming